slidingPanel in contentPage

2 posts, 1 answers
  1. Marcelo
    Marcelo avatar
    7 posts
    Member since:
    Jul 2009

    Posted 27 Dec 2010 Link to this post

    Hi, everyone
    First sorry for my English

    I need include a slidingPanel in a contentPage. I'm tried to do anything similar to  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
  2. Answer
    Kalina avatar
    918 posts

    Posted 28 Dec 2010 Link to this post

    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,
    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.
Back to Top