Backward compatibility issue - dock command

4 posts, 0 answers
  1. eyal
    eyal avatar
    54 posts
    Member since:
    Sep 2009

    Posted 12 Nov 2009 Link to this post

    Hi,
    We have a page with RadDock that contains custom DockCommands. The custom commands are created dynamically on server-side.
    Works great. That is, with Q2.

    Today I realized that images are not rendered for the custom commands in Q3. Instead, it shows the default expand/collapse arrow (see attached image). Otherwise, the commands work well.
    The html generated for Q2 looks like that:
    <span class="rdCommands"
      <class="rdCollapse" title="Collapse"></a> 
      <class="dockCommandDelete" title="Poista"></a> 
      <class="dockCommandEdit" title="Muokkaa"></a> 
    </span> 
     

    and the html for Q3
    <ul class="rdCommands"
      <li><a title="Muokkaa"><span class="dockCommandEdit">&nbsp;</span></a></li> 
      <li><a title="Poista"><span class="dockCommandDelete">&nbsp;</span></a></li> 
      <li><a title="Collapse"><span class="rdCollapse">&nbsp;</span></a></li> 
    </ul> 

    The custom images are in the css class (a.dockCommandEdit, a.dockCommandDelete) and the hover images are in the respective hover classes.

    The documentation for RadDock mentions only changes in custom RadDock skins that are not backward compatible.
    Is that a known issue?

    eyal
  2. eyal
    eyal avatar
    54 posts
    Member since:
    Sep 2009

    Posted 17 Nov 2009 Link to this post

    Any news about this issue? does someone tested or reproduced it?

    br,
    eyal
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 17 Nov 2009 Link to this post

    Hello Eyal,

    With Q3.2009 we have introduced an improved rendering that solves a number of previous issues reported by our customers. Unfortunately custom CSS code that worked with the previous version might not work with the current version of the control. Also, if you are using custom skins you can rework them as explained in the following page:

    http://www.telerik.com/community/forums/aspnet-ajax/docking/using-old-custom-skins-with-raddock-q3-2009.aspx

    To help you resolve your problem I have created a sample project that applies custom CSS classes to the CustomDockCommands (notice the !important flag). The project is attached to the thread.

    If you have other questions or problems, please do contact us.


    Regards,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. eyal
    eyal avatar
    54 posts
    Member since:
    Sep 2009

    Posted 17 Nov 2009 Link to this post

    Thank you Pero!

    eyal
Back to Top