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

dockcommand background image not displaying

3 Answers 77 Views
Dock
This is a migrated thread and some comments may be shown as answers.
prayag ganoje
Top achievements
Rank 1
prayag ganoje asked on 17 Mar 2011, 04:52 PM
Hello,

I am using the trial version of Telerik ASP.NET controls. I came across the following 2 issues:

1. Adding custom command to the raddoc then its images are not appearing on the DocTitleBar.

.rdCustomize
  {
      width: 25px;
      height: 25px;
      cursor: pointer;
      background: url('../Images/1.gif') transparent !important;
  }

<telerik:RadDock ID="RadDock1" runat="server" Width="250px" EnableAnimation="true"
                                            Height="250px" Resizable="true" Skin="Sitefinity" Tag="CSMD_Average_Response_Time"
                                            Title="1">
                                            <Commands>
                                                <telerik:DockCloseCommand />
                                                <telerik:DockExpandCollapseCommand />
                                                <telerik:DockCommand CssClass="rdCustomize" Name="doEdit" Text="Customize" />
                                                <telerik:DockCommand CssClass="rdCustomize" Name="doRefresh" Text="Refresh" />
                                            </Commands>
                                            <ContentTemplate>
                                                <div>
                                                    <uc:AvgResolutionTimeFL ID="CSMD_AvgResolutionTimeFL" runat="server"></uc:AvgResolutionTimeFL>
                                                </div>
                                            </ContentTemplate>
                                        </telerik:RadDock>

2. Surprisingly I got error messages on the design window. Plz find the attachment for it.

Can you plz suggested me to do this the better manner ?

3 Answers, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 22 Mar 2011, 10:54 AM
Hello Prayag,

Straight to the problems:

  1. I tested your CSS locally and it worked. I modified the url of the background image, cause I am using a different one. Please find my code attached to the thread. The problem might be caused by incorrect path to the image, so make sure the client browser can find the image.
  2. I also reproduced the design-time issue, but couldn't find what's causing it. We will need more time to investigate the issue, and we will make sure it's fixed for some of the upcoming releases. Note that this issue does not in any way affect the runtime behavior of the RadDock.

Kind regards,
Pero
the Telerik team
0
prayag ganoje
Top achievements
Rank 1
answered on 24 Mar 2011, 07:24 PM
Thanks Pero. Following URL change, solved the first problem.

.CustomCommandRefresh
    {
        width: 10px;
        height: 10px;
        background: url(/Images/arrow_refresh.png) no-repeat !important;
    }


Since the design time issue is not the problem right now. But I hope you will resolve it soon and will make it perfect. FYI- This problem occured on VS2010 Ultimate.

Thanks,
Prayag
0
Pero
Telerik team
answered on 29 Mar 2011, 03:51 PM
Hello Prayag,

I am glad you resolved the problem with the custom image on the command. As I said in my previous reply, we will do our best to fix it as soon as we can.

Have a great day! :)

Regards,
Pero
the Telerik team
Tags
Dock
Asked by
prayag ganoje
Top achievements
Rank 1
Answers by
Pero
Telerik team
prayag ganoje
Top achievements
Rank 1
Share this question
or