Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.webcontrols
Re: Viewstate on a Web User Control
RM82
2/6/2004 11:20:00 AM
I have a similar problem and i really need some help!
i have a page that dynamically injects user controls on the page
on_init even, some of these controls are simply list of links etc
however some are more complicated and require drop down lists, and m
problem is i cannot keep state information.
I have one user control that has two drop down lists, i want an ite
from the first drop down to be selected and then populate the secon
drop down list, unfortunanly when i post back the page, the first dro
down list is empty??? i know this is becuase i populate the drop dow
list on using the page_load event of the user control, however only i
the page is the first load and not post back, but i thought this wa
how ViewState worked??? i really need to understand how to work wit
viewState in dynamic Controls, please help as i am really reall
struggling :(
Ro
RM8
-----------------------------------------------------------------------
Posted via
http://...
-----------------------------------------------------------------------
View this thread:
http://...
s/message295217.htm
1 Answer
Alessandro Zifiglio
2/6/2004 1:26:00 PM
0
hi Rob, follow up on these two posts and if theres its still not clear ask
away ;)
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=ImVLb.1434%24nC1.287%40news.edisontel.com&rnum=1&prev=/groups%3Fq%3DAdd%2Bcontrol%2Bto%2Basp%253APlaceHolder%2Bon%2Basp.net%2Bpage%2Bfrom%2Buser%2Bcontrol%2Bon%2Bsame%2Bpage%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den%26btnG%3DGoogl...
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=uwUUS155DHA.2576%40TK2MSFTNGP11.phx.gbl&rnum=1&prev=/groups%3Fq%3Ddynamically%2Bloading%2Bascx%2Bpages%2Band%2Bhaving%2Bevents%2Bfire%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den%26btnG%3DGoogl...
"RM82" <RM82.117ceu@mail.mcse.ms> wrote in message
news:RM82.117ceu@mail.mcse.ms...
>
> I have a similar problem and i really need some help!
>
> i have a page that dynamically injects user controls on the pages
> on_init even, some of these controls are simply list of links etc,
> however some are more complicated and require drop down lists, and my
> problem is i cannot keep state information.
>
> I have one user control that has two drop down lists, i want an item
> from the first drop down to be selected and then populate the second
> drop down list, unfortunanly when i post back the page, the first drop
> down list is empty??? i know this is becuase i populate the drop down
> list on using the page_load event of the user control, however only if
> the page is the first load and not post back, but i thought this was
> how ViewState worked??? i really need to understand how to work with
> viewState in dynamic Controls, please help as i am really really
> struggling :(
>
> Rob
>
>
> RM82
> ------------------------------------------------------------------------
> Posted via
http://w...
> ------------------------------------------------------------------------
> View this thread:
http://w...
/message295217.html
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Viewstate on a Web User Control
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password