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

WCF Data Binding with Stored Proc

1 Answer 11 Views
Grid
This is a migrated thread and some comments may be shown as answers.
BALA MUKUND
Top achievements
Rank 1
BALA MUKUND asked on 26 Sep 2012, 02:14 AM
Hello all,

How can I use the Radgrid.GetBindingData with a stored procedure? When I replace the 2nd parameter with the name of a stored proc I get compilation errors. Is it possible?

I would greatly appreciate if someone can give me an answer.


GridBindingData data = RadGrid.GetBindingData("xxxxx.WCF.dbPublisherDataContext", "vPublisherQueues", startRowIndex, maximumRows, sortExpression, filterExpression);                        

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 28 Sep 2012, 01:47 PM
Hi Bala,

This parameter could only be the name of a table accessible through the web service. You may use your stored procedure to populate the table that will be accessed by RadGrid but you cannot call it directly through the GetBindingData method. 

Regards,
Tsvetina
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 now.
Tags
Grid
Asked by
BALA MUKUND
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or