We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How bind paged source to gridview

Thread ID:

Created:

Updated:

Platform:

Replies:

119821 Aug 5,2015 12:40 AM Aug 7,2015 10:09 PM WinRT 1
loading
Tags: SfDataPager
Ajit
Asked On August 5, 2015 12:40 AM

Hi 

I am trying to display 100 images in GridView control. I want to create a pagination for GridView. I could have created with CollectionViewSource in WPF. However I am new to the WinRT. 

So here is what I did.
    1:  Created a UserControl with Image and FileName and binded them

          public  class ImgDisp
          {
                 public string ImgPath {get;set;}
                 public string FileName{get;set;}
          }

     2:  Now I used GridView and and UserControl as ItemTemplate. 

     3:  Created an ObservableCollection<ImgDisp> and set it as ItemsSource for GridView. It worked as it should.

     4:  Now I added SfDataPager and set the source as ObservableCollection<ImgDisp> then used PagedSource for GridView ItemsSource.  Let say PageSize is 10. 
           
      5: Now GridView only displays 10 UserControl no File Name or Image. 

How can I solve this..?

Jayapradha S [Syncfusion]
Replied On August 7, 2015 10:09 PM

Hi Ajit,

Thank you for using Syncfusion products.

We have analyzed your requirement. A support incident to track the status of this requirement has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Please let me know if you have any questions.

Regards,
Jayapradha


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;