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

RadGrid Filter Icons source link breaking

1 Answer 9 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jessica
Top achievements
Rank 1
Jessica asked on 20 Nov 2013, 08:20 PM
Hi,

I've got two filter icons at the bottom of the radgrid that hide the filter header or clears it out completely.  When I run it on my local machine, the source link is accurate, finds the images just fine.  When I moved my code to the server, the source link adds another layer to the link.  So instead of looking in the root folder, it goes up a directory.

IE.
root/image <= where the image actually is
root/folder a/image <= is where the source points to when moved to the server

folder a is also the first layer of directory where the radgrid is, so ie:

root/folder a/folder b/default.aspx <= is where the aspx page is where it uses the radgrid

Where would I find the config to have the radgrid point it to the right direction?

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 25 Nov 2013, 09:26 AM
Hello Jessica,

I am not sure how you try to access the image in the folder, but you could use the root tilde operator ("~/") and then point to the image folder. Please check out the following code snippet.
<asp:Image ImageUrl="~/image/image.png" ID="Image1" runat="server" />

Regards,
Kostadin
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Jessica
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or