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

RadDatePicker missing images now (just installed 2008.3)

3 Answers 178 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Fooberichu
Top achievements
Rank 2
Fooberichu asked on 07 Nov 2008, 04:55 PM
I just installed the latest RadControls ASP.NET AJAX, moved my reference to use that DLL, recompiled, cleared out my browser cache, and found some interesting side-effects.

I have several RadDatePicker instances on several different pages and now instead of showing the calendar icon that I can click to retrieve the popup, it says "Open the calendar popup."  Clicking that brings up the popup normally, but pretty tacky looking.  As an aside, I also have some RadTimePickers on there and they *do* correctly show their clock icon for the popup.  I'm just using the Default skin for both of them.

See below:

                    <telerik:RadDatePicker ID="calStart" runat="server">  
                        <DatePopupButton CssClass="radPopupImage_Default" /> 
                        <Calendar CellAlign="Center" CellVAlign="Middle" DayNameFormat="FirstLetter" FirstDayOfWeek="Default" 
                            MonthLayout="Layout_7columns_x_6rows" Orientation="RenderInRows" TitleAlign="Center" 
                            UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False">  
                        </Calendar> 
                        <DateInput Width="100%" CssClass="NormalTextBox">  
                        </DateInput> 
                    </telerik:RadDatePicker><br /> 
 

and:

                    <telerik:RadTimePicker ID="timeStartTime" runat="server">  
                        <TimeView UseAccessibleHeader="False">  
                        </TimeView> 
                        <DatePopupButton Visible="False" /> 
                        <Calendar CellAlign="Center" CellVAlign="Middle" DayNameFormat="FirstLetter" FirstDayOfWeek="Default" 
                            MonthLayout="Layout_7columns_x_6rows" Orientation="RenderInRows" TitleAlign="Center">  
                        </Calendar> 
                        <DateInput LabelCssClass="" CssClass="NormalTextBox">  
                        </DateInput> 
                    </telerik:RadTimePicker> 
 

Anything I should be doing differently?  As a note, I have tried using a different skin and it does the same thing.

As an aside (though probably related?), I also use the RadScheduler in the same project and it used to show the calendar icon for the DatePicker but now it doesn't.  I'm assuming that removal of the calendar icon is by design?

3 Answers, 1 is accepted

Sort by
0
Fooberichu
Top achievements
Rank 2
answered on 07 Nov 2008, 04:57 PM
And of course, just now I realized the fix.  It had the tag as below inside:

<DatePopupButton CssClass="radPopupImage_Default" /> 
 

Removing that brought the icon back in the DatePickers.  I'll see if the Scheduler has something similar going on.
0
Steve Todd
Top achievements
Rank 1
answered on 15 Jun 2009, 09:04 AM
Hi Guys

I am experiencing the same problem but it is inconsistent, some users get the missing images and some don't.

<telerik:RadTimePicker ID="Time_Sun_StartTextbox" runat="server"  DateInput-ReadOnly="true" SharedTimeViewID="rtvTimeInOut">  
</telerik:RadTimePicker>    
 
<telerik:RadTimeView ID="rtvTimeInOut" runat="server" Skin="Gray" StartTime="00:00:00" EndTime="23:59:59" Interval="0:15:0" Columns="8" TimeFormat="HH:mm" > 
</telerik:RadTimeView> 

Any ideas on how to sure up the presentation so I don't get the hassle of this error message? I'm using 2008.3.1314.20.


Regards

Steve
0
Dimo
Telerik team
answered on 17 Jun 2009, 11:02 AM
Hello Steve,

In RadControls 2008.3.1314 (and later) the RadTimePicker uses a sprite image for its popup buttons, but in this case it requires that the timepicker skin and the timeview skin match. If you want to use different skins, you need to supply an explicit image button URL.

So you have two options:

1)

<telerik:RadTimePicker ID="Time_Sun_StartTextbox" runat="server" Skin="Gray" DateInput-ReadOnly="true" SharedTimeViewID="rtvTimeInOut" /> 


or

2)

<telerik:RadTimePicker ID="Time_Sun_StartTextbox" runat="server" DateInput-ReadOnly="true" SharedTimeViewID="rtvTimeInOut"> 
    <TimePopupButton ImageUrl="cal_images/clock.gif" HoverImageUrl="cal_images/clockHover.gif" />
</telerik:RadTimePicker>   
 


Kind regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar
Asked by
Fooberichu
Top achievements
Rank 2
Answers by
Fooberichu
Top achievements
Rank 2
Steve Todd
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or