Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
I have an xamGrid of infragastics but i have no idea binding data using linq. The project is a silverlight application. my connected to my WCF data service based on VatTu.edmx (ADO.NET Entity Data Model) In xamGrid, i create 2 columns with headertext:ID and Name In MainPage.xaml.cs:
 
namespace SilverlightApplication12
{
public partial class MainPage : UserControl
{
    private VattuEntities db;
    private DataServiceCollection<VatTu> vts;
    public MainPage()
    {
        db = new VattuEntities(new Uri("http://localhost:43664/VatTuService.svc"));
        InitializeComponent();
    }
 
    private void UserControl_Loaded(object sender, RoutedEventArgs e)
    {
        var q= from vt in db.VatTus select vt;
        vts.LoadAsync(q);
        grid.itemsource=vts;  
    }       
}}
 
"vt" have 2 properties: ID and name. But the page always load 100% and never show my designed page. Please help me. Sorry for my bad English.
Posted 23-Apr-13 6:10am
Comments
Sergey Alexandrovich Kryukov at 23-Apr-13 11:18am
   
Infragistic's product is a commercial one; they have their own forum. Why not asking them for support?
—SA
TokiHana at 23-Apr-13 11:44am
   
Because my friend adviced me to ask here.
Please help me.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I have found that specific questions related to 3rd party is answered more quickly and accurately at respective forums.
 
Posting such issues about a 3rd party control (Infragistics here) Forum would be more useful, here: Infragistic Forums[^]
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 23-Apr-13 14:24pm
   
That was my point. Please see OP's reply in the comments to the question. Anyway, my 5.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 290
1 Jochen Arndt 165
2 DamithSL 125
3 PIEBALDconsult 110
4 Garth J Lancaster 90
0 OriginalGriff 5,790
1 DamithSL 4,601
2 Maciej Los 4,012
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,195


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 23 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100