General information
Category:
The Mere Mortals .NET Framework
Title:
Adding a dorpdownlist to the gridview
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only