Mobile Listview control custom template

1 posts, 0 answers
  1. Srinivasulu
    Srinivasulu avatar
    4 posts
    Member since:
    Apr 2012

    Posted 14 May 2012 Link to this post

    i want bind the data to listview through pagemethods, but it is not binding.
    1. can i use pagementhod for lisview databinding ?

    Please check the code and give me the suggestions......

    <div data-role="view" id="listview-templates" data-title="ListView" data-init="mobileListViewTemplatesInit">
            <ul id="custom-listview">

    function mobileListViewTemplatesInit() {
                PageMethods.GetEventTrainees(function (response) {
                    groupedData = response.split("#");
                    dataSource:{ data: groupedData }),
                    template: $("#customListViewTemplate").html()
Back to Top