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  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
  2. Answer
    Kalina
    Admin
    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,
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top