in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

ASPXScheduler Dotnetnuke error - ‘ASPXLabel’ is ambiguous

Last post 11/6/2008 12:10 PM by Eddie Shipman. 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
Previous Next
  • 10/20/2008 3:05 PM

    ASPXScheduler Dotnetnuke error - ‘ASPXLabel’ is ambiguous

    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

  • 11/6/2008 12:10 PM In reply to

    Re: ASPXScheduler Dotnetnuke error - ‘ASPXLabel’ is ambiguous

    You might get better responses if you post to the ASPXScheduler group here:

    http://community.devexpress.com/forums/198.aspx

     

    I made the same mistake, I posted one for XtraScheduelr in the ASPXScheduler group.

     

Page 1 of 1 (2 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED