Saturday, March 24, 2012

Newbie: Trouble w/ ViewState

I would greatly appreciate any assistance any one could give me. I have an
ASP.NET application that contains two frames and several popup windows for
editing information. One of the frames contains a treeview with a long list
of clients with several node underneath each client for different tasks. If
I change some information in the other frame or one of the popup windows tha
t
directly reflects on the information in my treeview, how can I reload or
postback the page my treeview is on and still maintain the view state of the
control? I know the view state is not maintained unless the postback comes
from that page, but is there any way I can capture the treeview's view state
and use it from another page? Is there something similar to view state I ca
n
use in its place?
Chrisdsmith66,
If you have a problem with the viewstate you can always save it away in the
session.
Arne.
"clsmith66" wrote:

> I would greatly appreciate any assistance any one could give me. I have a
n
> ASP.NET application that contains two frames and several popup windows for
> editing information. One of the frames contains a treeview with a long li
st
> of clients with several node underneath each client for different tasks.
If
> I change some information in the other frame or one of the popup windows t
hat
> directly reflects on the information in my treeview, how can I reload or
> postback the page my treeview is on and still maintain the view state of t
he
> control? I know the view state is not maintained unless the postback come
s
> from that page, but is there any way I can capture the treeview's view sta
te
> and use it from another page? Is there something similar to view state I
can
> use in its place?
> Chris

0 comments:

Post a Comment