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 All,
Am using web grid version 7. In the filter option if i have the column as name which has one its value as **&**. When i try to filter out the value with & the & and the rest of the characters disappear resulting in 0 rows found.
Thanks
Sampath
Hello,
I’m sorry for the inconvenience.I’ve made a simple sample that maybe similar with your scenario.In my sample, I use Northwind.mdb and Shippers table. In Shippers table, I added a couple row that have “&” value in CompanyName column (BeforeSearch.png).I tried to do filtering in CompanyName column with “**&**” and I got “no rows” message as well (AfterSearch-1.png).
To run your filter scenario, perhaps you could filter the value with “*&”. This filter value, works on my end (AfterSearch-2.png)
Hope this helps. Thank you.Regards,
Hans.
Hi Hans,
Thanks for the reply. I have couple of questions in the scenario
Are you using version 7 for the sample.
If so to do the search no need to use **&**, the problem am facing is if we enter for ex: compa&ny, after compa the rest gets cleared. use the filter option equal to. try entering only & it gets cleared from the filter box.
Hi,
Yes, I’m using WebGrid 7 in my sample.
I’ve tried set filter option to “Equals To”, then entered “&” value. And I gets “no row” message as well. (FilterEqualsTo.png)As far as I know, if you set filter option to “Equals To”, that means WebGrid will only find data that equal/same with “&”.
You have two option to get all row that contain “&” value :First, if you want to use “*&” value, you should set filter option to “Like”. (FilterLike.png)Second, if you want to use “&” value, you should set filter option to “Contains”. (FilterContains.png)
Thank you.
Regards,Hans.
Thanks for the reply. I agree with the otpions, but the problem i face is that the & character disappears. For ex: if we type compa&ny, the characters &ny gets cleared from the filter input box.
I’m sorry for this misunderstanding.
I tried to filter with “Compa&ny” as well. However, I can’t reproduce your issue on my end. (FilterAnd.png)Have you try to use the latest hotfix of the WebGrid and the WebUIFramework?I use WeGrid.NET 7.0.7200.533 and WebUI.NET Framework 3.0.5000.803.
I also attached my sample. If you don’t mind, could you tell me, is there any setting that I have miss in my sample?Or could you send me a simple project that replicate this issue?
Try setting the TreatMarkupAsLiteralText to true.
When i set it to false it works fine and when its true it ends in the problem i have descriped in the previous posts
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