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

[Solved] 2010 Web Part Javascript Radgrid Issue

3 Answers 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 28 May 2013, 01:14 PM
I am attempting to recreate the Grid - Edit on Double-click in a SharePoint 2010 web part.  I have successfully added the script to the page using a ClientScriptManager in the PreRender method.  I also generate my RadAjaxManager in OnInit.

However, when I double click on an item I receive an error on the page, "'null' is null or not an object"

The line number it corresponds to in the page source is
$find("<%= RadGrid1.ClientID %>").get_masterTableView().editItem(editedRow);
within the RowDblClick function.

Any help would be appreciated.

Thanks!




3 Answers, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 28 May 2013, 03:50 PM
It's definitely the get_masterTableView() method, but I can't seem to figure out why.  Does anyone have any suggestions?

Thanks,
Mark
0
Mark
Top achievements
Rank 1
answered on 28 May 2013, 08:00 PM
So, trying both tactics in this link did not prove successful, unfortunately.
0
Tsvetoslav
Telerik team
answered on 31 May 2013, 11:59 AM
Hi Mark,

Please, close the current thread as you have another one opened.

 

Regards,
Tsvetoslav
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
Tsvetoslav
Telerik team
Share this question
or