Hello I got a problem with a page where I put some data in textboxes, that is done in the page load. Now when I change that data in the textboxes and enter the button to execute it, then the new data isn't entered taken over. Instead I get the data that was
given in the page load. (sorry for my bad english)
Duologic
Member
1 Points
3 Posts
TextBox.text as var
Aug 07, 2007 01:50 PM|LINK
textbox page_load
gunteman
All-Star
22406 Points
3305 Posts
Re: TextBox.text as var
Aug 07, 2007 02:24 PM|LINK
You must skip the initialization of the textboxes when the form is posted
in Page_Load:
if (!IsPostBack)
{
TextBox1.Text="somevalue";
}
Duologic
Member
1 Points
3 Posts
Re: TextBox.text as var
Aug 07, 2007 03:14 PM|LINK
Duologic
Member
1 Points
3 Posts
Re: TextBox.text as var
Aug 07, 2007 03:15 PM|LINK