Hi Pratura,
Thanks for using Syncfusion Products.
We were unable to reproduce your reported issue in our end. So, we have created dialog control. Initially, dialog is not shown by disabled show-on-init property. If you click the button, dialog will be shown. Dialog content contains autocomplete and numeric text box control. But, dialog is disappeared at initial level properly and also dialog content is disappeared. Please find the below code.
|
Index.cshtml
<ej-button id="mute" size="Large" width="200px" show-rounded-corner="true" text="Click to open dialog" click="onclick" /> // Button click
<ej-dialog id="dialog" title="Dialog" show-on-init="false">
<e-content-template>
<ej-autocomplete id="searchCustomer" width="100%" watermark-text="Search a component"></ej-autocomplete> // Autocomplete control
<ej-numeric-text-box id="Amount" width="110" show-rounded-corner="true" show-spin-button="false" locale="hr-HR" watermark-text="textBox" decimal-places="2" /> // Numeric text box
</e-content-template>
</ej-dialog>
|
For your convenience, we have prepared a simple sample with your requirement. Please find the below link.
To know more about the ejDialog component members. Please refer the below reference.
Please let us know if we have misunderstood. If so, provide more exact details (like share your code or reproduce your requirement in attached sample) regarding your issue so that we can check and provide an appropriate solution.
Regards,
Buvana S.