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

ButtonImage URL

1 Answer 48 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
John Davis
Top achievements
Rank 2
John Davis asked on 26 Apr 2008, 12:14 PM

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

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 28 Apr 2008, 12:47 PM
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
Tags
ToolBar
Asked by
John Davis
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or