I have a WebDataGrid which includes a WebDropDown in the Row Edit template The webDropdown is linked to one of the columns as shown
<Template>
<div style="background-color:white;border:1px solid black;">
COMP_ID:<asp:TextBox ID="control_COMP_ID" runat="server"></asp:TextBox>
<br/>
COMP_NAME_EN:<asp:TextBox ID="control_COMP_NAME_EN" runat="server"></asp:TextBox>
<br/>
COMP_TYPE:<ig:WebDropDown ID="cmbCompTypes" runat="server" Width="200px"
DataSource="<%#GetCompanyTypes()%>"
TextField="TYPE_NAME_EN"
ValueField ="TYPE_ID"
></ig:WebDropDown>
<br/>
<asp:Button ID="buttonOK" runat="server" OnClientClick="return" Text="OK" UseSubmitBehavior="False" />
<asp:Button ID="buttonCancel" runat="server" CausesValidation="False" OnClientClick="return" Text="Cancel" UseSubmitBehavior="False" />
</div>
</Template>
When Opening the row edit template, I need the dropdown selected value to be set based on the current column value. I did not fine any post which discuss this topic. Thank you Imad Z