dockcommand background image not displaying

4 posts, 0 answers
  1. prayag ganoje
    prayag ganoje avatar
    127 posts
    Member since:
    Feb 2010

    Posted 17 Mar 2011 Link to this post

    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 ?
  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 22 Mar 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. prayag ganoje
    prayag ganoje avatar
    127 posts
    Member since:
    Feb 2010

    Posted 24 Mar 2011 Link to this post

    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
  5. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 29 Mar 2011 Link to this post

    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
Back to Top