Completed
Last Updated: 12 Nov 2014 14:54 by ADMIN
ADMIN
Yordanka
Created on: 20 Mar 2014 11:39
Category: GridView
Type: Feature Request
2
Search as you type logic does not update the grid items
Search as you type logic does not update the grid items
4 comments
ADMIN
Maya
Posted on: 12 Nov 2014 14:50
The issue was introduced with an optimization we made for filtering. Generally, its idea is that if the current filter expression is the same as the previous one, all invalidates of the paging/items count, etc. are not executed. In the case of the project we have that illustrates the issue, the custom filtering expression stays the same no matter what the FilterValue is. 

The solution is to create custom QueryableCollectionView and override the OnFilterDescriptorsChanged to:
public class CustomQueryableCollectionView: QueryableCollectionView
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="CustomQueryableCollectionView"/> class.
		/// </summary>
		/// <param name="source">The source collection.</param>
        public CustomQueryableCollectionView(IEnumerable source)
			: base(source, null)
		{
		}

        protected override void OnFilterDescriptorsChanged()
        {
            this.InvalidatePagingDeterminativeItemCount();
            this.InvalidatePagingAndRefresh();
        }
    }

The source of the grid should be set to that custom collection. Thus the check whether the new filter expression is the same as the previous one will not be executed and the UI of the grid will be updated right away.
ADMIN
Yordanka
Posted on: 08 May 2014 11:53
Hi Walter,

We are currently working on this problem and hopefully we will have a progress next week. 
Walter
Posted on: 05 May 2014 11:30
You need to escalate the issue. Our release is on hold because of this and nother issue. As a customer I expect previous functionality to work in new versions. We will not be upgrading Telerik this year if a prompt resolution is not provided for this item. Sample code and details havce been provided to deal with this issue promptly.
Walter
Posted on: 17 Apr 2014 11:24
This functionality was available in previous versions of Telerik controls for SIlverlight. We use it extensively in our applications. We need this item resolved or a practical workaround provided. Please provide ETA for the fix as it is holding back our releases.
Raise its priority if necessary.