This is a migrated thread and some comments may be shown as answers.

Grid "OnRowDblClick" not working with MasterPage/Content page

1 Answer 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Atul
Top achievements
Rank 1
Atul asked on 24 Nov 2008, 09:37 PM

In one of our scenarios we have content page which loads a webusercontrol which has Telerik grid and have <ClientEvents OnRowDblClick="ShowImportResult" />

In the javascript declared in the usercontrol the following is not working: sender.get_masterTableView().get_dataItems()[eventArgs.get_itemIndexHierarchical()];

Any ideas why I am not getting "eventArgs.get_itemIndexHierarchical()" as desired.

Atul

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 25 Nov 2008, 03:17 PM
Hello Atul,

If your scenario is ajaxified using RadAjaxManager or RadAjaxPanel you may need to wrap your JavaScript blocks in RadScriptBlock. RadAjax will register automatically these scripts.

Sincerely yours,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Atul
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or