Hi,
I'm fighting with a problem for over one week that sounds very easy:
Click a button, open a modal dialog with a grid, select a row of this grid and return the selected value back to the textbox of the parent form.
I started with a demo from telerik demos section (http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx).
This works fine when the textbox and button are placed directly on a form. But I need them inside an user control. This is because I need the popup functionality more than once on one webform. It should be a kind of standard search that i can use for different textboxes.
The problem is that when returning the value to the parent page javascript does not know which user control (textbox) called the dialog and writes the returned value to the textbox of the first user control.
Can anybody please help me to solve that problem? Maybe with an running example? :-)
Thanks,
Uwe
I'm fighting with a problem for over one week that sounds very easy:
Click a button, open a modal dialog with a grid, select a row of this grid and return the selected value back to the textbox of the parent form.
I started with a demo from telerik demos section (http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx).
This works fine when the textbox and button are placed directly on a form. But I need them inside an user control. This is because I need the popup functionality more than once on one webform. It should be a kind of standard search that i can use for different textboxes.
The problem is that when returning the value to the parent page javascript does not know which user control (textbox) called the dialog and writes the returned value to the textbox of the first user control.
Can anybody please help me to solve that problem? Maybe with an running example? :-)
Thanks,
Uwe