Asp net textbox value not updating on postback Major sexchat for free no registration
Asp Textbox inside update panel displays value from database in page load. Based on other posts, I have tried moving the update of the textbox text to the On Pre Render event with the same result.
Textbox text is updated from database in Page_Load, if (! Displayed value on screen does not change to updated value.
I have a gridview that alows updates, when it comes to the update the textbox value is the old one rather than t'new.
Edit Index = -1 Load Data(False) End Sub Protected Sub grd Answers_Row Editing(By Val sender As Object, By Val e As System. I'm not too familiar with VB but it looks as though this line: title = CType(grd Answers. Protected Sub grd Answers_Row Command(By Val sender As Object, By Val e As System. I haven't altered any viewstate and thinking this may be the case I searched my site for enableviewstate and it was only set to false on three inputs within a cutesoft text editor. For sanitys sake i removed this cutesoft editor from the page and tried but the problem still occurred. Sounds like the initial value of the Bound Field is being retrieved on Postback. I would remove the Bound Field and use a Template Field with an Item Template and Edit Item Template and then see what the control in the Edit Item Template contains on postback. Developers often overlook basic programming options in favor of new or cool ways to deliver results. This week, I take a closer look at the Text Box control. NET Web application that does not use a Text Box control. A good example is the Text Box Web control, which offers plenty of options for building applications.