Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<
MasterTableView
DataKeyNames
=
"ID"
>
Columns
telerik:GridBoundColumn
DataField
HeaderText
UniqueName
</
telerik:GridTemplateColumn
ItemTemplate
asp:Label
ID
"Label1"
Text='<%# Eval("ID") %>' runat="server"></
protected
void
RadGrid1_ItemCommand(
object
sender, GridCommandEventArgs e)
{
if
(e.CommandName == RadGrid.EditCommandName)
GridEditableItem item = e.Item
as
GridEditableItem;
string
strkey = item.GetDataKeyValue(
).ToString();
strcolumn1 = item[
].Text;
// bound column
strcolumn2 = (item.FindControl(
"Lable1"
)
Label).Text;
// find contorl
}
(e.CommandName == RadGrid.UpdateCommandName)
telerik:GridEditCommandColumn
ButtonType
"LinkButton"
"EditColumn"
></
RadGrid1_ItemDataBound(
sender, GridItemEventArgs e)
(e.Item
is
GridDataItem)
GridDataItem item = (GridDataItem)e.Item;
LinkButton link = (LinkButton)item[
].Controls[0];
link.CommandArgument = DataBinder.Eval(e.Item.DataItem,
"Id"