RadScheduler in MVC sample project

Article Info

Rating: 5

Article information

Article relates to

 RadScheduler

Created by

 Tsvetomir, Telerik

Last modified

 January, 2012

Last modified by

 Peter, Telerik



The attached demo shows how to use RadScheduler in MVC. This is achieved with the Client Binding (Web Services) capability of RadScheduler. To run this demo you need to have installed ASP.NET MVC.

An updated sample for MVC 3 is added - SchedulerMVC3.zip.

Note that if RadScriptManager is placed in the master page (Views\Shared\Site.Master), it should be at the end of it.
 
Also, when intergrating a server control such as RadScheduler, you need to override VerifyRenderingInServerForm.

Views\Home\Index.aspx:
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
<script runat="server">
    public override void VerifyRenderingInServerForm(Control control)
    {
     
    }
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

Comments

If you'd like to comment on this KB article, please, send us a Support Ticket.
Thank you!

Please Sign In to rate this article.