using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Telerik.Web.UI;


public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
            RadScheduler scheduler1 = new RadScheduler();
            
            scheduler1.DataEndField="End" ;
            scheduler1.DataKeyField="ID";
            scheduler1.DataRecurrenceField="RecurrenceRule" ;
            scheduler1.DataRecurrenceParentKeyField="RecurrenceParentID" ;
            scheduler1.DataSourceID="SqlDataSource1" ;
            scheduler1.DataStartField="Start" ;
            scheduler1.DataSubjectField="Subject";

            PlaceHolder1.Controls.Add(scheduler1);
            scheduler1.DataBind();

            RadAjaxManager1.AjaxSettings.AddAjaxSetting(scheduler1, scheduler1, null);
    }
}

