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
protected
void
RadGrid1_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
GridDataItem item=(GridDataItem)e.Item;
RadNumericTextBox txt = (RadNumericTextBox)item.FindControl(
"RadNumericTextBoxID"
);
int
index = e.Item.ItemIndex;
txt.ClientEvents.OnValueChanged =
"function (sender,args){rowIndex('"
+ index +
"');}"
;
}
<script type=
"text/javascript"
>
function
rowIndex(index) {
var
row = $find(
'<%= RadGrid1.ClientID %>'
).get_masterTableView().get_dataItems()[index];
row.findElement(
"CheckBoxID"
).checked =
true
</script>