In my web site i am storing userid in viewstate from a particualr page. From there when i redirect to another page, that response.redirect("url") statement throws an error like,
"Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack."
but it still redirecting to next page. But viewstate object returns NULL value.
akhillal
Member
5 Points
12 Posts
Viewstate returns null value
Feb 23, 2013 12:20 PM|LINK
hi all,
In my web site i am storing userid in viewstate from a particualr page. From there when i redirect to another page, that response.redirect("url") statement throws an error like,
"Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack."
but it still redirecting to next page. But viewstate object returns NULL value.
till that exception viewstate is available.
any one have any idea on this.?
Thanks
oned_gk
All-Star
30991 Points
6344 Posts
Re: Viewstate returns null value
Feb 23, 2013 12:45 PM|LINK
deshdeepakve...
Member
2 Points
1 Post
Re: Viewstate returns null value
Feb 23, 2013 12:48 PM|LINK
bhavikpatel0...
Member
16 Points
4 Posts
Re: Viewstate returns null value
Feb 25, 2013 06:31 AM|LINK
Use Session variable inseat of Viewstate
www.wallkens.com
akhillal
Member
5 Points
12 Posts
Re: Viewstate returns null value
Feb 27, 2013 06:39 AM|LINK
Thanks :)
akhillal
Member
5 Points
12 Posts
Re: Viewstate returns null value
Feb 27, 2013 06:39 AM|LINK
Thanks bhavik.