Print Page | Close Window

IsEditOperationDisabled event

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=9523
Printed Date: 07 October 2024 at 11:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: IsEditOperationDisabled event
Posted By: ericl
Subject: IsEditOperationDisabled event
Date Posted: 07 February 2008 at 9:50am

Hello,

I'm trying to use the IsEditOperationDisabled event to get information on the event the user edits. I can't enable this event because visual studio 2007 gives me some errors. I've just made some changes in the CalendarControl c# sample.

Here is a sample code :


private void wndCalendarControl_IsEditOperationDisabled(object sender, AxXtremeCalendarControl._DCalendarControlEvents_IsEditOperationDisabledEvent e)
{
    if (e.opParams.Operation == CalendarEditOperation.xtpCalendarEO_DragResizeEnd)
    {
         int iTheID = e.opParams.DraggingEvent.Id; // Here the errors are shown
    }
}


The errors i show in the output window :

A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

Can anyone help me ?!
The IsEditOperationDisabled event documentation seems to tell i can do that...?!

Thanks a lot
eric l.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net