RayBakker
asked on
RadGrid not displaying all the records
A have a telerik rad grid that is not displaying all the records in the recordset provided to it. The radgrid's datasource is a SQLDataSource. When if I run the sql statement in SSMS, I see all records.
Another isuue I have is have to debug the sqldatasource in Visual Studio.
Any thoughts?
Another isuue I have is have to debug the sqldatasource in Visual Studio.
Any thoughts?
ASKER
Thanks for the quick response. I tried the paging, made no difference. I change the grid to use the NeedDatasouce. so could view the record set.
I see that the grid is getting 329 records will it should be getting 343 records. I tired to see what was common between those missing records and haven't found anything yet.
I will keep looking.
Thanks
I see that the grid is getting 329 records will it should be getting 343 records. I tired to see what was common between those missing records and haven't found anything yet.
I will keep looking.
Thanks
also make sure the radgrid's datasource linked to the same schema as what linked in SSMS?
in your codes, try put the break points before the sql execution to make sure the correct parameters being passed.
also check if 329 is a distinct of 343 records?
in your codes, try put the break points before the sql execution to make sure the correct parameters being passed.
also check if 329 is a distinct of 343 records?
ASKER
I found the issue. it was not in the connection to the the gird but rather the query bad data in the query result.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
RadGrid1.PageSize = myCollection.Count;
RadGrid1.DataSource = myCollection;
RadGrid1.DataBind();