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

RadDatepicker

3 Answers 46 Views
Code Generation
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Palanivel
Top achievements
Rank 1
Palanivel asked on 30 May 2012, 01:22 PM
hi Friends, i am using the telerik UI in which i am using the raddatepicker control here i want disable the current date from the raddatepicker plz help me...

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 01 Jun 2012, 06:01 PM
Hi Palanivel,

Please try the following approach:
<telerik:RadDatePicker ... >
       <Calendar runat="server">
           <SpecialDays>
               <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Aquamarine" IsSelectable="false"
                   TemplateID="DateTemplate">
               </telerik:RadCalendarDay>
           </SpecialDays>
           <CalendarDayTemplates>
               <telerik:DayTemplate ID="DateTemplate" runat="server">
                   <Content>
                        <asp:Label Text='<%# DateTime.Now.Day %>' runat="server" />
                   </Content>
               </telerik:DayTemplate>
           </CalendarDayTemplates>
       </Calendar>
</telerik:RadDatePicker>

This should solve the issue.

Regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
haseeb
Top achievements
Rank 1
answered on 11 Jul 2014, 10:46 AM
Hello Every one

I have an display issue with RadDatePicker , you can easily see in the attachment, while it looks good in Chrome, while in IE11 its not properly display on the same line and jumps to new line.

Your timely response will be highly apprecuated.

Many Thanks
0
Eyup
Telerik team
answered on 16 Jul 2014, 10:03 AM
Hi Haseeb,

Can you please verify that you are using the latest version of Telerik controls? Also, do you replicate this issue with our live samples?
http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Code Generation
Asked by
Palanivel
Top achievements
Rank 1
Answers by
Eyup
Telerik team
haseeb
Top achievements
Rank 1
Share this question
or