ASPXScheduler无法触发更新和删除方法

时间:2012-06-20 08:57:40

标签: c# asp.net devexpress objectdatasource scheduler

我有一个ASPXShceduler绑定了对象数据源。它工作正常,但当我将其更改为过去并尝试删除或更新ObjectDataSource时,方法不会被触发。当我改变,如果再回来它的工作......任何想法是什么问题?

<dxwschs:ASPxScheduler 
                ID="AppointmentsSchaduler" 
                ClientInstanceName="AppointmentsSchaduler"
                runat="server" 
                AppointmentDataSourceID="AppointmentsDataSource" 
                ActiveViewType="TimeLine">
                <Storage EnableReminders="False">
                    <Appointments>
                        <Mappings AppointmentId="ID" Subject="Caption" Description="Note" Label="MarkAsDone"
                            Start="StartDate" End="EndDate" />
                        <labels>
                            <dxwschs:AppointmentLabel Color="255, 194, 190" DisplayName="Not Done" MenuCaption="&amp;Not Done" />
                            <dxwschs:AppointmentLabel Color="193, 244, 156" DisplayName="Done" MenuCaption="&amp;Done"  />
                        </labels>
                    </Appointments>
                </Storage>
            </dxwschs:ASPxScheduler>

1 个答案:

答案 0 :(得分:1)

您是否尝试过基于Devexpress页面的演示?这种情况有3个在线演示。他们使用DemoDataSource

Customization - Custom ToolTip

Miscellaneous - End-User Restrictions

Templates - Resource Headers

Devexpress TV上还有4 videos,但您应该先仔细阅读ASPxScheduler documentation