Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Databinding to a dropdown list in a grid not working
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01170921
Message ID:
01172735
Views:
18
Kevin,

Ok, let's ignore question #2 below. I have entered the dropdownlist items via the EditItem Template, DropDownList smart tag "Edit Items...". This works.

What does not work, and I think has nothing to do with the template dropdownlist, is question # 1 below. Whereby no matter which row I edit, any fields updated are posted to the first row. If this worked as expected then I would have little need for an answer to question #3.

Thanks, Ted

>Ted,
>
>What are you doing to load the values in the dropdown list? At this point, I think it would be best if you can zip up your web form and send it to me via private e-mail so I can get a first-hand look at what's happening.
>
>Best Regards,
>
>
>>1. I believe we are still having a problem with ONLY the first row being updated via a template dropdownlist in an ASP.net gridview.
>>
>>2. Regarding databinding, I was referring to the list of items databinding to data drive the dropdownlist.
>>
>>3. I would still like to know how to evaluate the currently selected value in such a dropdownlist. Most likely this is not easy to determine via the dataset, entity, datarow or business object dataset due to the databinding of a template dropdownlist in a gridview.
Previous
Reply
Map
View

Click here to load this message in the networking platform