A
Amelyan
How do I force my Page to Page_Load when user clicks browser's Back button?
I am trying to avoid this error, that I get when I hit back button on my
browser and click on my dynamically generated button:
"An error has occurred because a control with auto-generated id '_ctl7'
could not be located to raise a postback event. To avoid this error,
explicitly set the ID property of controls that raise postback events."
I did Google on this error, but nothing useful came up. At this time, I
have a theory that this results from the fact that when I click Back button,
my Page_Load function doesn't get invoked (page is cached). Then when I
click on my dynamically generated control on the page, I get that error
message.
I did several posts on this already. However, no one seems to have the
slightest clue of what exactly going on when this error is generated.
Amelyan
I am trying to avoid this error, that I get when I hit back button on my
browser and click on my dynamically generated button:
"An error has occurred because a control with auto-generated id '_ctl7'
could not be located to raise a postback event. To avoid this error,
explicitly set the ID property of controls that raise postback events."
I did Google on this error, but nothing useful came up. At this time, I
have a theory that this results from the fact that when I click Back button,
my Page_Load function doesn't get invoked (page is cached). Then when I
click on my dynamically generated control on the page, I get that error
message.
I did several posts on this already. However, no one seems to have the
slightest clue of what exactly going on when this error is generated.
Amelyan