Posted 28 Oct 2011 Link to this post
<
telerik:GridTemplateColumn
HeaderText
=
"Account"
UniqueName
>
ItemTemplate
div
asp:DropDownList
ID
"ddlAccountLookup"
Visible
"false"
runat
"server"
</
asp:Label
"grdAccountName"
Text='<%# DataBinder.Eval(Container.DataItem, "AccountName") %>' /><
br
/>
"grdPhone"
Text='<%# DataBinder.Eval(Container.DataItem, "Phone") %>' /><
"grdEmail"
Text='<%# DataBinder.Eval(Container.DataItem, "Email") %>' />
HeaderStyle
CssClass
"BigNormalBold"
HorizontalAlign
"Left"
VerticalAlign
"Bottom"
ItemStyle
"Normal"
protected
void
RadGrid1_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
GridDataItem item = (GridDataItem)e.Item;
DropDownList ddl=(DropDownList)item.FindControl(
);
ddl.Visible =
true
;
}
Posted 29 Oct 2011 Link to this post
"CTest"
HeaderTemplate
asp:TextBox
"hTextBox"
></
"iTextBox"
FilterTemplate
"fTextBox"
FooterTemplate
"fooTextBox"
((e.Item
as
GridDataItem)[
].FindControl(
)
TextBox).Text =
"item"
GridHeaderItem)
GridHeaderItem)[
"headeritem"
GridFilteringItem)
GridFilteringItem)[
"filteritem"
GridFooterItem)
GridFooterItem)[
"footeritem"
Posted 06 May 2013 Link to this post
Posted 24 Jul 2017 in reply to Jayesh Goyani Link to this post
Hi Jayesh,
I am finding difficulty to get GridTemplateColumn Checkbox item template value in ItemCommand event.
I want those values while Update of record. Could please help how we can find GridTemplateColumn control in Item Command event ?
Thanks in advance.