Author: ptownbro | Posted on: 9/22/2010 4:59:29 PM | Views : 437

I'm trying to programmatically set the property of a control on my Form AFTER I've proccessed an update command using the FormView, but it's not working. 
In my example below, I have a basic FormView with only a TextBox and Label in its EditItemTemplate.  The FormView uses an AccessDataSource.  The TextBox is bound to the datasource, but the label is not.  What I'm trying to do is update the value in the TextBox (as well as its associated data stored in the database), and then change the Text property of the Label. (*Note: that I using the label purely as an example. The point is I can't see to set any control's property after an update).

I initally thought it had something to do with the "Page.IsPostBack", but even after trying to adjust my code for that, its still not working.
I've tried change the Text property during the Page.IsPostBack during Page_Load event. I've tried setting the Label ...

Go to the complete details ...