Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
WebScheduleInfo Client-Side Events: How do I get the "Key" of the activity being updated?
posted

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://es.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

Parents
No Data
Reply
  • 1160
    Verified Answer
    posted

    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.

Children