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

RadDateTimePicker TimePopupButton image is missing...

2 Answers 125 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
dstj
Top achievements
Rank 1
dstj asked on 24 May 2008, 05:30 PM
Hi,

Using v2008.1.515.20, I noticed a difference between DatePopupButton and TimePopupButton when EnableEmbeddedSkins is set to "false" on a RadDateTimePicker.

I set up my RadDateTimePicker like this :
<telerik:RadDateTimePicker ID="rdtpBegin" runat="server" SharedCalendarID="sharedCalendar" EnableEmbeddedSkins="false" EnableEmbeddedScripts="true"
</telerik:RadDateTimePicker> 

For the DatePopupButton, the images are there even if not explicitly set, but the TimePopupButton images are missing, resulting in some major flickering in Firefox and the missing-image X in IE7.

Setting both ImageUrl and HoverImageUrl in the code-behind solve the problem, but what is the intended behavior when using EnableEmbeddedSkins="false"?

Thanks,

Dominic.

2 Answers, 1 is accepted

Sort by
0
dstj
Top achievements
Rank 1
answered on 25 May 2008, 07:39 PM
Hi again, I think I have found a solution... and a new glitch.

The missing images seems to be caused by the missing SharedTimeViewID. When using both SharedCalendarID and SharedTimeViewID, the popup button images are taken from the skin of the shared calendar and timeview even though the RadDateTimePicker is set to EnableEmbeddedSkins="false"...

For the benefit of others, it was unclear to me from the "Sharing calendars" demo that the shared calendrar and timeview had to be declared after the RadDateTimePickers. If declared before, javascript errors happen : Sys.ArgumentUndefinedException: Value cannot be undefined.

I have a new glitch though. In Firefox only, the TimeView popup does not show up when setting skins on the RadCalendar and RadTimeView. The Date popup is fine... In IE7, both popup show up.

I use the following code on a blank page:
<asp:ScriptManager ID="ScriptManager1" runat="server"
</asp:ScriptManager> 
       
<telerik:RadDateTimePicker ID="rdtpBegin" SharedCalendarID="sharedCalendar" SharedTimeViewID="sharedTimeView" runat="server" EnableEmbeddedSkins="false"
</telerik:RadDateTimePicker> 
<telerik:RadDateTimePicker ID="rdtpEnd" SharedCalendarID="sharedCalendar" SharedTimeViewID="sharedTimeView" runat="server" EnableEmbeddedSkins="false"
</telerik:RadDateTimePicker> 
 
<telerik:RadCalendar ID="sharedCalendar" runat="server" Skin="Vista" /> 
<telerik:RadTimeView ID="sharedTimeView" runat="server" Skin="Vista" /> 

When not setting any Skins, both popups are OK. When explicitly setting Skin="Default", it's also OK in Firefox and IE7

Any ideas ?

Thanks,

Dominic
0
Pavel
Telerik team
answered on 26 May 2008, 01:19 PM
Hello Dominic,

Indeed you are right and the issues you describe can be observed with the latest version of the RadCalendar control. I have logged them in our bug tracking system and our developers will take care of them. Please excuse us for any temporary inconveniences caused. As a token of gratitude for your feedback I have updated your Telerik points.

Regards,
Pavel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Calendar
Asked by
dstj
Top achievements
Rank 1
Answers by
dstj
Top achievements
Rank 1
Pavel
Telerik team
Share this question
or