I am working with Infragistics35.WebUI.WebSchedule.v8.2. I am not seeing any good documentation on this on the Infragistics Web site. Does anyone have any sample code I could see? I am trying to create a week view of the calendar. One that "Admins" can edit and the rest of the users can only view. I would love to have a different dblclick event fire based on role, so that a read only version of the activity would show for non admins. Is that possible? I'm just using an access db on the site in the App_Data directory. I really just needed (I thought) an out of the box solution. Cheers.
There are samples with source code.
https://es.infragistics.com/samples/aspnet/schedule/overview
(I'm sorry that that is the 2010 Vol. 1 samples, we take down our older samples with each release; but in the WebSchedule section, everything above "Multiple Resources" (that was added in 9.2) is a sample that has existed since 2008 Vol. 2.)
You should be able to download the samples for 2008 Vol. 2 from the My Keys and Downloads section of our web site if you login with the member ID to which you have registered your product key. I'm not positive, but Samples may have been available in a separate download in 2008, such that it was possible for you to download the product only, and docs/samples separately. This had been done in an effort to reduce the large download sizes some users faced.
As far as having a read-only view and "roles," WebSchedule does not natively support these concepts. A read-only view would probably require some changes to selectively enable/disable controls and/or WebToolbar buttons on the WebSchedule AddAppointment form.
As far as the double click event, you are right that you can only specify one JavaScript function to be called. However, your JavaScript function could always conditionally switch between performing two different behaviors, one for Admins and another for non-Admins (how you would distinguish whether the LoggedOnUserName was an Admin or not would be application-defined.)
HTH,
I've been looking for a method to open a read only version of an activity, but can't find an obvious way. My goal is to have the data entry be for admins only (on a different page). And have a page for users to just see the events. Is there a way to get the double click event on the event to just open up a read only dialog?