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

Icons not showing up - Paging and Filtering

3 Answers 332 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jgig
Top achievements
Rank 1
jgig asked on 08 Jul 2008, 03:55 AM
I recently upgraded an application to radcontrols asp.net ajax from the old asp.net version. Now for some reason the Filter Icon and the paging icons are not showing up, I just see partial standard buttons. They work fine just cant seem to get the images back. When I am design mode I see the images. Is there something I must change on the grid with the new version to get them to work?

I am using embedded skins and I have tried more than one.

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Jul 2008, 02:32 PM
Hi Jeremy,

The standard buttons that you are seeing at the place of the image buttons, are the new sprite buttons:

RadGrid CSS Sprites

If they are not styled in your scenario, I suppose that you are using a non-embedded skin, which has been migrated from the old RadGrid for ASP.NET. If this is the case, I advise you to set the ImagesPath property, so that RadGrid uses the old image buttons instead of the new sprite buttons:

<telerik:RadGrid  ImagesPath="~/path/"  />

The folder specified by the ImagesPath property should contain all images, which RadGrid uses for buttons. Their names are listed here:

RadGrid Skins


The other option is to add the required background CSS styles to your custom skin, so that the sprite buttons look like image buttons. However, this takes more time.

Let us know if you need more information.


All the best,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
jgig
Top achievements
Rank 1
answered on 08 Jul 2008, 04:07 PM
I do not believe this is why I am having my problem. I have tried using embedded skins (Telerik & Default). I checked and those are embedded skins. Plus I see the images fine in debug mode.

I think it may have something to do with converting the project from .NET 2.0 to 3.5 and/or upgrading the RadControls.

Not sure what to try next...any other tips?
0
jgig
Top achievements
Rank 1
answered on 09 Jul 2008, 04:08 AM
after further digging through the code I found this:

<asp:button runat="Server" CssClass="button"/>

the way the new radgrid asp.net ajax renders the filter buttons must be an asp:button and I was overwriting it with my style. sorry, old project and forgot it was even ther in the skin file

Tags
Grid
Asked by
jgig
Top achievements
Rank 1
Answers by
Dimo
Telerik team
jgig
Top achievements
Rank 1
Share this question
or