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

Dock Control Command in titlebar

5 Answers 70 Views
Dock
This is a migrated thread and some comments may be shown as answers.
virtualcampus
Top achievements
Rank 1
virtualcampus asked on 08 Aug 2011, 02:13 PM
Hi ,
I am using the dock control and the command button for exapnad and collapse seems to disappear on hover. Also, the default bullet appears along side with the expand and collapse image. I have properly referenced the skin files and css. I would also like to use the custom command in the title bar template in order to make use of rss feed, so people can subscribe to it.
Could you please help?
Thanks,

5 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 09 Aug 2011, 02:01 PM
Hello,

The issue you have encountered is most probably caused by custom style sheets, added to your project, which override the default appearance of the RadDock. Could you please check if any of the additional CSS causes the described effect?

The Commands online demo contains example of adding a custom command, which is quite useful and can be used as a reference for achieving this yourself. You may also check this help article in order to learn more about custom commands.

Configuring Title Bar Template with a custom command inserted in it is not supported feature. Nevertheless you can achieve such scenario by adding a button inside the title bar template and executing your logic on button click. The following online demo shows fully configured title bar template, that implements changing of the title: http://demos.telerik.com/aspnet-ajax/dock/examples/edittitle/defaultcs.aspx

Note that at the current circumstances I am mostly guessing as to what your setup is. If you are still unable to resolve your problems please submit a regular support ticket with attached sample, runnable project that isolates your issue so that we can examine it locally and provide a more specific answer.

Kind regards,
Slav
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
virtualcampus
Top achievements
Rank 1
answered on 12 Aug 2011, 09:42 AM
Hi,
I have had a look at my custom style sheet. But the problem seems to be the browser. The bullet points appears only on IE but not on google chrome along with the expand and collapse button.I have attached a screenshot for your refrence.
0
virtualcampus
Top achievements
Rank 1
answered on 12 Aug 2011, 10:28 AM
Hi,
Also, when i check the inspect element it some how loads the default class this is what it shows. It loads RadDock RadDock_Default
 and then loads custom css. 
<div id="ctl00_MainContent_CourseNews" class="RadDock RadDock_Default Dock.vctheme.css" style="width: 100%;">

Could you suggest how to avoid this. I have set custom theme in the webconfig file plus to test i have explicitly registered css on the page.
Could you please help.
Thanks,
0
virtualcampus
Top achievements
Rank 1
answered on 15 Aug 2011, 09:48 AM
Could you please help with this.
0
Slav
Telerik team
answered on 15 Aug 2011, 04:35 PM
Hello,

I would suggest removing all custom styles and themes from your page and checking if the described problem persists. If it doesn't, then the additional CSS and themes are causing the strange appearance and should be modified accordingly so that the problem is removed. This help article provides useful information, concerning creation of a custom skin for the RadDock control, which you may find helpful.

I would like to bring again to your attention the fact that currently I am not fully aware of the exact setup of your project. In case the suggestions above doesn't help please submit a regular support ticket with a simple, runnable project that isolates your case so that we can inspect the issue locally and expose the cause for it.

Regards,
Slav
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Dock
Asked by
virtualcampus
Top achievements
Rank 1
Answers by
Slav
Telerik team
virtualcampus
Top achievements
Rank 1
Share this question
or