Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Very Pecular Problem


Message #1 by "Navnit" <asp@t...> on Thu, 28 Nov 2002 15:39:06
I have an aspx page with a datagrid.
I populate the datagrid by binding it to a datatable.
Now this datatable, i save it as a session.
Now the problem
1. I have a delete button on the datagrid.
2. When i click on to the delete button, it raises an event and that gets 
fired. Typically the sequence i should get on the server is (Page_load -> 
Event Procedure)
3. Now what is happening is i am getting the sequence (page_load ->Event 
procedure . And then again Page_load). This time however, in the second 
page load, the IsPostBack is false and then it goes through my 
initialisation routines also.

I have tried this method in other pages but it works, but not in a 
particular page.
I hope, the point i am making is clear.

Question , why the second page_load with the IsPostBack as false??

  Return to Index