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. Image for the cookie policy date

Data Binding in PullToRefresh Control

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

5 Replies

MV Mohana V Syncfusion Team September 30, 2016 10:37 AM UTC

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 



PJ Pawan Jindal October 2, 2016 03:26 AM UTC

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


MV Mohana V Syncfusion Team October 3, 2016 12:15 PM UTC

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
 



ME Megatron October 13, 2016 09:11 PM UTC

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


MV Mohana V Syncfusion Team October 14, 2016 09:48 AM UTC

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  


Loader.
Live Chat Icon For mobile
Up arrow icon