I am trying to provide an editable grid. When inserting a new item or editing an item, I want the user to select one of the string items in the grid from a dropdownlist. Is this possible? Can you show me how to do it?
OK, I have created an editor template for my dropdownlist, and it works.
Now, my problem is that the field that has the dropdown box also needs a textbox to be concatenated with the contents of the dropdown box. If I add a textbox to the editor template for the dropdown box, it displays correctly, but I don't seem to be able to get its value:
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<string>" %>