When click recurrence checkbox, recurrence Panel is not stable to display. Please see attached screen. When move mouse around to Save button area, it display again. I even tried to use JQuery toggle function make it work, but it is still same problem. Please help.
Thanks!
7 Answers, 1 is accepted
Please help, Thanks.
I have tested this issue locally by could not observe any unusual behavior. I am attaching my test project so please review it and if you still can't fix it please let us know what else should be added to this project in order to reproduce the same behavior.
Hope this will be helpful.
Plamen Zdravkov
the Telerik team
var $block = $telerik.$('#RecurrencePanel');
$telerik.$('#RecurrentAppointment').on('click', function () {
$block.stop().slideToggle(1000);
});
Do you have any idea how I can fix it? Thanks.
This is a quite unusual behavior indeed. Would you please let us know what is the difference between your project and the one I attached in the previous post so we can reproduce the issue locally and provide you with the appropriate solution?
If there is huge difference would you please let us know as well if there is any particular reason why you do not use the code the we recommend?
Plamen Zdravkov
the Telerik team
You can recreate this problem when you add <AdvancedInsertTemplate> or <AdvancedEditTemplate> in RadScheduler like below:
<
telerik:RadScheduler runat="server" ID="RadScheduler1"
StartInsertingInAdvancedForm="true"
AdvancedForm-Enabled="true"
StartEditingInAdvancedForm="true"
onappointmentupdate="RadScheduler1_AppointmentUpdate"
onappointmentinsert="RadScheduler1_AppointmentInsert1" onformcreated="RadScheduler1_FormCreated"
Height="600px" Width="800px"
EnableRecurrenceSupport="true" >
<AdvancedInsertTemplate>
<asp:Label ID="Label1" runat="server" >Subject: </asp:Label>
<telerik:RadTextBox ID="idSubject" runat="server" Text='<%#Bind("Subject") %>' /><br />
<telerik:RadSchedulerRecurrenceEditor ID="RecurrenceEditor1" runat="server">
</telerik:RadSchedulerRecurrenceEditor><br />
<asp:LinkButton ID="lk" runat="server" CommandName="Update" ><br />Save</asp:LinkButton>
</AdvancedInsertTemplate>
<AdvancedEditTemplate>
<asp:Label ID="Label1" runat="server" >Subject: </asp:Label>
<telerik:RadTextBox ID="idSubject" runat="server" Text='<%#Bind("Subject") %>' /><br />
<telerik:RadSchedulerRecurrenceEditor ID="RecurrenceEditor1" runat="server">
</telerik:RadSchedulerRecurrenceEditor><br />
<asp:LinkButton ID="lk" runat="server" CommandName="Update" >Update</asp:LinkButton>
</AdvancedEditTemplate>
</telerik:RadScheduler>
After add <telerik:RadSchedulerRecurrenceEditor ID="RecurrenceEditor1" runat="server">
</telerik:RadSchedulerRecurrenceEditor>
in <AdvancedInsertTemplate> or <AdvancedEditTemplate>, it has the same problem when you insert or update appointment to select recurrence checkbox. Please try it, you may see what happens and have some ideas.
Thanks!
I have tested the code that you sent us but unfortunately could not observe the unusual behavior once again. Here is a video of my test. If you want to implement a properly working Recurrence editor in the Advanced Form we strongly recommend using an user control and following the code from this demo and keep all the classes set in the AdvancedFormCS.ascx files because they are used in some of the internal functionality of RadScheduler.
Hope this will explain the issue.
Plamen Zdravkov
the Telerik team