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

ImagesPath and HeaderImageUrl

1 Answer 163 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sypher
Top achievements
Rank 1
Sypher asked on 19 Mar 2010, 04:26 PM
From trying it out, I'd guess that the RadGrid's ImagesPath is not used for the GridBoundColumn's HeaderImageUrl.  Don't you think that's a good idea? 

Currently, if I am using ASP.NET themes and have my images and .skin files in a folder like ~/App_Themes/Default/, I have to point directly to that folder in the source for each GridBoundColumn where I am using a HeaderImageUrl or I have to write some code to set the image in the code behind.  I shouldn't have to point directly to that folder anywhere except in the theme folder, really.

Another option would be to allow a SkinID on grid columns so I can set the images in the .skin file, kinda like how the RadMenu RadMenuItems work. :-)

Not a huge deal, but would help clean up my code a bit. :-)

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 22 Mar 2010, 02:25 PM
Hi sypher,

The header image, determined by the HeaderImageUrl property, is not related to the ImagesPath property (and cannot be related), because this image is not part of the RadGrid skin and is set by the developer.

In addition, the RadGrid columns are not themable, because they are not web controls, but more like settings containers. Please keep your current approach.

All the best,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Sypher
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or