or
<YAxis Color="#dddddd" Visible="false"> <MajorGridLines Color="#dddddd" /> <MinorGridLines Visible="false" /></YAxis><Series> <telerik:ColumnSeries Stacked="false"> <Appearance> <FillStyle BackgroundColor="#d5a2bb"></FillStyle> </Appearance> <LabelsAppearance Position="OutsideEnd"> <TextStyle FontSize="16px" FontFamily="Verdana" /> </LabelsAppearance> <TooltipsAppearance Visible="false" BackgroundColor="White" DataFormatString="{0}" /> <Items> <telerik:SeriesItem BackgroundColor="#a4b9bd" YValue="7300" /> <telerik:SeriesItem BackgroundColor="#fed473" YValue="6900" /> <telerik:SeriesItem BackgroundColor="#d8e782" YValue="5836" /> </Items> </telerik:ColumnSeries></Series>.rsAptDelete{ display: none !important;}

<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1" runat="server"> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <title></title> <style> .rsArrowLeft, .rsArrowRight { visibility: hidden; } </style></head><body class="stageCRM40" style="margin: 0px;"> <form id="frmGrid" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <div id="scheduler"> <telerik:RadScheduler ID="RadScheduler1" runat="server" AllowDelete="False" AllowEdit="False" AllowInsert="False" EnableDatePicker="False" ReadOnly="True" SelectedView="TimelineView" ShowNavigationPane="False" ShowViewTabs="False" ShowHeader="False" FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" Culture="German (Germany)" OnClientAppointmentDoubleClick="appDoubleClick" OnClientAppointmentContextMenuItemClicked="contextMenuClicked" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" RowHeaderWidth="150px" OverflowBehavior="Scroll"> <TimelineView ReadOnly="True" ShowInsertArea="False" /> <AppointmentContextMenuSettings EnableDefault="True" /> <AppointmentContextMenus> <telerik:RadSchedulerContextMenu runat="server" ID="appContextMenu"> <Items> </Items> </telerik:RadSchedulerContextMenu> </AppointmentContextMenus> </telerik:RadScheduler> </div> </form></body></html>class CustomAppTemplate : ITemplate { private int customLines = 0; public CustomAppTemplate(int customLines) { this.customLines = customLines; } public void InstantiateIn(Control container) { System.Web.UI.HtmlControls.HtmlGenericControl start = new System.Web.UI.HtmlControls.HtmlGenericControl("span"); start.DataBinding += new EventHandler(start_DataBinding); start.Style.Add("white-space", "nowrap"); container.Controls.Add(start); System.Web.UI.HtmlControls.HtmlGenericControl div = new System.Web.UI.HtmlControls.HtmlGenericControl("span"); div.InnerText = " - "; div.Style.Add("white-space", "nowrap"); container.Controls.Add(div); System.Web.UI.HtmlControls.HtmlGenericControl end = new System.Web.UI.HtmlControls.HtmlGenericControl("span"); end.DataBinding += new EventHandler(end_DataBinding); end.Style.Add("white-space", "nowrap"); container.Controls.Add(end); System.Web.UI.HtmlControls.HtmlGenericControl lineBreak2 = new System.Web.UI.HtmlControls.HtmlGenericControl("div"); container.Controls.Add(lineBreak2); System.Web.UI.HtmlControls.HtmlGenericControl subject = new System.Web.UI.HtmlControls.HtmlGenericControl("span"); subject.DataBinding += new EventHandler(subject_DataBinding); subject.Style.Add("white-space", "nowrap"); container.Controls.Add(subject); for (int i = 0; i < customLines - 1; i++) { System.Web.UI.HtmlControls.HtmlGenericControl lineBreak = new System.Web.UI.HtmlControls.HtmlGenericControl("div"); container.Controls.Add(lineBreak); System.Web.UI.HtmlControls.HtmlGenericControl customLine = new System.Web.UI.HtmlControls.HtmlGenericControl("span"); customLine.Style.Add("white-space", "nowrap"); customLine.DataBinding += customLine_DataBinding; customLine.InnerText = i.ToString(); container.Controls.Add(customLine); } } void subject_DataBinding(object sender, EventArgs e) { System.Web.UI.HtmlControls.HtmlGenericControl customLine = (System.Web.UI.HtmlControls.HtmlGenericControl)sender; IDataItemContainer aptContainer = (IDataItemContainer)customLine.BindingContainer; //Access the appointment object and set its AllowEdit property: Telerik.Web.UI.SchedulerAppointmentContainer aptCont = (Telerik.Web.UI.SchedulerAppointmentContainer)customLine.Parent; Telerik.Web.UI.Appointment app = aptCont.Appointment; app.AllowEdit = false; string strSubject = (string)DataBinder.Eval(aptContainer.DataItem, "Subject"); customLine.InnerText = strSubject; } void end_DataBinding(object sender, EventArgs e) { System.Web.UI.HtmlControls.HtmlGenericControl customLine = (System.Web.UI.HtmlControls.HtmlGenericControl)sender; IDataItemContainer aptContainer = (IDataItemContainer)customLine.BindingContainer; //Access the appointment object and set its AllowEdit property: Telerik.Web.UI.SchedulerAppointmentContainer aptCont = (Telerik.Web.UI.SchedulerAppointmentContainer)customLine.Parent; Telerik.Web.UI.Appointment app = aptCont.Appointment; app.AllowEdit = false; string strSubject = (string)DataBinder.Eval(aptContainer.DataItem, "scheduledend"); customLine.InnerText = strSubject + " "; } void start_DataBinding(object sender, EventArgs e) { System.Web.UI.HtmlControls.HtmlGenericControl customLine = (System.Web.UI.HtmlControls.HtmlGenericControl)sender; IDataItemContainer aptContainer = (IDataItemContainer)customLine.BindingContainer; //Access the appointment object and set its AllowEdit property: Telerik.Web.UI.SchedulerAppointmentContainer aptCont = (Telerik.Web.UI.SchedulerAppointmentContainer)customLine.Parent; Telerik.Web.UI.Appointment app = aptCont.Appointment; app.AllowEdit = false; string strSubject = (string)DataBinder.Eval(aptContainer.DataItem, "scheduledstart"); customLine.InnerText = strSubject; } private void customLine_DataBinding(object sender, EventArgs e) { System.Web.UI.HtmlControls.HtmlGenericControl customLine = (System.Web.UI.HtmlControls.HtmlGenericControl)sender; IDataItemContainer aptContainer = (IDataItemContainer)customLine.BindingContainer; //Access the appointment object and set its AllowEdit property: Telerik.Web.UI.SchedulerAppointmentContainer aptCont = (Telerik.Web.UI.SchedulerAppointmentContainer)customLine.Parent; Telerik.Web.UI.Appointment app = aptCont.Appointment; app.AllowEdit = false; int currentLine = Convert.ToInt32(customLine.InnerText); string strSubject = (string)DataBinder.Eval(aptContainer.DataItem, "additionalline" + currentLine.ToString()); if (strSubject.Contains("[LINK]")) { if (strSubject.IndexOf("[LINK]") + 6 == strSubject.Length) { customLine.InnerText = strSubject.Replace("[LINK]", ""); return; } strSubject = strSubject.Replace("[LINK]", ""); string[] links = strSubject.Split(new string[] { "|||" }, StringSplitOptions.RemoveEmptyEntries); strSubject = string.Empty; foreach (string link in links) { string[] values = link.Split(new string[] { "<|>" }, StringSplitOptions.RemoveEmptyEntries); strSubject += "<a href=\"" + values[1] + "\"target=\"_blank\">" + values[0] + "</a>, "; } strSubject = strSubject.TrimEnd(", ".ToCharArray()); customLine.InnerHtml = strSubject; } else customLine.InnerText = strSubject; } }
<ImageManager DeletePaths="~/App_Data/Classified/Images" ViewPaths="~/App_Data/Classified/Images" UploadPaths="~/App_Data/Classified/Images" />