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

RadHtmlPlaceholder Index out of Range Exception

2 Answers 53 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 07 Oct 2011, 02:42 PM
Hi, I just performed a test upgrade from 2011 Q2 controls to the SP1 release and have run into an issue with the RadHtmlPlaceholder.

I'm using a RadDocking container and injecting several panes that contain RadHtmlPlaceholders when a user performs a search. (See image 1, 2, and 3).

From context menus in the application, the user can open more tabs and navigate to them without any issues (Image 4). The view injection works the same way.

When you click on the very last tab that was injected that contains the HtmlPlaceholder, it works (Image 5). However, clicking on any others results in an IndexOutofRangeException and the application errors out - causing the web page it was going to render to load fullscreen within the browser. (Images 6 and 7).

I have no problems with this scenario in Q2 non-SP1. It's definately an internal exception in the Telerik controls for the SP1 release. I believe it's only holding onto a single reference to a placeholder within some internal array...

In any case, the SP1 release is an important upgrade for us to resolve several other issues we are experiencing - most importantly in the release notes:
-Fixed: RadGridView steals focus from a button inside RadGridView.

Any help would be appreciated.

2 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 07 Oct 2011, 04:27 PM
Update: I've downgraded the controls to non-SP1 - and with Framework source stepping turned on and Stop on all exceptions, I can see that indeed the old version contains the same IndexOutOfRangeException.

The difference between SP1 and vanilla Q2 seems to be that SP1 is allowing the exception to bubble up to the application instead of hiding it...
0
Petar Mladenov
Telerik team
answered on 10 Oct 2011, 08:51 AM
Hello Robert,

 We are aware of this issue in the RAdHTMLPlaceholder from Q2 2011 SP. The good news is that this is resolved in the internal build from 4th October. You can download the hotfix from your account page at www.telerik.com. Please accept our apologies for the inconvenience caused.

Best wishes,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
HTMLPlaceHolder
Asked by
Robert
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or