RadDatePicker missing images now (just installed 2008.3)

4 posts, 0 answers
  1. Fooberichu
    Fooberichu avatar
    44 posts
    Member since:
    Oct 2007

    Posted 07 Nov 2008 Link to this post

    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:

    1                     <telerik:RadDatePicker ID="calStart" runat="server">  
    2                         <DatePopupButton CssClass="radPopupImage_Default" /> 
    3                         <Calendar CellAlign="Center" CellVAlign="Middle" DayNameFormat="FirstLetter" FirstDayOfWeek="Default" 
    4                             MonthLayout="Layout_7columns_x_6rows" Orientation="RenderInRows" TitleAlign="Center" 
    5                             UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False">  
    6                         </Calendar> 
    7                         <DateInput Width="100%" CssClass="NormalTextBox">  
    8                         </DateInput> 
    9                     </telerik:RadDatePicker><br /> 
    10  

    and:

    1                     <telerik:RadTimePicker ID="timeStartTime" runat="server">  
    2                         <TimeView UseAccessibleHeader="False">  
    3                         </TimeView> 
    4                         <DatePopupButton Visible="False" /> 
    5                         <Calendar CellAlign="Center" CellVAlign="Middle" DayNameFormat="FirstLetter" FirstDayOfWeek="Default" 
    6                             MonthLayout="Layout_7columns_x_6rows" Orientation="RenderInRows" TitleAlign="Center">  
    7                         </Calendar> 
    8                         <DateInput LabelCssClass="" CssClass="NormalTextBox">  
    9                         </DateInput> 
    10                     </telerik:RadTimePicker> 
    11  

    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?
  2. Fooberichu
    Fooberichu avatar
    44 posts
    Member since:
    Oct 2007

    Posted 07 Nov 2008 Link to this post

    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.
  3. Steve Todd
    Steve Todd avatar
    31 posts
    Member since:
    Dec 2005

    Posted 15 Jun 2009 Link to this post

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

    Posted 17 Jun 2009 Link to this post

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