Rank: Newbie Groups: Member
Joined: 1/7/2012 Posts: 4
|
Hi sir,
I need to get back value the user enter on a dialog.
How can I do ?
Thank you
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, For a standard textbox, you would use something like this:
Code: C#
//Get the textbox
TextBox1 textbox = (TextBox)Dialog1.ContentContainer.FindControl("TextBox1");
//Get the textbox value
string s = textbox.Text;
Thanks
|