I'd like a functionality such as binding that is in silverlight, but this works for html and ajax calls.
I retrieve an array of the following objects from the server which is the user information whose class looks like the following:
public class User{
public int UserId;
public string ImgUrl;
public string UserName;
}
If I have a List Item Template like the following:
<div id="{USERID}">
<img src="{ITEM_IMAGE_URL}" />
<span>UserName: </span><span>{USERNAME}</span>
</div>
Is there a way in javascript/Jquery do easily bind the data to this item template?
Thank You