I'm having some trouble trying to test your Schduler control. I'm able to place the control on a page configured the following controls (RadScriptManager, SqlDataSource & AJAX Manager).
The page renders only the top have of the Scheduler Control showing the Day/Week/Month choices but then everything else is blank below. Any clues as to what I'm doing wrong?
There's a script error indicating the following errors:
Line: 8
Char: 1
Error: 'Type is underfined
Code: 0
~~~~~~~~
Line: 43
Char:1
Error: Sys is undefined
Code:0
~~~~~~~~
Line: 368
Char: 4
Error: "Telerik is undefined
code:0
The page renders only the top have of the Scheduler Control showing the Day/Week/Month choices but then everything else is blank below. Any clues as to what I'm doing wrong?
There's a script error indicating the following errors:
Line: 8
Char: 1
Error: 'Type is underfined
Code: 0
~~~~~~~~
Line: 43
Char:1
Error: Sys is undefined
Code:0
~~~~~~~~
Line: 368
Char: 4
Error: "Telerik is undefined
code:0
4 Answers, 1 is accepted
0
Hello Mike,
You may be experiencing the problem described in this blog post:
http://blogs.telerik.com/AtanasKorchev/Posts/07-05-20/On_closing_IFRAME_tags.aspx
Regards,
Albert
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You may be experiencing the problem described in this blog post:
http://blogs.telerik.com/AtanasKorchev/Posts/07-05-20/On_closing_IFRAME_tags.aspx
Regards,
Albert
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Mike
Top achievements
Rank 1
answered on 22 Feb 2008, 05:59 PM
Hi Albert,
Thanks for your reply, however I don't think the iFrame issues is what I'm running into since I'm not using iFrames.
Here's the content of the aspx page, which was created by just dragging the Scheduler Control on a blank page and setting up the other required controls.
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">
</telerik:RadScriptManager>
<div>
<telerik:RadScheduler ID="RadScheduler1" runat="server" AllowDelete="True" AllowEdit="True"
AllowInsert="True" DataEndField="EndDate" DataKeyField="EventID" DataRecurrenceField="Reoccur"
DataRecurrenceParentKeyField="ReID" DataSourceID="SqlDataSource1" DataStartField="StartDate"
DataSubjectField="Subject" FirstDayOfWeek="Sunday" LastDayOfWeek="Saturday" OverflowBehavior="Scroll"
SelectedView="MonthView">
</telerik:RadScheduler>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SBTConnectionString %>"
DeleteCommand="DELETE FROM [Events] WHERE [EventID] = @EventID" InsertCommand="INSERT INTO [Events] ([StartDate], [EndDate], [Subject], [Reoccur], [ReID]) VALUES (@StartDate, @EndDate, @Subject, @Reoccur, @ReID)"
SelectCommand="SELECT * FROM [Events]" UpdateCommand="UPDATE [Events] SET [StartDate] = @StartDate, [EndDate] = @EndDate, [Subject] = @Subject, [Reoccur] = @Reoccur, [ReID] = @ReID WHERE [EventID] = @EventID">
<DeleteParameters>
<asp:Parameter Name="EventID" Type="Int32" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="StartDate" Type="DateTime" />
<asp:Parameter Name="EndDate" Type="DateTime" />
<asp:Parameter Name="Subject" Type="String" />
<asp:Parameter Name="Reoccur" Type="String" />
<asp:Parameter Name="ReID" Type="Int32" />
<asp:Parameter Name="EventID" Type="Int32" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="StartDate" Type="DateTime" />
<asp:Parameter Name="EndDate" Type="DateTime" />
<asp:Parameter Name="Subject" Type="String" />
<asp:Parameter Name="Reoccur" Type="String" />
<asp:Parameter Name="ReID" Type="Int32" />
</InsertParameters>
</asp:SqlDataSource>
</div>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadScheduler1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
</form>
</body>
</html>
Thanks for your reply, however I don't think the iFrame issues is what I'm running into since I'm not using iFrames.
Here's the content of the aspx page, which was created by just dragging the Scheduler Control on a blank page and setting up the other required controls.
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">
</telerik:RadScriptManager>
<div>
<telerik:RadScheduler ID="RadScheduler1" runat="server" AllowDelete="True" AllowEdit="True"
AllowInsert="True" DataEndField="EndDate" DataKeyField="EventID" DataRecurrenceField="Reoccur"
DataRecurrenceParentKeyField="ReID" DataSourceID="SqlDataSource1" DataStartField="StartDate"
DataSubjectField="Subject" FirstDayOfWeek="Sunday" LastDayOfWeek="Saturday" OverflowBehavior="Scroll"
SelectedView="MonthView">
</telerik:RadScheduler>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SBTConnectionString %>"
DeleteCommand="DELETE FROM [Events] WHERE [EventID] = @EventID" InsertCommand="INSERT INTO [Events] ([StartDate], [EndDate], [Subject], [Reoccur], [ReID]) VALUES (@StartDate, @EndDate, @Subject, @Reoccur, @ReID)"
SelectCommand="SELECT * FROM [Events]" UpdateCommand="UPDATE [Events] SET [StartDate] = @StartDate, [EndDate] = @EndDate, [Subject] = @Subject, [Reoccur] = @Reoccur, [ReID] = @ReID WHERE [EventID] = @EventID">
<DeleteParameters>
<asp:Parameter Name="EventID" Type="Int32" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="StartDate" Type="DateTime" />
<asp:Parameter Name="EndDate" Type="DateTime" />
<asp:Parameter Name="Subject" Type="String" />
<asp:Parameter Name="Reoccur" Type="String" />
<asp:Parameter Name="ReID" Type="Int32" />
<asp:Parameter Name="EventID" Type="Int32" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="StartDate" Type="DateTime" />
<asp:Parameter Name="EndDate" Type="DateTime" />
<asp:Parameter Name="Subject" Type="String" />
<asp:Parameter Name="Reoccur" Type="String" />
<asp:Parameter Name="ReID" Type="Int32" />
</InsertParameters>
</asp:SqlDataSource>
</div>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadScheduler1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
</form>
</body>
</html>
0
Hello Mike,
RadScheduler requires an ajax-enabled web site to function properly. The errors which you receive, typically occur if one uses RadScheduler in a regular, non ajax-enabled web site. Could you please check if this is the cause of the problem for your case?
All the best,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
RadScheduler requires an ajax-enabled web site to function properly. The errors which you receive, typically occur if one uses RadScheduler in a regular, non ajax-enabled web site. Could you please check if this is the cause of the problem for your case?
All the best,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Mike
Top achievements
Rank 1
answered on 25 Feb 2008, 08:52 PM
Yes, thanks, the Ajax enabled web site solved the rendering issue, however now events don't seems to fire. I can change the Day/Week/Month, the Back/Forward arrows don't fire, also can't create any events. It seems like it hangs for 2-3 minutes then just returns back to the page..
I think this ends my testing on the for now. I'll wait for the release version instead of this BETA.
Thanks.
I think this ends my testing on the for now. I'll wait for the release version instead of this BETA.
Thanks.