|
Rank: Member Groups: Member
Joined: 6/1/2011 Posts: 18
|
I have a dialog control with 2 text boxes. After the user clicks the OK button, how can I get the values in the text boxes and return them to the web page that displayed the dialog?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
There is no difference whether you use a dialog or not. However you access those textbox without a dialog you do it the same with a dialog.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 6/1/2011 Posts: 18
|
Which event do I use? I've tried the button click event of the button that displays the dialog and the ok button that is within the dialog footer but cannot get it to work. Or do I need a client-side javascript? I'm usually accessing the texboxes on the web page code file itself (aspx.vb)
|
|
Rank: Member Groups: Member
Joined: 6/1/2011 Posts: 18
|
Never mind. I got it working using the scriptevent control
|
|