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
How can I find the row index for a Rad grid? I want to pass the row index and 'this' to a javascript function to toggle the checkboxes on my rad grid from telerik.
Something like this: onClick="Checkbox(this, rowindex);"
<
telerik:GridTemplateColumn
>
ItemTemplate
asp:CheckBox
ID
=
"CheckBox1"
runat
"server"
/>
</
protected
void
RadGrid1_ItemCreated(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
GridDataItem gd=(GridDataItem)e.Item;
CheckBox chk = (CheckBox)gd.FindControl(
);
int
index = gd.ItemIndex;
chk.Attributes.Add(
"OnClick"
,
"Click('"
+ index +
"','"
+chk.ClientID+
"')"
}
<script type=
"text/javascript"
function
Click(id, checkid)
alert(id);
</script>