Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
665
How to get the controls inside of a webgrid?
posted

Hi,

I have used WebGrid,i have use Templated Colum for place the control inside of grid,i need to get a controls inside of grid.How can i get the control.

 This is my code

<Columns >

<igtbl:TemplatedColumn BaseColumnName ="LANG_CD" Key="LANG_CD" >

<CellTemplate >

<asp:Label ID="lbllanguage" runat ="server" Text='<%# Bind("LANG_CD") %>'></asp:Label>

 

</CellTemplate>

<Header Caption ="Language"></Header>

<FooterTemplate>

<asp:DropDownList AutoPostBack="true" ID="ddlInsertLanguage" DataSourceID="objDSlanguage" DataTextField="LANGNAME" DataValueField="LANGCD" runat="server"></asp:DropDownList>

</FooterTemplate>

</igtbl:TemplatedColumn>

</column>

i need to get this label and dropdown list in code behind page.

Parents
No Data
Reply Children
No Data