P
poi
In my Page_Load, I check for IsPostBack and fetch some data and bind
ASP.NET page template textboxes to some columns. I also show a DataGrid
on the page. In the _ItemCommand event of the grid, I catch the ID
column of the grid. Now I re-fetch data, but it appears to be too late
in the page lifecycle process to update the textboxes (again) with the
new values.
Can I make the page Server.Transfer to itself somehow from within the
grid event? If I just do a plain "Server.Transfer" I get a
NullReferenceException.
Can I make the event "back up" to the Page_Load and reload itself?
Thanks.
ASP.NET page template textboxes to some columns. I also show a DataGrid
on the page. In the _ItemCommand event of the grid, I catch the ID
column of the grid. Now I re-fetch data, but it appears to be too late
in the page lifecycle process to update the textboxes (again) with the
new values.
Can I make the page Server.Transfer to itself somehow from within the
grid event? If I just do a plain "Server.Transfer" I get a
NullReferenceException.
Can I make the event "back up" to the Page_Load and reload itself?
Thanks.