Question: 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.

Answer: 
You should pass the value of this in anchor:

```
<a id ="'.$row["id"].'" value ="100" href="javascript:void(0)" onclick="myCall(this);">

```

and at the time of call the function this should be like this:

```
function myCall(that) {
//var value = 50;
var value = $(that).attr('value');
    var request = $.ajax({
        url: "ajax.php",
        type: "GET",
        data: ({id: value}),
        //dataType: "html"
    });
// and so on code

```

**EDIT**

if you want the id and value both then use following code:

```
var value = $(that).attr('value');
var id = $(that).attr('id');

```

and pass it in data as following:

```
data: ({id: id, value: value})

```
```
var value = $(this).attr('value'); 

```

You are retrieving the value (value="100") instead of the id, it should be:

```
var id = $(this).attr('id');

```

If you want to pass both:

```
var request = $.ajax({
    url: "ajax.php",
    type: "GET",
    data: {id: id, value: value }
    //dataType: "html"
});

```

You can also do it like this:

```
$.get("ajax.php", {id: id, value: value});

```

Regarding your second question:

AJAX will execute "ajax.php" ***IN THE SERVER***, so if you edit your cart in "ajax.php" it will work fine.