Ask a Question related to ASP.NET General, Design and Development.
-
zimzion #1
Hi.. I've a problem about ViewState.
Hi..
My problem is that the ViewState of UserControl is not
consisted when the UserControl is dynamically loaded at
PreRender Event.
That is, A UserControl is dynamically loaded at PreRender
Event of a WebForm. Then, a server control in the
UserControl fires post-back event and at this time the
UserControl is dynamically loaded at Load Event of the
Page. But the ViewState of the loaded UserControl is
completely clear.
Is there any way to consist the ViewState even though
UserControl is loaded at PreRender Event?
zimzion Guest
-
Failed to load viewstate. The control tree into which viewstate...
Hi to all, I have a webform.aspx and inside i have a dropdown list with autopostback and a place holder... Depending of the selected index... -
ViewState problem
I am having a performance problem with a datagrid control that has a large viewstate due to several columns containing very long href's in the... -
DataGrid Viewstate problem
Hi, to all.. I have 2 web controls (MyDataGrid.cs, MyCalendar.cs The first inherits from calendar, and i have implemented the event... -
Sorting Problem with Viewstate
I did my first DataGrid with sorting. Problem I have is viewstate has to be on for it to work, even though i am passing a dataview and re-binding... -
help ViewState problem
Hi, I have a datalist control that I use a UserControl for the header template. It has a couple of text and selects to do filtering located in the... -
Elliot Rodriguez #2
Re: Hi.. I've a problem about ViewState.
ZimZion:
If I read your Q correctly: any changes to ViewState made after PreRender
are not saved. You will have to override the LoadViewState event procedure
to gain access to the ViewState field after the postback.
HTH
--
Elliot M. Rodriguez, MCSD
*** It would take 227 cans of Mountain Dew to kill me***
"zimzion" <zimzion@daum.net> wrote in message
news:0a8501c34b7a$cd6b9920$a101280a@phx.gbl...> Hi..
>
> My problem is that the ViewState of UserControl is not
> consisted when the UserControl is dynamically loaded at
> PreRender Event.
>
> That is, A UserControl is dynamically loaded at PreRender
> Event of a WebForm. Then, a server control in the
> UserControl fires post-back event and at this time the
> UserControl is dynamically loaded at Load Event of the
> Page. But the ViewState of the loaded UserControl is
> completely clear.
>
> Is there any way to consist the ViewState even though
> UserControl is loaded at PreRender Event?
Elliot Rodriguez Guest



Reply With Quote

