|
-
Apr 15th, 2009, 11:01 AM
#1
Thread Starter
Lively Member
-
Apr 16th, 2009, 02:02 AM
#2
Re: Dropdown list loses properties on post back
How are you populating the DDL? Are you repopulating on each page load?
-
Apr 16th, 2009, 03:04 AM
#3
Thread Starter
Lively Member
Re: Dropdown list loses properties on post back
Nope i populate on initial page load and then leave it alone on post backs
-
Apr 16th, 2009, 03:45 AM
#4
Re: Dropdown list loses properties on post back
Did you Code your DropDownlist population inside
vb Code:
If Not (Page.IsPostBack()) Then 'Bind the List Here End If
Please mark you thread resolved using the Thread Tools as shown
-
Apr 16th, 2009, 05:29 AM
#5
Thread Starter
Lively Member
Re: Dropdown list loses properties on post back
Its not actually bound. we have a routine that takes the dropdown list
and populates it with data from a collection.
as part of this i set
ddlCustomer.items(2).Attributes("ItemData")
-
Apr 16th, 2009, 05:36 AM
#6
Re: Dropdown list loses properties on post back
Post the other part of code
Please mark you thread resolved using the Thread Tools as shown
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|