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
255
Determining ActiveResource on WebMonthView
posted

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?

Parents
No Data
Reply
  • 37874
    posted

    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.

Children
No Data