Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > hard-coded dropdownlist selected value

Reply
Thread Tools

hard-coded dropdownlist selected value

 
 
rodchar
Guest
Posts: n/a
 
      06-24-2008
hey all,
i have a hard-coded list of items for my dropdownlist with
EnableViewState="false" and it appears that the selected value will be
retained regardless of postbacks, is this correct?

thanks,
rodchar
 
Reply With Quote
 
 
 
 
Munna
Guest
Posts: n/a
 
      06-24-2008
Hi

question : "selected value will be retained regardless of postbacks"

Yes it does.

Best of luck

Munna

www.munna.shatkotha.com
www.munna.shatkotha.com/blog
www.shatkotha.com
 
Reply With Quote
 
 
 
 
rodchar
Guest
Posts: n/a
 
      07-01-2008
thanks for the help,
rod.

"Munna" wrote:

> Hi
>
> question : "selected value will be retained regardless of postbacks"
>
> Yes it does.
>
> Best of luck
>
> Munna
>
> www.munna.shatkotha.com
> www.munna.shatkotha.com/blog
> www.shatkotha.com
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get the selected value of the asp:dropdownlist in javascript Thierry ASP .Net 3 02-15-2010 08:43 AM
Selected ListItem in DropDownList does not appear selected Nathan Sokalski ASP .Net Web Controls 0 10-05-2008 10:29 PM
Selected ListItem in DropDownList does not appear selected Nathan Sokalski ASP .Net 0 10-05-2008 10:29 PM
DropDownList 2 always returns Selected = 0 for all items - even selected item Iain ASP .Net 3 12-11-2006 11:07 AM
dropdownlist in a datagrid - allow for no value to be selected Mark ASP .Net 1 11-07-2003 02:14 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57