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

Script error when manipulating the items list of RadSlidingZone

2 Answers 49 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Ralf
Top achievements
Rank 1
Ralf asked on 25 Aug 2011, 02:15 PM
Hi,

I get the following script error when I have removed items form the RadSlidingZone:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Thu, 25 Aug 2011 13:07:22 UTC

Message: Sys.ArgumentNullException: Value cannot be null.
Parameter name: panelsCreated[7]
Line: 129
Char: 12
Code: 0
URI: http://vmrfri01/ScriptResource.axd?d=2TuO-4de3Cu2jy3GwiBJ9I354x-wa6kqKgnO8MqrHMQCNtAd_g7gknzZfooaXJe3O3k-3KBVsXHPIKGN0b4GONkdyHiZcbOp_H4nzrreccw2VN6Qxn_MHS2MJaxWOnUtFekVypqt0uE6Hi6aBatu4oYI0Sl47S4Hbt4BWJMq_rrbCbka0&t=ffffffffb6731f87


I have defined four slidingpanes in the slidingzone in the aspx file.
In the InitComplete event method I have added two new panes and removed one exisiting pane.
When I load the page, I get the error message.
When I only add panes all working fine without the error
Only when I have removed an existing pane the error occurs after page is loaded.

I'm using the the telerik version 2011.2.712.35

Any idea why the error occurs?

Best regards,
Ralf
d-velop.de


2 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 30 Aug 2011, 03:53 PM
Hi Ralf,

We are not aware of such problem and you are the first one to report it. I tried to reproduce the problem with the provided information but to no avail. Could you please open a formal support ticket and provide a sample fully runnable project replicating the issue so we can examine and debug it locally?

For your convenience I have attached my sample page, could you modify it to a point where the problem occurs and send it back?

All the best,
Dobromir
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Ralf
Top achievements
Rank 1
answered on 31 Aug 2011, 09:47 AM
Hello Dobromir,

thank you for reply.

I have checked your sample, and I have modified it by using my layout. I found out that the error occurs only in my solution. I have placed webparts inside the slidingpanes. And if I remove a pane containing a webpart, the error occurs. When I remove a slidingpane not containing a webpart but a table for example, the error doesn't occur. The page will be used in a SharePoint 2010 context, placed in LAYOUTS folder. Whe webparts will be connected together in the code (c# script inside the page), not via the WebPartManager.

I will create a sample and open a support ticket then.

Best regards,
Ralf
d-velop.de 
Tags
Splitter
Asked by
Ralf
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Ralf
Top achievements
Rank 1
Share this question
or