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
<
telerik:GridButtonColumn
UniqueName
=
"Edit"
ButtonType
"ImageButton"
ImageUrl
"../../Images/Edit.png"
Display
"true"
Text="<%$Resources:Caption,Edit%>" HeaderButtonType="PushButton">
</
>
CommandName
"123456"
protected
void
RadGrid1_ItemCommand(
object
sender, GridCommandEventArgs e)
{
if
(e.CommandName ==
)
GridDataItem item = e.Item
as
GridDataItem;
// access data key
string
str = item.GetDataKeyValue(
"ID"
).ToString();
// access column
str1 = item[
].Text;
// access findcontrol
str2 = (item.FindControl(
"TextBox1"
TextBox).Text;
}