﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Web Grid - In the filter option &amp; character is ignored</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Web-Grid---In-the-filter-option--character-is-ignored/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Web Grid - In the filter option &amp; character is ignored</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Web-Grid---In-the-filter-option--character-is-ignored/</link><pubDate>Fri, 13 Jul 2012 03:27:20 GMT</pubDate><dc:creator>Hans</dc:creator><description>Hello,&lt;br /&gt;&lt;br /&gt;Thank you for your reply.&lt;br /&gt;&lt;br /&gt;I can replicate your issue on my end, after I followed your instruction.&lt;br /&gt;I apologize for the inconvenience.&lt;br /&gt;&lt;br /&gt;Basically, the function of this property (TreatMarkupAsLiteralText) is to gets or sets whether markups such as HTML or XML should be treated as literal text.&lt;br /&gt;For example, a literal &amp;lt; normally indicates the start of a tag, and &amp;amp; normally indicates the start of a character entity reference or numeric character reference; writing it as &amp;amp;amp; or &amp;amp;#x26; or &amp;amp;#38; allows &amp;amp; to be included in the content of an element or in the value of an attribute.&lt;br /&gt;&lt;br /&gt;Therefore, if you want to use ‘&amp;amp;’ character, you should changes into ‘&amp;amp;amp;’.&lt;br /&gt;For example, if you to find ‘Compa&amp;amp;ny’ value, you should type ‘Compa&amp;amp;amp;ny’ in your filter column.&lt;br /&gt;&lt;br /&gt;Hope this helps. Thank you.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans.&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Web Grid - In the filter option &amp; character is ignored</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Web-Grid---In-the-filter-option--character-is-ignored/</link><pubDate>Fri, 13 Jul 2012 00:11:44 GMT</pubDate><dc:creator>Sampath.er</dc:creator><description>&lt;p&gt;Hi Hans,&lt;/p&gt;
&lt;p&gt;             Try setting the TreatMarkupAsLiteralText to true.&lt;/p&gt;
&lt;div style="font-family: ms shell dlg 2; direction: ltr; color: #000000; font-size: 9pt"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #00008b"&gt;&lt;span style="font-family: calibri; color: #00008b"&gt;ISWebGrid&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #00008b"&gt;&lt;span style="font-family: calibri; color: #00008b"&gt;WebGridColumn&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri"&gt; &lt;/span&gt;&lt;span style="font-family: calibri; color: #800080"&gt;&lt;span style="font-family: calibri; color: #800080"&gt;Caption&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;="CompanyName"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri"&gt; &lt;/span&gt;&lt;span style="font-family: calibri; color: #800080"&gt;&lt;span style="font-family: calibri; color: #800080"&gt;DataMember&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;="CompanyName"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri"&gt; &lt;/span&gt;&lt;span style="font-family: calibri; color: #800080"&gt;&lt;span style="font-family: calibri; color: #800080"&gt;Name&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;="CompanyName"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri"&gt; &lt;/span&gt;&lt;span style="font-family: calibri; color: #800080"&gt;&lt;span style="font-family: calibri; color: #800080"&gt;TreatMarkupAsLiteralText&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;="true"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri"&gt;
&lt;/span&gt;&lt;span style="font-family: calibri; color: #800080"&gt;&lt;span style="font-family: calibri; color: #800080"&gt;Width&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;="150px"&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri"&gt;
&lt;/span&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #00008b"&gt;&lt;span style="font-family: calibri; color: #00008b"&gt;ISWebGrid&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #00008b"&gt;&lt;span style="font-family: calibri; color: #00008b"&gt;WebGridColumn&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family: calibri; color: #0000ff"&gt;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&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Web Grid - In the filter option &amp; character is ignored</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Web-Grid---In-the-filter-option--character-is-ignored/</link><pubDate>Fri, 29 Jun 2012 02:49:05 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I’m sorry for this misunderstanding.&lt;/p&gt;
&lt;p&gt;I tried to filter with “Compa&amp;ny” as well. However, I can’t reproduce your issue on my end. (FilterAnd.png)&lt;br /&gt;Have you try to use the latest hotfix of the WebGrid and the WebUIFramework?&lt;br /&gt;I use WeGrid.NET 7.0.7200.533 and WebUI.NET Framework 3.0.5000.803. &lt;/p&gt;
&lt;p&gt;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?&lt;br /&gt;Or could you send me a simple project that replicate this issue?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Hans.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Web Grid - In the filter option &amp; character is ignored</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Web-Grid---In-the-filter-option--character-is-ignored/</link><pubDate>Thu, 28 Jun 2012 23:35:37 GMT</pubDate><dc:creator>Sampath.er</dc:creator><description>&lt;p&gt;Hi Hans,&lt;/p&gt;
&lt;p&gt;             Thanks for the reply. I agree with the otpions, but the problem i face is that the &amp; character disappears. For ex: if we type compa&amp;ny, the characters &amp;ny gets cleared from the filter input box.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Sampath&lt;/p&gt;</description></item><item><title>Web Grid - In the filter option &amp; character is ignored</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Web-Grid---In-the-filter-option--character-is-ignored/</link><pubDate>Thu, 28 Jun 2012 21:52:46 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, I’m using WebGrid 7 in my sample.&lt;/p&gt;
&lt;p&gt;I’ve tried set filter option to “Equals To”, then entered “&amp;” value. And I gets “no row” message as well. (FilterEqualsTo.png)&lt;br /&gt;As far as I know, if you set filter option to “Equals To”, that means WebGrid will only find data that equal/same with “&amp;”.  &lt;/p&gt;
&lt;p&gt;You have two option to get all row that contain “&amp;” value :&lt;br /&gt;First, if you want to use “*&amp;” value, you should set filter option to “Like”. (FilterLike.png)&lt;br /&gt;Second, if you want to use “&amp;” value, you should set filter option to “Contains”. (FilterContains.png)&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Hans.&lt;/p&gt;</description></item><item><title>Web Grid - In the filter option &amp; character is ignored</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Web-Grid---In-the-filter-option--character-is-ignored/</link><pubDate>Thu, 28 Jun 2012 07:11:41 GMT</pubDate><dc:creator>Sampath.er</dc:creator><description>&lt;p&gt;Hi Hans,&lt;/p&gt;
&lt;p&gt;             Thanks for the reply. I have couple of questions in the scenario&lt;/p&gt;
&lt;p&gt;Are you using version 7 for the sample.&lt;/p&gt;
&lt;p&gt;If so to do the search no need to use **&amp;**, the problem am facing is if we enter for ex: compa&amp;ny, after compa the rest gets cleared. use the filter option equal to. try entering only &amp; it gets cleared from the filter box.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Sampath&lt;/p&gt;</description></item><item><title>Web Grid - In the filter option &amp; character is ignored</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Web-Grid---In-the-filter-option--character-is-ignored/</link><pubDate>Thu, 28 Jun 2012 06:54:04 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I’m sorry for the inconvenience.&lt;br /&gt;I’ve made a simple sample that maybe similar with your scenario.&lt;br /&gt;In my sample, I use Northwind.mdb and Shippers table. In Shippers table, I added a couple row that have “&amp;” value in CompanyName column (BeforeSearch.png).&lt;br /&gt;I tried to do filtering in CompanyName column with “**&amp;**” and I got “no rows” message as well (AfterSearch-1.png).&lt;/p&gt;
&lt;p&gt;To run your filter scenario, perhaps you could filter the value with “*&amp;”. This filter value, works on my end (AfterSearch-2.png)&lt;/p&gt;
&lt;p&gt;Hope this helps. Thank you.&lt;br /&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hans.&lt;/p&gt;</description></item><item><title>Web Grid - In the filter option &amp; character is ignored</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Web-Grid---In-the-filter-option--character-is-ignored/</link><pubDate>Thu, 28 Jun 2012 02:22:19 GMT</pubDate><dc:creator>Sampath.er</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;         Am using web grid version 7. In the filter option if i have the column as name which has one its value as **&amp;**. When i try to filter out the value with &amp; the &amp; and the rest of the characters disappear resulting in 0 rows found.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Sampath&lt;/p&gt;</description></item></channel></rss>