Hi Team,
How to bind the Data Source in drop down list vb.net code.
<igtbl:TemplatedColumn Key="Stock" AllowUpdate="Yes" Type="DropDownList" Width="100px">
<CellStyle HorizontalAlign="Left">
</CellStyle>
<CellTemplate>
<asp:Literal ID="lblStock" runat="server" Visible="false">
</asp:Literal>
<asp:DropDownList CssClass="tableElement" ID="ddlStock" runat="server" Width="100%"
AutoPostBack="false" Visible="true">
</asp:DropDownList>
</CellTemplate>
<Header Caption="Stock">
<RowLayoutColumnInfo OriginX="4"/>
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="4" />
</Footer>
</igtbl:TemplatedColumn>
Help me out to reslove the Issue
Thanks
Ranganathan Palanisamy
Hello Ranganathan,
If you have the dropdown list’s Data Source available on the page you can set it directly from the designer - http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebGrid_Using_Column_Templates.html
Otherwise you will have to access the templated control directly in “InitializeRow” row Server event for example and apply the Data Source to it directly - http://ko.infragistics.com/community/forums/p/26392/97012.aspx#97012