Hi,
I'm having a strange behaviour in the following scenario:
A textbox and a button on a webform. Clicking the button opens a modal dialog with a grid. After closing the popup, the value selected in the grid in written into the text field. I used the following code to open the dialog:
This works fine when using the code snippet on a web form.
But I need to use this code in a user control. The user control contains the same textbox and button with the same code snippet.
After opening the modal dialog closes automatically after 1-2 seconds. This is really strange.
Thanks for help,
Uwe
I'm having a strange behaviour in the following scenario:
A textbox and a button on a webform. Clicking the button opens a modal dialog with a grid. After closing the popup, the value selected in the grid in written into the text field. I used the following code to open the dialog:
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> function ShowDialog() { window.radopen(null, "winSearchDialog"); } </script> </telerik:RadCodeBlock> <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Overlay="false"> <Windows> <telerik:RadWindow ID="winSearchDialog" runat="server" Width="600px" Height="600px" Modal="true" Title="Select BP" NavigateUrl="~/Pages/Parent2Popup.aspx" /> </Windows> </telerik:RadWindowManager>This works fine when using the code snippet on a web form.
But I need to use this code in a user control. The user control contains the same textbox and button with the same code snippet.
After opening the modal dialog closes automatically after 1-2 seconds. This is really strange.
Thanks for help,
Uwe