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

RadGridView Doesn't display the data

2 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 30 Jun 2010, 09:08 PM
Hi,

         Scenario:
                      1.) I'm using RIA for data access.
                      2.) I can connect and display the data using Silverlight data grid (NO PROBLEM).
                      3.) I want to use the RADGRIDVIEW  and it doesn't show the data even i put a checkmark in AutoGenearteColumns.
                      4.) My connection to the database is working fine. Because the Silverlight Datagrid is working.

           Problem:
                       The RadGridView doesn't show the data.  Please check the code below if ever I missed something. Or is there any video you can show me on how to use the RadGridView with RIA?
      

<

 

 

Grid x:Name="LayoutRoot" ShowGridLines="True">

 

 

 

 

<riaControls:DomainDataSource AutoLoad="True" d:DesignData="{d:DesignInstance my1:d_VoteGoal, CreateList=true}" Height="0" LoadedData="d_VoteGoalDomainDataSource_LoadedData_6" Name="d_VoteGoalDomainDataSource" QueryName="GetD_VoteGoalQuery" Width="0">

 

 

 

 

<riaControls:DomainDataSource.DomainContext>

 

 

 

 

<my:VoteGoalContext />

 

 

 

 

</riaControls:DomainDataSource.DomainContext>

 

 

 

 

</riaControls:DomainDataSource>

 

 

 

 

<telerik:RadGridView Height="133" HorizontalAlignment="Left" Margin="26,56,0,0" Name="d_VoteGoalRadGridView" AutoGenerateColumns="True" VerticalAlignment="Top" Width="611" />

 

 

 

 

</Grid>

           Please let me know...
Thanks,
Chris          

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Milan
Telerik team
answered on 30 Jun 2010, 09:45 PM
Hello Chris,

I guess that you are binding the grid in the d_VoteGoalDomainDataSource_LoadedData_6 event handler? Could you please confirm that the LoadedData event is raised and that  "e.Entities" has more that 0 data items?

All the best,
Milan
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
0
Chris
Top achievements
Rank 1
answered on 01 Jul 2010, 07:11 PM
Hi Milan,

                It's working now...
         
Thanks,
Chris
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Milan
Telerik team
Chris
Top achievements
Rank 1
Share this question
or