
I'm using the same functionality as outlined in "RadGrid bound to WCF Web Service" sample. In that sample the client binding section is as such
<ClientSettings>
<DataBinding SelectMethod="GetDataAndCount" Location="GridWcfService.svc"
SortParameterType="Linq" FilterParameterType="Linq">
</DataBinding>
</ClientSettings>
However I have a need to send extra parameters in that GetDataAndCount() function. I don't see any way to intercept this call on the client side and provide the necessary information.
Can you please advise?
5 Answers, 1 is accepted
In order to pass additional parameters when using declarative data binding, you should use client-side DataBinding event. Please refer to this online example for more details on how to achieve this (there is a sample code in the handlers implementation which demonstrates the needed steps).
Regards,
Rosen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.

We are using Q3 2009 ASP.NET Ajax Rad Controls and we get the same error when we use
<FONT color=#2b91af size=2> |
<P>RadGrid</FONT><FONT size=2>.GetBindingData</FONT></P> |
Question Is : Is this method directly available for us to call or do we have to define this method?
We have reference for Telerik.Web.UI, what else is needed?
Appreciate your quick reply,
Thanks,
Sathyan
In order to use RadGrid's static GetBindingData method you should use RadControls for ASP.NET AJAX assemblies build against .NET 3.5. For more information on assemblies versions please refer to this help topic http://www.telerik.com/help/aspnet-ajax/using-radcontrols-net20-30-35-projects-vs2008.html
Sincerely yours,
Rosen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.


I've used the code as described and cannot get it to work.
// construct your own arguments
// var myMethodArguments = new Object();
// myMethodArguments.myArgumentName = "myArgumentValue";
// args.set_methodArguments(myMethodArguments);
I'm using a WebMethod I want to pass additional arguments to the web methods.
[WebMethod(EnableSession = true)]
public Dictionary<
string
, object> GetApplicationQuotes(int startRowIndex, int maximumRows, string sortExpression, string filterExpression, object myMethodArguments)
{
.....
}
Thank you,
James