Welcome Guest Search | Active Topics | Sign In | Register

Get Dialog textbox value Options
GaryBrowning
Posted: Monday, September 24, 2012 1:02:31 PM
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?
eo_support
Posted: Monday, September 24, 2012 1:21:38 PM
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!
GaryBrowning
Posted: Monday, September 24, 2012 1:31:19 PM
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)
GaryBrowning
Posted: Monday, September 24, 2012 2:14:40 PM
Rank: Member
Groups: Member

Joined: 6/1/2011
Posts: 18
Never mind. I got it working using the scriptevent control


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.