0

Hello all, I'm hoping to get at least a pointer in the right direction here.

Long story short, I've got a DB that I'm displaying information from. I'm doing so using a GridView under a TabContainer / UpdatePanel.

Everything works fine, except one weird point - if you click on a row of displayed data, you get a proper postback, and you are brought to the item's information page.

If I navigate via the menu back to the page containing the TabContainer, all is well.

HOWEVER, if I click on my browser's back button, I get an invalid cast error if I click on another product.

Now, if I click on the tab again (even though I'm already on that tab - I store the tabIndex via a cookie) all works fine.

Any ideas why the back button would cause this behavior? I'm relatively new to this, so if you need more information, please ask!

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by Airshow
0

..... if you need more information, please ask!

Like mentioning that this is an ASP.NET question? At least, that's what I assume from the word "Gridview" :S

I think you will have more luck in the ASP.NET forum. It doesn't sound like a raw AJAX/Javascript thing.

Airshow

0

Like mentioning that this is an ASP.NET question? At least, that's what I assume from the word "Gridview" :S

I think you will have more luck in the ASP.NET forum. It doesn't sound like a raw AJAX/Javascript thing.

Airshow

Alright, I'll post over there after I get my rear in to work. Thanks!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.