I am using a RadTreeList with an UpdateCommand, which updates one BIT field on SQL Server via a stored procedure. After the update, I force the RadTreeList to rebind its data source, but it OCCASIONALLY will not reflect the updated data (which I know for certain is getting set on SQL Server). Sometimes it shows the new value, sometimes not.
What I have tried in the UpdateCommand:
protected void rtlRoster_UpdateCommand(object sender, TreeListCommandEventArgs e)
//some code eliminated for brevity
//Perform the update via SQL stored procedure
//I have tried sleeping before reloading the data source, which is not preferred
//I have tried forcing the data source to clear out explicitly and then resetting it to the proper data source afterwards
rtlRoster.DataSource = new ArrayList();
//I have tried forcing it to reload the data source explicitly
rtlRoster_NeedDataSource(sender, new TreeListNeedDataSourceEventArgs(TreeListRebindReason.ExplicitRebind));
//I have tried using this code from an online Telerik example (http://docs.telerik.com/devtools/aspnet-ajax/controls/treelist/data-editing/updating-records/using-inplace-and-editforms-modes)
//And I have tried the brute force way of reloading the page
I was hoping there would be some obvious setting that I could control, such as RadGrid's <ClientSettings><DataBinding EnableCache="false">, but I see no such property on the RadTreeList.
Any ideas why this would be happening intermittently and how to fix it?
ASP.NET version: 4.0.30319.34209 (though the .NET Framework is 4.5)
OS: Windows 8.1 Pro
exact browser version: IE11, Chrome 44.0.2403.155 m, and FF 39.0
exact version of the Telerik product: Telerik.Web.UI.dll 2013.2.717.45
preferred programming language (VB.NET or C#): C#