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

[Solved] calendar custom skin

6 Answers 111 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
wei sy
Top achievements
Rank 1
wei sy asked on 17 Nov 2009, 08:44 AM
code:  <telerik:RadCalendar runat="server" ID="RadCalendar1" Skin="Default" AutoPostBack="true" EnableEmbeddedSkins="false"
                            EnableMultiSelect="false" DayNameFormat="FirstTwoLetters" EnableNavigation="true"
                            EnableMonthYearFastNavigation="false"> </telerik:RadCalendar>
 <telerik:RadScheduler ....
 <AdvancedEditTemplate  >
                       <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit" Subject='<%# Bind("Subject") %>'
                    Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'
                     UserID='<%# Bind("User") %>'  AppointmentTypeID='<%# Bind("AppointmentType") %>'/>
                            </AdvancedEditTemplate>
 </telerik:RadScheduler>

when i close the  AdvancedEditTemplate i saw the style change to default

6 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Nov 2009, 11:08 AM
Hello wei,

We tested this scenario locally, but we could not replicate the problem. Can you make sure that you register the RadCalendar custom skin in the same way as that for RadScheduler. For example:

<link rel="stylesheet" type="text/css" href="../MyCustomSkin/Scheduler.MyCustomSkin.css" />
   <link href="../MyCustomSkin/Calendar.MyCustomSkin.css" rel="stylesheet" type="text/css" />


Regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
wei sy
Top achievements
Rank 1
answered on 18 Nov 2009, 02:42 AM
maybe i use the skin='default'  that already exists 
0
Peter
Telerik team
answered on 19 Nov 2009, 03:45 PM
Hi wei,

Can you send us the entire code of your implementation?

Kind regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
wei sy
Top achievements
Rank 1
answered on 23 Nov 2009, 08:22 AM
 <link href="../Include/CSS/Calendar.Default.css" rel="stylesheet"
    type="text/css" />
<link href="../Include/CSS/Scheduler.css" rel="stylesheet" type="text/css" />
<link href="../Include/CSS/Scheduler.Default.css" rel="stylesheet"
    type="text/css" />
<telerik:RadScheduler ID="RadScheduler1" runat="server" DataEndField="End" EnableEmbeddedSkins="false"
                                Skin="Default" DataKeyField="ID" DataStartField="Start" DataSubjectField="Subject"
                                DayStartTime="06:00:00" DayEndTime="23:00:00" SelectedView="DayView"....>
 <AdvancedForm Modal="true" />
<AdvancedEditTemplate  >
                       <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit" Subject='<%# Bind("Subject") %>'
                    Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'
                     UserID='<%# Bind("User") %>'  AppointmentTypeID='<%# Bind("AppointmentType") %>'/>
                            </AdvancedEditTemplate> 
</telerik:RadScheduler>
0
Peter
Telerik team
answered on 23 Nov 2009, 02:07 PM
Hello wei,

Please, test the attached demo. Can you modify it so that the problem can be replicated and send it back to us?


Regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
wei sy
Top achievements
Rank 1
answered on 24 Nov 2009, 03:48 AM
i changed calendar .default.css ,schedule.default.css to shcedule.myskin.css ,calendar .myskin.css , then marked the skin='myskin' in .aspx and skin='default' in AdvancedForm.ascx ,now it looks fine.
Tags
Scheduler
Asked by
wei sy
Top achievements
Rank 1
Answers by
Peter
Telerik team
wei sy
Top achievements
Rank 1
Share this question
or