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

Radschedular

6 Answers 60 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 05 Apr 2011, 11:07 AM
When I add an event to the schedular and click the save button, it does not show the event i just enter,
can someone help me?

6 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Apr 2011, 12:03 PM
Hello Kaith,

I am not sure about the way you attached the event. One approach is to attach AppointmentCreated event.

Take a look at the following help article for more on this.
http://www.telerik.com/help/aspnet-ajax/scheduler-events.html

Thanks,
Shinu.
0
Keith
Top achievements
Rank 1
answered on 06 Apr 2011, 03:55 AM
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        DeleteCommand="DELETE FROM [AppointmentData] WHERE [ID] = @ID"
        InsertCommand="INSERT INTO [AppointmentData] ([ID], [StartTime], [EndTime], [Subject]) VALUES (@ID, @StartTime, @EndTime, @Subject)"
        SelectCommand="SELECT * FROM [AppointmentData]"
        
        UpdateCommand="UPDATE [AppointmentData] SET [StartTime] = @StartTime, [EndTime] = @EndTime, [Subject] = @Subject WHERE [ID] = @ID">
        <DeleteParameters>
            <asp:Parameter Name="ID" Type="Int32" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="ID" Type="Int32" />
            <asp:Parameter Name="StartTime" Type="DateTime" />
            <asp:Parameter Name="EndTime" Type="DateTime" />
            <asp:Parameter Name="Subject" Type="String" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="StartTime" Type="DateTime" />
            <asp:Parameter Name="EndTime" Type="DateTime" />
            <asp:Parameter Name="Subject" Type="String" />
            <asp:Parameter Name="ID" Type="Int32" />
        </UpdateParameters>
    </asp:SqlDataSource>
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="200px"
        width="955px">
        <telerik:RadScheduler runat="server" ID="RadScheduler1" DataEndField="EndTime" DataKeyField="ID"
    DataSourceID="SqlDataSource1" DataStartField="StartTime"
    DataSubjectField="Subject" Height="468px" Skin="Web20">
        </telerik:RadScheduler>
    </telerik:RadAjaxPanel>
    </form>
</body>
</html>

0
Keith
Top achievements
Rank 1
answered on 06 Apr 2011, 04:09 AM
After reviewing the link that you told me to review I add the eventhandlers, the eventhandlers are firing via the AppointmentInsert but, when I click save I d'ont see the description I just saved. And also the data is not being save in the database or datasoure
0
Veronica
Telerik team
answered on 06 Apr 2011, 09:27 AM
Hello Keith,

Could you please send me your project so I can inspect it and help you?

Thank you!

Regards,
Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Roopesh
Top achievements
Rank 1
answered on 27 Apr 2011, 07:29 AM
I have created a user control  and  placed a  RadScheduler in it. When Its dragged on to a content page,Only the first time all  events  are working fine then after a reload or postback scheduler stucks.But in a normal page it works fine.The problem causes  under master pages only.
0
Veronica
Telerik team
answered on 27 Apr 2011, 02:53 PM
Hi Roopesh,

Could you please open a new Support thread and attach the full code so I can inspect it and help you?

Thank you!

Kind regards,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Scheduler
Asked by
Keith
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Keith
Top achievements
Rank 1
Veronica
Telerik team
Roopesh
Top achievements
Rank 1
Share this question
or