ButtonImage URL

2 posts, 0 answers
  1. John Davis
    John Davis avatar
    119 posts
    Member since:
    Apr 2007

    Posted 26 Apr 2008 Link to this post

    I want my custom images to be standard throughout the web site so I do not want to duplicate them and put them in multiple skins folders.
    (If this is a bad idea let me know.)

    This is the web site folder:
    D:\wwwSVN\BalancedFlow.WebSite3.5

    My custom images are here:
    D:\wwwSVN\BalancedFlow.WebSite3.5\Images

    I have:
      <rad:RadToolbar runat="server" ID="RadtoolbarCutoff" Skin="Outlook" UseFadeEffect="True">
    ...
     <rad:RadToolbarButton ToolTip="minus" ButtonImage="~/Images/minus.gif" CommandName="minus" />

    I want the image url to be:

    /Images/minus.gif

    But I get:

    /RadControls/Toolbar/Skins/outlook/img/~/Images/minus.gif

  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 28 Apr 2008 Link to this post

    Hello John,

    Please, set ImagesDir="~/Images".

    Feel free to contact us if you have any other questions.


    Peter
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top