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

slidingPanel in contentPage

1 Answer 97 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Marcelo
Top achievements
Rank 1
Marcelo asked on 27 Dec 2010, 06:30 PM
Hi, everyone
First sorry for my English

I need include a slidingPanel in a contentPage. I'm tried to do anything similar to  http://demos.telerik.com/aspnet-ajax/panelbar/examples/applicationscenarios/slidingpanelbar/defaultcs.aspx  but I have this error System.Web.HttpException: La colección de controles no puede modificarse porque el control contiene bloques de código (por ej. <% ... %>).

Any suggestion is welcome.
Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Accepted
Kalina
Telerik team
answered on 28 Dec 2010, 10:42 AM
Hello Marcelo,

If you receive exceptions such as "System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks" you need to move the code block (i.e. <% ... %>) outside of the head tag. Please find more details about this topic here.

All the best,
Kalina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
PanelBar
Asked by
Marcelo
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Share this question
or