Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a dorpdownlist to the gridview
Message
From
16/11/2007 08:30:03
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Adding a dorpdownlist to the gridview
Environment versions
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01269380
Message ID:
01269380
Views:
70
HI,
I have two questions on this topic.
1-) In the MM.NET developer's Guide, under Creating Web Application, Working with mmGridView, Adding a DropDownList to a GridView, Step 2: Specifying the EditItemTemplate for the Template Column, The instruction 6 is requesting to select the SelectedIndex in the bindable properties of the DataBindings dialog, while the picture of the DataBindings dialog is showing the SelectedValue. Which of the two is the correct one, is it SelectedIndex or SelectedValue?

2-)Is it possible to bind that Dropdownlist in the gridview to another businessobject?
For example: I have a gridview with DTable businessobject as its BindingSource and the gridview has column named IdRegion. Instead of typping the IdRegion I would like to fill the dropdownlist with the RegionEntity and select the IdRegion from the dropdownlist. Or the dropdownlist can only be bound to the gridview's Bindingsource?
Reply
Map
View

Click here to load this message in the networking platform