I want to use load-on-demand with a web service to filter the results of my combo box as the user types in it. I have looked at the example here:
The example works fine if I only want to filter the results according to the text the user has typed. However I also need to be able to access other criteria from the user session with which to filter the data. Specifically, I need to know who the user is logged in as, so I can pre-filter the results based on which ones they are allowed to see. Their userid is held in Session state and I need to be able to retrieve it in order to narrow the results further.
The RadComboBoxContext has no property which allows me to get at the Session state, so how can I do so from within the web service method? I have seen posts elsewhere which suggest adding custom data to the context, but how is this done? How do I get my Session state data into the context in the first place?