How to retain Data of Main page controls.
-
Hi, I have a Main.aspx. I put a Grid control on it. Main page having links of other page. I am sending some value from other page to Main page and adding into Grid. Again I am navigating to other page and sending some more data to Main page to add in Grid.When it load Main page second time, grid becomes empty. You can visualize my Requirment as: I am selecting products from different page and putting it over Main page. Hope my techie friends understood my requirement. Thanks a lot in advance !
-
Hi, I have a Main.aspx. I put a Grid control on it. Main page having links of other page. I am sending some value from other page to Main page and adding into Grid. Again I am navigating to other page and sending some more data to Main page to add in Grid.When it load Main page second time, grid becomes empty. You can visualize my Requirment as: I am selecting products from different page and putting it over Main page. Hope my techie friends understood my requirement. Thanks a lot in advance !
AFAIK, you are not keeping the grid values anywhere. You can keep the data source of grid view in session and update it when new links are added. Load the data source from session and bind gridview.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
AFAIK, you are not keeping the grid values anywhere. You can keep the data source of grid view in session and update it when new links are added. Load the data source from session and bind gridview.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions