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

RadGrid, Classes, StoredProcedure

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Admir Brkić
Top achievements
Rank 1
Admir Brkić asked on 20 May 2010, 10:46 AM
I use Classes for connect and modify data on sql database. I am create ObjectDataSource and Connect to class ProjectsGetAll, but when I try to sort data, I get error message: you need dataset, datatable, to sort data, (something like that).
Than, I am do next:
DataTable dt = SqlHelper.ExecuteDataset(Settings.ConnectionString, CommandType.StoredProcedure, "CUSTOM_ProjectsGetAll").Tables[0];
radgrid1.datasource=dt;
radgrid1.databind(); (I am try and rebind, too)
and than in radgrid you can see message: No record to display.
Please help

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 25 May 2010, 12:43 PM
Hi Admir,

This seems like a problem with the way the control is databound, and/or the way the data is fetched.However, based on the supplied information, it is hard to pinpoint the root of the problem. If the issue persists, you can open a formal support ticket, and send us a small working project, demonstrating your setup, and showing the unwanted behavior, for additional review and testing.

Best wishes,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Admir Brkić
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or