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

ImagesPath for RadDatePicker?

2 Answers 168 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Andrej Tozon
Top achievements
Rank 1
Andrej Tozon asked on 24 Jan 2008, 09:42 AM
Using RadeDatePicker with custom skin, with Q3 SP1, and all images' refs are pointing to the root of the web site (the images are not used in css).
I had similar problems to this with RadGrid, which SP1 fixed by adding the ImagesPath property. However, RadDatePicker doesn't seem to have this property. One solution is to set all images manually through skin, but I'm sure there's better solution?

Thanks, Andrej

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 24 Jan 2008, 11:22 AM
Hi Andrej,

Indeed, currently only RadGrid has the ImagesPath property and the standard way to set the location of the date/time pickers' button images is:

<telerik:RadDateTimePicker ID="RadDateTimePicker" runat="server">
   <DatePopupButton ImageUrl="" HoverImageUrl="" />
   <TimePopupButton ImageUrl="" HoverImageUrl="" />
</telerik:RadDateTimePicker>

In case you have lots of pickers in your web application, you can declare these images in a ASP.NET theme.


For the next official release of RadControls Prometheus we will either implement the ImagesPath property for Date/Time pickers and the Calendar, or will transfer the images to the CSS skins as background images.


Regards,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Andrej Tozon
Top achievements
Rank 1
answered on 24 Jan 2008, 11:30 AM
Hi Dimo,

yes, currently I have it implemented the way you suggested. However, there are more than just a few images to specify in the skin file (there are more images in Calendar control etc...) I just thought there was a shortcut for assigning those images through some sort of ImagesPath... Glad to see you're planing to implement it in the next release.

Andrej
Tags
Calendar
Asked by
Andrej Tozon
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Andrej Tozon
Top achievements
Rank 1
Share this question
or