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.
Build JavaScript UI
Javascript
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
Free Tools
Support and Learning
Productivity and Design Tools
<
telerik:GridTemplateColumn
>
ItemTemplate
asp:CheckBox
ID
=
"CheckBox1"
runat
"server"
OnCheckedChanged
"CheckBox1_CheckedChanged"
AutoPostBack
"true"
/>
</
protected
void
RadGrid1_ItemCreated(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
GridDataItem item = (GridDataItem)e.Item;
CheckBox chkbox = (CheckBox)item.FindControl(
);
int
index = item.ItemIndex;
//getting the index
chkbox.Attributes.Add(
"onclick"
,
"clickEvent('"
+ index +
"');"
//attaching client events from server side
}
<script type=
"text/javascript"
function
clickEvent(index)
alert(index);
</script>
CheckBox1_CheckedChanged(
sender, EventArgs e)
CheckBox chkbox = sender
as
CheckBox;
GridDataItem item = (GridDataItem)(sender
CheckBox).NamingContainer;
string
emp = item[
"ColumnUniqueName"
].Text.ToString();