Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Telerik
Build great .NET business apps
Net Web
Cross-Platform
Desktop
Reporting and Documents
Testing & Mocking
Debugging
Build JavaScript UI
Javascript
AI for Developers & IT
Ensure AI program success
AI Coding
Additional Tools
Enhance the developer and designer experience
UI/UX Tools
Free Tools
CMS
Support and Learning
Productivity and Design Tools
<
MasterTableView
CommandItemDisplay
=
"Top"
DataKeyNames
"ID"
ClientDataKeyNames
>
Columns
telerik:GridBoundColumn
DataField
UniqueName
HeaderText
</
"Name"
telerik:GridButtonColumn
Text
"set confirm text in name column and template column"
"buttoncolumn"
ButtonType
"PushButton"
telerik:GridTemplateColumn
ItemTemplate
asp:Label
ID
"Label1"
runat
"server"
></
telerik:GridEditCommandColumn
function
setConfirmtext(objid,ID) {
// set in template column
$(
'#'
+ objid +
'Label1'
).html(
'jayesh'
);
// set in bound column
var
grid = $find(
"<%= RadGrid1.ClientID %>"
if
(grid) {
MasterTable = grid.get_masterTableView();
Rows = MasterTable.get_dataItems();
for
(
i = 0; i < Rows.length; i++) {
row = Rows[i];
ClientDataKey_ID = row.getDataKeyValue(
(ClientDataKey_ID == ID) {
row.get_cell(
).innerHTML =
"jayesh"
;
}
protected
void
RadGrid1_ItemDataBound(
object
sender, GridItemEventArgs e)
{
(e.Item
is
GridDataItem)
GridDataItem item = e.Item
as
GridDataItem;
Button btn = item[
].Controls[0]
Button;
btn.Attributes.Add(
"onclick"
,
"setConfirmtext('"
+ btn.ClientID.Substring(0, btn.ClientID.LastIndexOf("_") + 1) +
"','"
+ item.GetDataKeyValue(
).ToString() +
"'); return false;"
CommandName
"mycommand"
RadGrid1_ItemCommand(
sender, GridCommandEventArgs e)
(e.CommandName ==
)
Label Label1 = item.FindControl(
Label;
Label1.Text = item[
].Text =
"yourtext"