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.

Data Binding in PullToRefresh Control

Thread ID:

Created:

Updated:

Platform:

Replies:

126189 Sep 29,2016 08:06 AM Oct 14,2016 05:48 AM Xamarin.Forms 5
loading
Tags: SfPullToRefresh
Pawan Jindal
Asked On September 29, 2016 08:06 AM

Hello,

We are trying to implement the PullToRefresh control in our application with a data bound control. We have implemented the control in xaml and nested it within the PullableContent tag. It seems that once we move anything within the Pullable content, xamarin forms stops binding any data those controls. We also downloaded the sample provided at https://www.syncfusion.com/forums/125399/kindly-help-implementing-pull-to-refresh. When we run the sample, we get a blank page.

Is PullToRefresh compatible with data bound controls?

thanks,
Pawan

Mohana V [Syncfusion]
Replied On September 30, 2016 06:37 AM

Hi Pawan,

Thanks for using Syncfusion products.

Query : "Is PullToRefresh compatible with data bound controls?"

Yes, PullToRefresh is compatible with data bound control.

We have created sample with PullableContent and please find it from the below link,

http://www.syncfusion.com/downloads/support/directtrac/general/ze/PullToRefreshSample-1940333791 


Regards,
Mohana V 


Pawan Jindal
Replied On October 1, 2016 11:26 PM

Hello Mohana,

We are still having issues connecting the pull to refresh with a data bound control. I have updated your sample to show the issue. We have added a simple list view. When the list view is part of the SFPullToRefresh, the list view items are not able to bind to the data. However, if you remove all code for Syncfusion and just leave the list, it works fine. I have highlighted the sections in the xaml and xaml.cs file that you can comment and uncomment to confirm that the list is working fine.

Please advice how to proceed.

thanks,
Pawan


Attachment: PullToRefreshSample1940333791_d5af2e13.zip

Mohana V [Syncfusion]
Replied On October 3, 2016 08:15 AM

Hi Pawan,

We have created a separate incident for further follow up's about “Data Binding in PullToRefresh Control” under your Direct-trac login account.

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


Regards,
Mohana V
 


Megatron
Replied On October 13, 2016 05:11 PM

I have a similar issue can you please update for me as well

Mohana V [Syncfusion]
Replied On October 14, 2016 05:48 AM

Hi Megatron,

Based on the further validation we have solved the issue in sample level and please find the updated sample from the below link,

http://www.syncfusion.com/downloads/support/directtrac/general/ze/PullToRefreshSample1678894932

Note: We have replaced the StackLayout with Grid in the modified file to render the listview itemtemplate.

Regards,
Mohana V  


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.

;