Update: Cannot edit thread title: should be 'RadScheduler in RadWindow problem'
Consider the following aspx form:
Whenever I do anything in the RadScheduler, the RadWindow closes.
Reopening the RadWindow shows the RadScheduler in the correct state. For example, the following happens:
1. Click button to open the RadWindow1 (which contains the RadScheduler). RadScheduler1 loads properly and shows the appointments.
2. Double-Click a day to add a new appointment.
3. RadWindow Closes - why?
4. Click button to open RadWindow1
5. RadWindow opens with the RadScheduler displaying the New Appointment form (which has rendered incorrectly with overlapping controls - why?).
6. Cancel the New Appointment
7. RadWindow closes again.
NB - The contents of MyDialog.aspx is not being displayed in the RadWindow, but I assume that this is correct behavior for my implementation?
Please respond asap as I have spent too much time on what I think should be a simple task.
Regards
Consider the following aspx form:
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista"> <Windows> <telerik:RadWindow runat="server" Behavior="Default" InitialBehavior="None" AutoSize="true" Left="0px" NavigateUrl="http://www.safc.com" OffsetElementID="btnDialog" OpenerElementID="btnALS" Title="Sunderland AFC Website" Top="30px" VisibleStatusbar="False"> </telerik:RadWindow> <telerik:RadWindow ID="rwDialog" runat="server" Behavior="Close, Move" Behaviors="Close, Move" InitialBehavior="None" Modal="True" NavigateUrl="MyDialog.aspx" OpenerElementID="btnDialog" AutoSize="true" Width="500px"> <ContentTemplate> <telerik:RadScheduler ID="RadScheduler1" runat="server" DataDescriptionField="App_Description" DataEndField="App_End" DataKeyField="JobID" DataRecurrenceField="App_RecurrenceRule" DataRecurrenceParentKeyField="App_RecurrenceParentID" DataSourceID="Jobs" DataStartField="App_Start" DataSubjectField="App_Subject" StartInsertingInAdvancedForm="True" SelectedView="MonthView" Width="500px"> </telerik:RadScheduler> <asp:SqlDataSource ID="Jobs" runat="server" ConnectionString="<%$ ConnectionStrings:Default %>" DeleteCommand="" InsertCommand="" SelectCommand="" UpdateCommand=""> <DeleteParameters> <asp:Parameter Name="JobID" Type="Int32" /> </DeleteParameters> <InsertParameters> <asp:Parameter Name="App_Subject" Type="String" /> <asp:Parameter Name="App_Description" Type="String" /> <asp:Parameter Name="App_Start" Type="DateTime" /> <asp:Parameter Name="App_End" Type="DateTime" /> <asp:Parameter Name="App_LocationID" Type="Int32" /> <asp:Parameter Name="App_RecurrenceRule" Type="String" /> <asp:Parameter Name="App_RecurrenceParentID" Type="Int32" /> <asp:Parameter Name="App_Reminder" Type="String" /> <asp:Parameter Name="App_TechnicianID" Type="Int32" /> <asp:Parameter Name="App_Annotations" Type="String" /> </InsertParameters> <UpdateParameters> <asp:Parameter Name="App_Subject" Type="String" /> <asp:Parameter Name="App_Description" Type="String" /> <asp:Parameter Name="App_Start" Type="DateTime" /> <asp:Parameter Name="App_End" Type="DateTime" /> <asp:Parameter Name="App_LocationID" Type="Int32" /> <asp:Parameter Name="App_RecurrenceRule" Type="String" /> <asp:Parameter Name="App_RecurrenceParentID" Type="Int32" /> <asp:Parameter Name="App_Reminder" Type="String" /> <asp:Parameter Name="App_TechnicianID" Type="Int32" /> <asp:Parameter Name="App_Annotations" Type="String" /> </UpdateParameters> </asp:SqlDataSource> </ContentTemplate> </telerik:RadWindow> <telerik:RadWindow ID="RadWindow1" runat="server"> <ContentTemplate> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Click me" OnClick="Button1_Click" /> </ContentTemplate> </telerik:RadWindow> </Windows> </telerik:RadWindowManager>Whenever I do anything in the RadScheduler, the RadWindow closes.
Reopening the RadWindow shows the RadScheduler in the correct state. For example, the following happens:
1. Click button to open the RadWindow1 (which contains the RadScheduler). RadScheduler1 loads properly and shows the appointments.
2. Double-Click a day to add a new appointment.
3. RadWindow Closes - why?
4. Click button to open RadWindow1
5. RadWindow opens with the RadScheduler displaying the New Appointment form (which has rendered incorrectly with overlapping controls - why?).
6. Cancel the New Appointment
7. RadWindow closes again.
NB - The contents of MyDialog.aspx is not being displayed in the RadWindow, but I assume that this is correct behavior for my implementation?
Please respond asap as I have spent too much time on what I think should be a simple task.
Regards
