修改 AppointmentFormExPT.ascx 中的 控件 edtResource,添加事件 ondatabound

<dxe:ASPxComboBox  ID="cbReminder" ClientInstanceName="_dxAppointmentForm_cbReminder" runat="server" Width="100%" 
                       DataSource='<%# ((AppointmentFormTemplateContainer)Container).ReminderDataSource %>'
                       ondatabound="edtResource_DataBound" />

 

protected void edtResource_DataBound(object sender, EventArgs e)
       {
           edtResource.Items.RemoveAt(0);
       }

相关文章: