This is a migrated thread and some comments may be shown as answers.

optimize Dock markup code

1 Answer 52 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 05 Nov 2009, 09:14 AM
Hi
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="">

Thanks
Tom

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 10 Nov 2009, 01:01 PM
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,
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.
Tags
Dock
Asked by
Tom
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or