Interview Question
Created by admin on Sat, 17/11/2012 - 16:54
Question:
How do you display an editable drop-down list?
Language:
Answer:
Displaying a drop-down list requires a template column in the grid. Typically, the ItemTemplate contains a control such as a data-bound Label control to show the current value of a field in the record. You then add a drop-down list to the EditItemTemplate. In Visual Studio, you can add a template column in the Property builder for the grid, and then use standard template editing to remove textbox.