iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I am using a Gridview and Intersoft:UXGridViewSelectColumn.
When I process the checkedItems I want to be able to clear/reset the checkeditems. It appears that after the grid is refreshed (after some processing of the checked items) the checked items still have the original values. So if I check 2 items , do something, refresh the grid and check a new two items the checked items reports 4 items checked (2 new and 2 original).
How do I clear
private IEnumerable<object> _checkedItems;
/// <summary> /// Gets or sets a collection of multiple checked items. /// </summary> public IEnumerable<object> CheckedItems { get { return _checkedItems; } set { if (_checkedItems != value) { _checkedItems = value; OnPropertyChanged("CheckedItems"); } } }
I use button with DelegateCommand and do the following to clear the CheckedItems property.
private void ExecuteClearCheckedItems(object obj) { (CheckedItems as IList).Clear(); }
Clicking the button will clear the checked items in the UXGridView (please ensure that the binding Mode has been set to TwoWay).
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname