RadGridView Doesn't display the data

3 posts, 1 answers
  1. Chris
    Chris avatar
    53 posts
    Member since:
    Oct 2012

    Posted 30 Jun 2010 Link to this post

    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. Answer
    Milan
    Admin
    Milan avatar
    1989 posts

    Posted 30 Jun 2010 Link to this post

    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
  3. Chris
    Chris avatar
    53 posts
    Member since:
    Oct 2012

    Posted 01 Jul 2010 Link to this post

    Hi Milan,

                    It's working now...
             
    Thanks,
    Chris
Back to Top