You can pass a custom parameter to the WebService method by following these steps:
- Attach a handler to the client event OnClientItemsRequesting and implement it as demonstrated below:
The string "value" will be passed to the parameter argument of the WebService method, when a request is made.
- Then you can get the value in the WebService as shown in the following code sample:
Please note that the name of the argument should be kept the same, in order to ensure proper functionality.
All the best,
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed