Hi,
I have a strange problem that appear in only some pages and I'm not able to understand why.
I build my grid with my query with the _NeedDataSource event.
MyGrid.DataSource = GetDataTable(MySqlString)
I use a client selection.
On client selection with evet _ItemCommand I redirect on another page with:
...
Response.BufferOutput = True
Response.Redirect("~/User/MyNewPage.aspx", False)
...
All works fine.
But if I go back with explorer browser button and I click to select another row of a grid nothing appens!
The page_load (_init and so on) are not fired. No one event of page is fired.
If I ask a refresh from browser (F5) or click on a button with inside
MyGrid.Rebind
everythink works again!
What I'm making wrong? :)
thanks
Renato
I have a strange problem that appear in only some pages and I'm not able to understand why.
I build my grid with my query with the _NeedDataSource event.
MyGrid.DataSource = GetDataTable(MySqlString)
I use a client selection.
On client selection with evet _ItemCommand I redirect on another page with:
...
Response.BufferOutput = True
Response.Redirect("~/User/MyNewPage.aspx", False)
...
All works fine.
But if I go back with explorer browser button and I click to select another row of a grid nothing appens!
The page_load (_init and so on) are not fired. No one event of page is fired.
If I ask a refresh from browser (F5) or click on a button with inside
MyGrid.Rebind
everythink works again!
What I'm making wrong? :)
thanks
Renato