This is a migrated thread and some comments may be shown as answers.

Manually update RadDataBoundListbox refresh time

2 Answers 32 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 10 Nov 2014, 09:25 PM
Is there any way for me to manually set the last refresh time for a RadDataBoundListbox.  In my app, I have the ability to have the items automatically updated outside of pull to refresh, and I would like the last updated time to change when the update occurs.  I would also like to load the list control with the last updated time when I load the control.

I found a way to obtain the PullToRefreshIndicatorControl in the listbox using LinqToVisualTree.  On the Loaded event, I call UpdateRefreshTime, but it doesn't seem to update the time.

2 Answers, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 13 Nov 2014, 04:43 PM
Hello Michael,

Thank you for contacting us.

I have attached a sample project that demonstrates how you can change the last refresh time and also load the control with a specific time. I am using the same method that you use in your scenario, but everything works as expected. Please, take a look at the attachment and let us know if this works for you. If not, could you please modify the sample project to reproduce the issue.

I look forward to your reply.

Regards,
Rosy Topchiyska
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Michael
Top achievements
Rank 1
answered on 14 Nov 2014, 10:16 PM
Thank you.  Seems to work
Tags
DataBoundListBox
Asked by
Michael
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Michael
Top achievements
Rank 1
Share this question
or