protected
void RadScheduler1_AppointmentDelete(object sender, SchedulerCancelEventArgs e)
{
code written for delete
}
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
this.RadScheduler1.AppointmentInsert += new AppointmentInsertEventHandler(RadScheduler1_AppointmentInsert);
this.RadScheduler1.AppointmentDelete += new AppointmentDeleteEventHandler(RadScheduler1_AppointmentDelete);
this.RadScheduler1.AppointmentUpdate += new AppointmentUpdateEventHandler(RadScheduler1_AppointmentUpdate);
this.RadScheduler1.AppointmentCreated += new AppointmentCreatedEventHandler(RadScheduler1_AppointmentCreated);
}
override
protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
|



DataImageUrlFields="Status"
DataImageUrlFormatString="~/Content/Images/Status/{0}.gif"
How can i change the image when the database value for Status is DBNULLif cell.text = DBNULL thenDataImageUrlFormatString="~/Content/Images/Status/waiting.gif"
end if
Thanks
<telerik:GridClientDeleteColumn UniqueName="TestDeleteColumn" HeaderText="Delete" HeaderStyle-Width="45" Text="Delete Invitation" ButtonType="ImageButton" ImageUrl="../Images/Delete.gif" ConfirmTitle="Delete?" ConfirmDialogType="RadWindow" ConfirmTextFields="PersonDisplay" ConfirmTextFormatString="Delete invited speaker {0}?" /> <telerik:GridButtonColumn UniqueName="DeleteColumn" ButtonType="ImageButton" CommandName="Delete" Text="Delete Speaker" ImageUrl="~/Images/Delete.gif" HeaderText="Delete" HeaderStyle-Width="45" ConfirmTitle="Delete?" ConfirmDialogType="RadWindow" ConfirmTextFields="PersonDisplay" ConfirmTextFormatString="Delete invited speaker {0}?" > <ItemStyle HorizontalAlign="Center" CssClass="CursorHand" /></telerik:GridButtonColumn>