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
Hi,
I am trying to set the filter programatically from client side as following :
var filter = new WebGridFilter(); // create new Filter configuration
filter.Name = "Accepted";
filter.ColumnMember = "Accepted";
filter.FilterType = "EqualTo";
filter.FilterText = acceptedStatus;
//filter.SetChanged();
grid.RootTable.FilteredColumns.Add(filter);
grid.RootTable.UpdateUI();
grid.Refresh(); // apply changes
However, when the filter applied, I got duplicates for all data fields (as shown in the .jpg file). Can you take a look at my sample project to see if I did anything wrong please?
Thanks,
Cuong
Hello,
Thank you for your sample.
I’ve made a sample based on your code of your sample.
But unfortunately, I can’t replicate your issue on my end (FilterTrue.png).
I use WebGrid.NET 8.0.7200.100, WebUI.NET Framework 3.0.5000.805, and .NET Framework 4.
I attached my sample as well. Please review my sample and please let me know, if there is a settings that I’ve missed.
Thank you.
Regards,
Hans.
Hi Hans,
Thank you very much for quick response. I use .NET Framework 2.0 and Visual studio 2008. So I cannot run your project directly; however, when I move your WebForm1.aspx page to Visual Studio 2008 and .NET 2.0, I have the same problem of duplicated fields.
Is there a way you can test your project on .NET framework 2.0? Is WebGrid8 support .NET 2.0?
Thank you for testing my sample.
I’ve made a new sample using .NET Framework 2. I run the sample and then do filtering.However, I still can't reproduce your issue on my end.
I attached my sample as well.
Regards,Hans.
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