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

Calendar images and skins

2 Answers 53 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Moon
Top achievements
Rank 2
Moon asked on 30 Oct 2008, 09:59 PM
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 Answers, 1 is accepted

Sort by
0
Moon
Top achievements
Rank 2
answered on 30 Oct 2008, 10:23 PM
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.
0
Accepted
Dimo
Telerik team
answered on 31 Oct 2008, 08:09 AM
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.
Tags
Calendar
Asked by
Moon
Top achievements
Rank 2
Answers by
Moon
Top achievements
Rank 2
Dimo
Telerik team
Share this question
or