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

Backward compatibility issue - dock command

3 Answers 91 Views
Dock
This is a migrated thread and some comments may be shown as answers.
eyal
Top achievements
Rank 1
eyal asked on 12 Nov 2009, 09:03 AM
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

3 Answers, 1 is accepted

Sort by
0
eyal
Top achievements
Rank 1
answered on 17 Nov 2009, 07:03 AM
Any news about this issue? does someone tested or reproduced it?

br,
eyal
0
Pero
Telerik team
answered on 17 Nov 2009, 11:15 AM
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.
0
eyal
Top achievements
Rank 1
answered on 17 Nov 2009, 12:24 PM
Thank you Pero!

eyal
Tags
Dock
Asked by
eyal
Top achievements
Rank 1
Answers by
eyal
Top achievements
Rank 1
Pero
Telerik team
Share this question
or