optimize Dock markup code

2 posts, 0 answers
  1. Tom
    Tom avatar
    12 posts
    Member since:
    May 2004

    Posted 05 Nov 2009 Link to this post

    How is it possible to optimize the rendered Dock markup code?
    For example I can't understand, why the bold marked code is always rendered --> <td class="rdRight" unselectable="on" style="">

  2. Pero
    Pero avatar
    1156 posts

    Posted 10 Nov 2009 Link to this post

    Hello Tom,

    The style attribute isn't rendered by default (see attached screenshot). You can see this if you put together a simple page with RadDock control and use FireBug or IEdevToolbar to inspect the HTML element of the RadDock.

    The unselectable attribute is used to prevent selecting of the table-cells. If this attribute isn't set it is possible to select the table-cells and when the dock is dragged JavaScript errors will arise in some cases. If you have another idea about how to disable the selection of the table-cells, it will be great if you can share it with us and the community.

    Sincerely yours,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top