Calendar images and skins

3 posts, 1 answers
  1. Moon
    Moon avatar
    250 posts
    Member since:
    Apr 2008

    Posted 30 Oct 2008 Link to this post

    I want to use the Inox calendar with the WebBlue Popupbutton picker.

    I tried this:
              RadDatePicker1.Skin = "WebBlue"
                RadDatePicker1.Calendar.Skin = "Inox"

    That didn't work, so I tried to change just the images. That doesn't work either.

                RadDatePicker1.DatePopupButton.ImageUrl = ResolveClientUrl("~/Skins/WebBlue/Calendar/datePickerPopup.gif")
                RadDatePicker1.DatePopupButton.HoverImageUrl = ResolveClientUrl("~/Skins/WebBlue/Calendar/datePickerPopup.gif")

    I am using the trial version of ajax right now.

    What must I do to get the little image to be the web blue image and the popup to be the Inox calendar?

    thanks.
    Moon
  2. Moon
    Moon avatar
    250 posts
    Member since:
    Apr 2008

    Posted 30 Oct 2008 Link to this post

    I also tried replacing the inox datepicker images with the web blue images and it still displays the old images.

    Shouldn't you be able to change the images in he skins and have them updated to the new ones?

    sigh.
  3. Answer
    Dimo
    Admin
    Dimo avatar
    8478 posts

    Posted 31 Oct 2008 Link to this post

    Hi Moon,

    In Q3 2008 Beta you should do this:

    <telerik:RadDatePicker ID="RadDatePicker1" runat="server" Skin="Inox">
        <DatePopupButton ImageUrl="..." HoverImageUrl="..." />
    </telerik:RadDatePicker>

    Replacing the images does not work, because RadCalendar and the pickers now use CSS sprites by default and you have to set ImageURL and HoverImageURL explicitly in order to fall back to the way the control worked previously.


    Best wishes,
    Dimo
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top