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

Multiple RadGrids Produces Javascript Errors

4 Answers 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
KobusVisagie
Top achievements
Rank 1
KobusVisagie asked on 23 Sep 2010, 10:15 AM
I have multiple RadGrids on the same page, they all display different data and they all have different names. When the page loads, I get this error:

Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors.
Parameter name: element

This leads to the filtering on the RadGrids not working properly, or it's very slow. Do you have a solution for this problem?

4 Answers, 1 is accepted

Sort by
0
KobusVisagie
Top achievements
Rank 1
answered on 23 Sep 2010, 11:59 AM
Any suggestions? Do you need more information from me before you can help me?
0
Daniel
Telerik team
answered on 23 Sep 2010, 02:19 PM
Hello Gregory,

I recommend that you try the solutions posted in the following threads:
Js Error Sys.ArgumentException: Value must not be null for Controls and Behaviors.
Radgrid inside radmultipage : Error: Sys.ArgumentException: Value must not be nul...
AJAX + Column Filtering problem

Let me know if the problem still persists.

Best regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
KobusVisagie
Top achievements
Rank 1
answered on 23 Sep 2010, 03:03 PM
Hello Daniel,

None of the above examples helped me, perhaps the way I have my website setup incorrectly. I have a Master Page and obviously a bunch of content pages. On my Master Page I have a RadScriptManager (which just replace the normal ScriptManager of ASP.NET), a normal ASP.NET UpdatePanel and a normal ASP.NET ContentPlaceHolder inside the UpdatePanel.

Look at it this way: My website has only had the standard ASP.NET control and wherever I had GridView controls, I replaced them with RadGrids. Maybe I'm doing it wrong? Am I leaving something out? Is something else required?

The content page that contains the various RadGrids are only separated by normal <div> tags, I'm not using anything like RadAjaxManagerProxy, RadTabStrip, RadMultiPage, RadPageView, Ajaxsettings etc as per the above posts.

Thanks
G


0
Daniel
Telerik team
answered on 29 Sep 2010, 12:01 PM
Hello Gregory,

This error can occur in various scenarios (not necessarily related to Telerik controls) however it is hard to guess the problem without having more information/code. Can you post (or attach) the contents of the problematic page so that we can examine it?

Kind regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
KobusVisagie
Top achievements
Rank 1
Answers by
KobusVisagie
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or