or
<telerik:RadGrid ID="gdvPendenteAtendimento" runat="server" Width="99%" Height="480px" PageSize="10" CellSpacing="0" GridLines="None" Skin="Office2010Silver" AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="true" OnItemDataBound="gdvPendenteAtendimento_ItemDataBound" OnItemCommand="gdvPendenteAtendimento_ItemCommand" AlternatingItemStyle-CssClass="alt-color" AutoGenerateColumns="False" ShowFooter="True" OnCustomAggregate="gdvPendenteAtendimento_CustomAggregate">'Sys.Application' is null or not an object<telerik:RadWindowManager ID="RadWindowManager1" runat="server" KeepInScreenBounds="True" Behaviors="Close" DestroyOnClose="True" style="z-index: 9000" Title="Open Report" InitialBehaviors="Maximize" Height="25px" MinHeight="20px" > </telerik:RadWindowManager><telerik:RadScheduler ID="radSchedulerMain" Height="100%" runat="server" EnableExactTimeRendering="true" ShowAllDayRow="False" ShowHeader="true" ShowFooter="False" StartEditingInAdvancedForm="true" StartInsertingInAdvancedForm="true" OverflowBehavior="Expand" EnableDescriptionField="False" WorkDayStartTime="00:00" WorkDayEndTime="23:59" OnClientFormCreated="schedulerFormCreated2" SelectedView="WeekView" ShowFullTime="True" ProviderName="TestSchedulerDataProvider" MinutesPerRow="60" TimeLabelRowSpan="1" onappointmentspopulating="radSchedulerMain_AppointmentsPopulating" OnAppointmentUpdate="radSchedulerMain_AppointmentUpdate" OnAppointmentInsert="radSchedulerMain_AppointmentInsert" OnAppointmentDelete="radSchedulerMain_AppointmentDelete" OnFormCreated="radSchedulerMain_FormCreated" OnNavigationComplete="radSchedulerMain_NavigationComplete" > <AdvancedForm Modal="True"></AdvancedForm> <TimelineView UserSelectable="false" /> <DayView EnableExactTimeRendering="true" /> <WeekView EnableExactTimeRendering="true" /> <MonthView ReadOnly="True" /> <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings> <TimeSlotContextMenus> <telerik:RadSchedulerContextMenu ID="schedulerMainTimeSlotContextMenu" runat="server"> <Items> <telerik:RadMenuItem Text="New Schedule Segment" Value="CommandAddAppointment" /> </Items> </telerik:RadSchedulerContextMenu> </TimeSlotContextMenus> <Localization AdvancedEditAppointment="Edit Schedule Segment" AdvancedNewAppointment="New Schedule Segment" /> <AppointmentTemplate> <div> <%#Eval("Subject")%> <%#Eval("Description")%> </div> </AppointmentTemplate> <AdvancedEditTemplate> <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit" Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' /> </AdvancedEditTemplate> <AdvancedInsertTemplate> <scheduler:AdvancedForm runat="server" ID="AdvancedInsertForm1" Mode="Insert" Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' /> </AdvancedInsertTemplate></telerik:RadScheduler>if (someCondition) Title = "<span style='color:red'>" + blah + "</span>";else if (someOtherCondition) Title = "<span style='color:green' onclick='doSomething();'>" + blah + "</span>";else Title = blah;System.Xml.XmlException: There are multiple root elements
Do you know this issue ?