Page_Load event fire when back(click browser's back button ) from another page
-
Dear all, When I click back button from browser 'Page_Load' event fire and all data those I have filled are disapper. Please kindly advise what is possible cause this and how can I prevent. Thanks and best regards
No code from you? :| Did you check Page.IsPostBack[^] in Page_Load?
thatraja
**My Tip/Tricks
My Dad had a Heart Attack on this day so don't...
** -
No code from you? :| Did you check Page.IsPostBack[^] in Page_Load?
thatraja
**My Tip/Tricks
My Dad had a Heart Attack on this day so don't...
**Hi, thank you for reply Yes, I used Ispostback
If Not IsPostBack Then
'BindCombobox here
End IfHere is my scenarios... I have 4 comboboxes , At page_Load bind only one. Bind Second combo after user select first combo. Third combo depend on Second combo and fourth one depend on Third one. (here to avoid page refreshing I use RadAjaxPanel) After all if user click on button show data in Grid. When user doubleClick on a row from grid will go to next page, from second page when user click on Browser's back button all selected data combox and data in grid are gone.
-
Dear all, When I click back button from browser 'Page_Load' event fire and all data those I have filled are disapper. Please kindly advise what is possible cause this and how can I prevent. Thanks and best regards
-
When you click back, the previous page in the history is loaded. I believe caching is disabled for your previous page, so every time the page is loaded from the server. If you want to display the page from the cache, enable caching.
Good answer!
Wonde Tadesse MCTS
-
When you click back, the previous page in the history is loaded. I believe caching is disabled for your previous page, so every time the page is loaded from the server. If you want to display the page from the cache, enable caching.
-
Thank you for your reply. I'm not familiar with Cache, May I know how can I enable catching? Thanks and best regards