how to use client template for dropdownList in telerik grid
<p>I want to create a dropdownList with unique id in telerik grid. This grid is having in-line edit and add. So, I have created a client template which is working fine with view mode. When clicked on in-line edit button of grid, that dropdownList gets converted into a textbox. So, I want to maintain that dropdownList in edit mode as well. Thanks in advance.</p>

<p>Here is my sample code:</p>

<pre><code>grid = grid
        .Columns(columns =&gt;
        {
            columns.Bound(customField =&gt; customField.FieldNumber)
                   .Filterable(false)
                   .Sortable(false)
                   .IncludeInContextMenu(false)
                   .ReadOnly()
                   .Width("60px");
            // here is my client template code
            var dropdownListType = @"&amp;nbsp; &lt;select id='ddlTypeId_&lt;#=CustomMenuId#&gt;'&gt;"
               + "&lt;option value='" + Utilities.GetLabels("CustomMenu_List") + "'&gt;" + Utilities.GetLabels("CustomMenu_List") + "&lt;/option&gt;"
               + "&lt;option value='" + Utilities.GetLabels("CustomMenu_Textbox") + "'&gt;" + Utilities.GetLabels("CustomMenu_Textbox") + "&lt;/option&gt;";

            columns.Bound(customField =&gt; customField.Type)
                .ClientTemplate(dropdownListType)
                .Width("30%")
                .Title("Type");
        });
</code></pre>