I have deployed a WebMonthView that displays multiple resources. When a user clicks one of these resources, I need to determine (via server side code) which resource was clicked/chosen. That is, I need to determine which resource is becoming “active”.
Looking at the following values, I can determine the WebScheduleInfo control submitted the request to set the active resource, but I can’t figure out how to determine the ActiveResource value (or name) itself.
Request.Params.Get("__EVENTTARGET”) = "ctl00$ctl00$ContentPlaceHolder_Body$ContentPlaceHolder_Body$ScheduleInfo"
Request.Params.Get("__EVENTARGUMENT") = "SetActiveResource:ActiveResource"
Any ideas how I can capture the active resource name?
Hello Jason,
It has been some time since your post but in case that you still need assistance I will be happy to help.
I suggest that you get the WebScheduleInfo’s property ActiveResourceName.
If you have any other questions please feel free to contact me.