This is a migrated thread and some comments may be shown as answers.

Declarative client-side data-binding with custom paramters

3 Answers 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Igor
Top achievements
Rank 1
Igor asked on 08 Dec 2010, 12:56 AM
Hi.

In documentation mentioned  that by default RadGrid will expect SelectMethod with four arguments with the following names and types:
  • int startRowIndex
  • int maximumRows
  • List<GridSortExpression> sortExpression
  • List<GridFilterExpression> filterExpression
How can i extend the default behavior by adding more parameters that i need additionally to these four?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Accepted
Tsvetoslav
Telerik team
answered on 10 Dec 2010, 10:37 AM
Hello Igor,

Please, leave the support discussion to the formal support ticket you have opened and close the current thread. Thanks for that.

Greetings,
Tsvetoslav
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Henrique Duarte
Top achievements
Rank 1
Veteran
answered on 19 Jan 2011, 01:48 PM
Guys,

I would love to see the awnser for that question.
Could you please provide me an example?

Best regards,

Henrique
0
Maria Ilieva
Telerik team
answered on 21 Jan 2011, 05:03 PM
Hi Igor,


You should use programmatic client-side binding and implement a custom web service method that takes as many parameters as required:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/databinding/defaultcs.aspx


All the best,
Maria Ilieva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Igor
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Henrique Duarte
Top achievements
Rank 1
Veteran
Maria Ilieva
Telerik team
Share this question
or