![]() |
|
|
|
#1 |
|
"Thomas" <> wrote in message news:%23U9o%... > Hello all, > > How do i set one asp:dropdownlist euqal another? > > ex: > ------------------------------------------------- > protected d1 as dropdownlist > protected d2 as dropdownlist > > Sub Page_load > if not page.ispostback > d1 = <initialice function> You'd need to either be binding the dropdown or setting one of its items here. > end if > d2 = d1 This is ok. > end sub > --------------------------------------------------- > > /Thomas > > > Scott M. |
|
|
|
|
#2 |
|
Posts: n/a
|
Ahww, just a gues:
d1.Items.CopyTo( d2.Items, 1 ); Jib jib |
|
|
|
#3 |
|
Posts: n/a
|
Hello all,
How do i set one asp:dropdownlist euqal another? ex: ------------------------------------------------- protected d1 as dropdownlist protected d2 as dropdownlist Sub Page_load if not page.ispostback d1 = <initialice function> end if d2 = d1 end sub --------------------------------------------------- /Thomas Thomas |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Active X cannot create this object | gellison | General Help Related Topics | 0 | 08-09-2007 06:42 PM |
| dynamic validations for checkboxlist and dropdownlist | mrugesh_dulera | Software | 0 | 06-26-2007 01:56 AM |
| DropdownList in gridview | visj4u | Software | 0 | 04-27-2007 01:11 PM |