I am trying to deploy ASPXCalendar within the dotnetnuke framework 4.9
I can get the initial page to load, however when I try to add an appointment or go to a date I get the following error.
‘ASPXLabel’ is ambiguous in the Namespace DevExpress.Web.AspxEditors.
Do I need to change anything in the code behind of the “ASPXSchedulerForms” to get it to work in DotNetNuke.
These are the files that I used to display the initial page – which works(See attached)
default.ascx
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="default.ascx.vb" Inherits="DesktopModules_AgentCalendar_default" %>
<%@ Register Assembly="DevExpress.Web.ASPxScheduler.v8.2, Version=8.2.3.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
Namespace="DevExpress.Web.ASPxScheduler" TagPrefix="dxwschs" %>
<%@ Register Assembly="DevExpress.XtraScheduler.v8.2.Core, Version=8.2.3.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
Namespace="DevExpress.XtraScheduler" TagPrefix="cc1" %>
<dxwschs:ASPxScheduler ID="ASPxScheduler1" runat="server" AppointmentDataSourceID="AgentsCalendar" ResourceDataSourceID="AgentsCalendar" Start="2008-10-20">
<Storage>
<Resources>
<Mappings Caption="ResourceName" Color="Color" Image="Image" ResourceId="Type" />
</Resources>
<Appointments>
<Mappings AllDay="AllDay" AppointmentId="Color" Description="Description" End="EndDate"
Label="Label" Location="Location" RecurrenceInfo="RecurrenceInfo" ReminderInfo="ReminderInfo"
ResourceId="ResourceID" Start="StartDate" Status="Status" Subject="Subject" Type="Type" />
</Appointments>
</Storage>
<Views>
<WorkWeekView>
<TimeRulers>
<cc1:TimeRuler>
</cc1:TimeRuler>
</TimeRulers>
</WorkWeekView>
<DayView>
<TimeRulers>
<cc1:TimeRuler>
</cc1:TimeRuler>
</TimeRulers>
</DayView>
</Views>
</dxwschs:ASPxScheduler>
<asp:SqlDataSource ID="AgentsCalendar" runat="server" ConnectionString="<%$ ConnectionStrings:SiteSqlServer %>"
SelectCommand="SELECT AgentAppointments.*, AgentResources.* FROM AgentAppointments INNER JOIN AgentResources ON AgentAppointments.UniqueID = AgentResources.UniqueID">
</asp:SqlDataSource>
default.ascx.vb
Imports DotNetNuke
Imports DotNetNuke.Common
Imports DotNetNuke.Common.Utilities
Imports DotNetNuke.Services.Exceptions
Imports DotNetNuke.Services.Localization
Imports DotNetNuke.Entities.Modules
Imports DotNetNuke.Entities.Users
Imports DotNetNuke.Security
Imports DotNetNuke.Security.Roles
Imports DotNetNuke.Security.Membership
Imports System.Web.UI
Imports System.Collections.Generic
Imports System.Reflection
Imports DotNetNuke.Security.PortalSecurity
Partial Class DesktopModules_AgentCalendar_default
Inherits Entities.Modules.PortalModuleBase
End Class