ICallBackEventHandler with F5 problem
Hi, currently I'm trying to develop a ASP.NET web page implemented ICallBackEventHandler.
But I have some problems with F5 ....
This is what I did:
1. Get data from database, and display as a table
2. Using dropdownlist as the paging ( onchange call a javascript to get data and render to a table again )
3. Each row have a link to delete ( onclick call a javascript to delete, and then get current page number, get data and render table again)
Everything works just fine, until for example, I get data from table Student, which have 11 rows
I set max rows for 1 page is 5 , so I have 3 page ( inside dropdowlist )
Then I was at page 1, I try delete a row, any row, so I had 10 rows remains ( 2 page)
then I refresh using F5 , then I change to page 2..... this the problem.
After that I can not get any data, until I click on the address bar, and press enter, or start a new page, F5 just won't work.
Appriciate if anyone could help =) Thanks