I am currently tieing the RadScheduler to a datasource but once I have it up, I cannot seem to do an insert. Nothing happens.
As such, I cannot see how the delete and update work. Below is what I have for the .aspx file:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RadScheduler.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
script
runat
=
"server"
>
protected void Button1_Click(object sender, EventArgs e)
{
}
</
script
>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
>
</
div
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
Runat
=
"server"
>
</
telerik:RadScriptManager
>
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
DataEndField
=
"DataEndField"
DataKeyField
=
"DataKeyField"
DataSourceID
=
"SqlDataSource3"
DataStartField
=
"DataStartField"
DataSubjectField
=
"DataSubjectField"
>
</
telerik:RadScheduler
>
<
asp:SqlDataSource
ID
=
"SqlDataSource3"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:Scheduler %>"
SelectCommand="SELECT [DataKeyField], [DataSubjectField], [DataStartField], [DataEndField] FROM [Sched]">
</
asp:SqlDataSource
>
<
br
/>
</
form
>
</
body
>
</
html
>
Below is my aspx.cs file content:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Collections;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
using System.Data;
using System.Web.UI.HtmlControls;
namespace AjaxRND
{
public partial class RadScheduler : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
Thank you in advance