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
In the hierarchy grid the allowrowselect is set to true. How can I tell if the row selected is from the master table view or detail table view on the client side script (rowselected). Please advise. Thanks RJ
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
"server"
>
MasterTableView
Name
"Master"
Columns
. . . . .
</
DetailTables
telerik:GridTableView
"DetailTable"
. . . .
ClientSettings
Selecting-AllowRowSelect
"true"
ClientEvents
OnRowSelecting
"OnRowSelecting"
/>
<script type=
"text/javascript"
function
OnRowSelecting(sender, args) {
if
(args.get_tableView().get_name() ==
) {
alert(
"Master table"
);
}
else
"Detail table"
</script>