Hi Experts,
I'm trying to handle the Client-Side Event "ActivityUpdating" for my WebScheduleInfo component. I need to know which activity is being updated so the "Key" or "DataKey" is required.
I read the following page carefully:
https://ko.infragistics.com/help/aspnet/webscheduleinfo-csom-overview
As it indicates, the client-side event "ActivityUpdating" has 5 parameters: scheduleInfo, evnt, activityUpdateProps, activity and id. I expected the parameter "activity" to have the "Key" or "DataKey" property but it doesn't.
The following javascript shows "undefined".
function WebScheduleInfo1_ActivityUpdating(oScheduleInfo, oEvent, oActivityUpdateProps, oActivity, id){ alert(oActivity.Key); }I also tried "key", "DataKey", "datakey" but still no good.
So, how do I identify which activity is being updated in Clieng-Side Event?
I am using version 2007.3.
Thanks,
Jungle
Look for a getDataKey() function like that. I use that in a few places on the website I created in the Java to get the key of the activity so that I could send it back to the server and get the data I was looking for.
Thanks a lot... It works.
But where can I find any detailed document for the client-side events?
I never found anything that was remotely detailed enough for me to really read to understand the CSOM but searching through the help files here usually leads you to what you are looking for in the end. Sometimes just have to do a bit of digging.