The control type 'Telerik.Web.UI.RadDockLayout' cannot be themed.

7 posts, 1 answers
  1. Angela
    Angela avatar
    19 posts
    Member since:
    Mar 2008

    Posted 05 Apr 2008 Link to this post

    Hi,

    I am running into this problem when I am trying to allow dynamic theming...

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: The control type 'Telerik.Web.UI.RadDockLayout' cannot be themed.

    Source Error:

    <
    telerik:RadDockLayout Skin="Default" runat="server" />

    SPECIAL NOTE

    I am able to successfully theme the RadMenu using the same logic...

    <

    telerik:RadMenu Skin="Default" runat="server" />

    This works fine.

    CONCLUSION

    Possibly, that you forgot to give permission in your dock class to allow theming?

    Any Help is greatly appreciated!

    Angela

  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 07 Apr 2008 Link to this post

    Hi Angela,

    Currently the RadDockLayout control does not support themes. The RadDockLayout control is not rendered on the client page. Therefore, setting a theme to RadDockLayout will not have direct effect. However, by design if the RadDockZone controls and the RadDock controls nested in the RadDockLayout control have no Skin property in the ASP.NET markup, they inherit the Skin property of the RadDockLayout control. Using this approach lets you change the skins of all the docking controls by a single property setting.
    Setting a theme to the RadDockLayout would be a good feature of the control. That is why, we have already logged this issue in our feature requests list for future consideration and implementation.

    Best regards,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 07 May 2008 Link to this post

    Hello All,

    Can I skin the DockZone and Dock Object, How ...??

    Thanks and best regards
    Waleed
  5. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 08 May 2008 Link to this post

    Hi Waleed,

    You can use the built-in skins provided by Telerik to skin the RadDockZones and the RadDocks by simply setting the Skin property of the corresponding control. The built-in skins are embedded in the Telerik.Web.UI.dll assembly as web resources.
    I suggest you take a look at the Skins help article of the RadDock for ASP.NET AJAX for more details as well as to the other help articles from the Appearance and Styling section in case you want to use custom skinning.

    If you need further assistance, do contact us again.

    Best regards,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Answer
    Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 08 May 2008 Link to this post

    Dear Telerik,

    Finally I got reply to one of my questions, I am sure your busy and soon you will reply, anyway I manage to dynamically change the skin of raddock and raddockzone without using the skin propriety of the raddocklayout, Raddockzone or Raddock object, My approach is using skinid instead ...

    Thanks and best regards,
    Waleed
  7. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 15 Sep 2009 Link to this post

    I'd like to see this enhancement sooner rather than later.

    I don't want to set the Skin directly to the DockLayout, DockZone, or Dock as the code is base code that runs multiple sites with multiple appearances.  I can't apply a SkinID to the DockZone or Dock, as they are created too late in the page lifecycle due to availability of required data that is gathered by other objects in a complex inheritance hierarchy.  The DockLayout is the only statically created object, so I want to set a SkinID that can be altered on a per-site basis to specify a different skin.
  8. Jim
    Jim avatar
    31 posts
    Member since:
    Jun 2009

    Posted 18 Sep 2009 Link to this post

    You can apply Skins globally to the RadDock by placing the following code in the web.config file:

    <appSettings> 
        <add key="Telerik.Dock.Skin" value="Hay"/> 
     </appSettings> 


Back to Top
UI for ASP.NET Ajax is Ready for VS 2017