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

Rows not showing up in RadGridView

1 Answer 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
pat
Top achievements
Rank 1
pat asked on 01 Sep 2011, 05:37 PM

I have built an RIA services app that accesses a database table.

1. This table has been made accessable to the Domain services class using an Entity Framework instance.

2. The table has a primary key

3. The table imports into the entity framework with no errors.

4. I tried using the method that was built by DomainServices to access the table and I get this error

"The remote server returned an error: NotFound."

5. The other tables in the system all work fine.

6. I tried building a custom method in the Domain service class and checked the rows that are returned in the Domain service class and it is getting the right rows in the Linq query.

7. If I check the LoadOperation Entity count in the silverlight layer it is 0.

8. This is followed by the error.

"The remote server returned an error: NotFound."

9. I built another RIA services app with just this table in it and I get the same error.

10. Here is the code that is similar to code that I have used many times to access data in the silverlight layer.

GLRDomainContext ctx = new GLRDomainContext();

EntityQuery<TestSummary> query = ctx.GetTestSummariesBySummaryTypeOrderedQuery(1);

LoadOperation<TestSummary> loadOp = ctx.Load(query);

loadOp.Completed +=new EventHandler(loadOp_Completed);



loadOp_Completed(object sender, EventArgs e)

{

LoadOperation<TestSummary> test = (LoadOperation<TestSummary>)sender;

radGridView1.ItemsSource = test.Entities;

}

I have worked quite extensively with RIA services and it is very disconcerting that this can happen.

Has anybody seen this behavior.

Any clues or suggestions would be greatly appreciated as I have burned a lot of time on this.

Cheers,

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 02 Sep 2011, 12:43 PM
Hi Pat,

I am a bit confused . Is the problem related to RadControls  ? I believe a RIA services dedicated  forum would be more helpful here.

Greetings,
Pavel Pavlov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
General Discussions
Asked by
pat
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or