ImagesPath for RadDatePicker?

3 posts, 0 answers
  1. Andrej Tozon
    Andrej Tozon avatar
    5 posts
    Member since:
    Jun 2012

    Posted 24 Jan 2008 Link to this post

    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. Dimo
    Admin
    Dimo avatar
    8474 posts

    Posted 24 Jan 2008 Link to this post

    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
  3. Andrej Tozon
    Andrej Tozon avatar
    5 posts
    Member since:
    Jun 2012

    Posted 24 Jan 2008 Link to this post

    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
Back to Top