Page Refresh
-
I have a page with a GridView, the user can click on an item to edit that item. This goes to a subpage, where the user makes changes to the record. After the changes have been submitted and written to the database the user gets redirected to the parent page (GridView page) where the old results show untill the user manually refreshs the page. GridView Page -> Edit Page -> Gridview Page I have tried disabeling page caching (In Code and Meta Tags), Server.Transfer, Response.Redirect, Searched the web for hours nothing -- I at my wits end with this issue, this problems been driving me batty for days. Any ideas? Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).
-
I have a page with a GridView, the user can click on an item to edit that item. This goes to a subpage, where the user makes changes to the record. After the changes have been submitted and written to the database the user gets redirected to the parent page (GridView page) where the old results show untill the user manually refreshs the page. GridView Page -> Edit Page -> Gridview Page I have tried disabeling page caching (In Code and Meta Tags), Server.Transfer, Response.Redirect, Searched the web for hours nothing -- I at my wits end with this issue, this problems been driving me batty for days. Any ideas? Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).
Hi, Why u r using transfering of page from one page to another for edit. Y dont u use Panel for this purpose.. Make the panel of edit visiblity false..initially & at the time of edit call make it visible from the vode behind... I m ssure this will not cuas u the problem of cache or session.. May be this could be the one way to solve this.. THANKS FAISAL KHATRI
-
Hi, Why u r using transfering of page from one page to another for edit. Y dont u use Panel for this purpose.. Make the panel of edit visiblity false..initially & at the time of edit call make it visible from the vode behind... I m ssure this will not cuas u the problem of cache or session.. May be this could be the one way to solve this.. THANKS FAISAL KHATRI
That dosn't conform to the UI paramiters of the project. Thank you for the reply though. Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).
-
I have a page with a GridView, the user can click on an item to edit that item. This goes to a subpage, where the user makes changes to the record. After the changes have been submitted and written to the database the user gets redirected to the parent page (GridView page) where the old results show untill the user manually refreshs the page. GridView Page -> Edit Page -> Gridview Page I have tried disabeling page caching (In Code and Meta Tags), Server.Transfer, Response.Redirect, Searched the web for hours nothing -- I at my wits end with this issue, this problems been driving me batty for days. Any ideas? Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).
you must be binding the gridview somewhere...try to put that code in the Page Load Event..this way every time the page loaded,updated data will be loaded from the database.. Lokesh Sharma
-
you must be binding the gridview somewhere...try to put that code in the Page Load Event..this way every time the page loaded,updated data will be loaded from the database.. Lokesh Sharma
The page load event refreshes the dataset. I am at a loss :-( Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).