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:
01171858
Views:
10
Kevin,

>Did you do this in your grid?

Yes, an ASP.net gridview.

>To get the dropdownlist's currently selected value to bind, edit the template column's data bindings (by clicking the smart tag on the template column) and in the DataBindings dialog, select the "Custom Binding" option and enter an expression like this:
>
>Bind("NameOfTheColumn")

I assume you are talking about the EditItemTemplate's "SelectedValue" data binding? And the ItemTemplate's "Text" data binding needs set the same?

Thanks, Ted
Previous
Reply
Map
View

Click here to load this message in the networking platform