Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Persist DropDownList values on postback
Message
From
26/11/2004 09:49:15
 
 
To
26/11/2004 02:31:33
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00964714
Message ID:
00964912
Views:
12
Heya Nancy,

PMFJI here ... I've barely used ASP.NET, so I'm not much of an expert in this area ... but I've gotta ask this: wouldn't it be easier to populate a DataSet with a DataAdapter and populate your Dropdown from the DataSet instead of using a DataReader? It's easy to persist the DataSet between postbacks.

~~Bonnie


>David-
>
>I almost didn't see your reply since you replied to Çetin.
>
>>Agreed. contractors.ContractorsList should go into session,
>
>It is.
>
>>not control.
>
>Desperation (see my other reply to Çetin).
>
>>Enableviewstate should be on for the dropdown control.
>
>It was. I should have specified so, but I didn't want to bog down the post.
>
>Have you used a dropdown in a similar circumstance on a webform? If so, how did you persist the list's values, if I may ask? TIA.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform