<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: when LoadOnce is set to True the SearchToolbar switches to "BeginsWith"</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/when-loadonce-is-set-to-true-the-searchtoolbar-switches-to-beginswith</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/when-loadonce-is-set-to-true-the-searchtoolbar-switches-to-beginswith/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>piyush on when LoadOnce is set to True the SearchToolbar switches to "BeginsWith"</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/when-loadonce-is-set-to-true-the-searchtoolbar-switches-to-beginswith#p29676</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/when-loadonce-is-set-to-true-the-searchtoolbar-switches-to-beginswith#p29676</guid>
        	        	<description><![CDATA[<p>Thanks Tony I have posted the query there now, hopefully someone will have a look at it 😀</p>
]]></description>
        	        	<pubDate>Tue, 15 Oct 2013 14:36:59 +0300</pubDate>
        </item>
        <item>
        	<title>tony on when LoadOnce is set to True the SearchToolbar switches to "BeginsWith"</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/when-loadonce-is-set-to-true-the-searchtoolbar-switches-to-beginswith#p29661</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/when-loadonce-is-set-to-true-the-searchtoolbar-switches-to-beginswith#p29661</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Can you please post your problem in <a href="http://www.trirand.net/forum/default.aspx?g=forum" target="_blank">this forum</a></p>
<p>Thank you.</p>
</p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Mon, 14 Oct 2013 15:35:31 +0300</pubDate>
        </item>
        <item>
        	<title>piyush on when LoadOnce is set to True the SearchToolbar switches to "BeginsWith"</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/when-loadonce-is-set-to-true-the-searchtoolbar-switches-to-beginswith#p29652</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/when-loadonce-is-set-to-true-the-searchtoolbar-switches-to-beginswith#p29652</guid>
        	        	<description><![CDATA[<p>Hello Everyone,</p>
<p>I have encountered this issue recently:</p>
<p>By default SearchToolbar performs "contains" search which is good but when LoadOnce is set to True the SearchToolbar switches to "BeginsWith"<strong> </strong>which is an issue for the users. I tried to set the SearchToolbarOperation:"contains" manually for that particular column but it doesn&#39;t works.</p>
</p>
<p>Trirand team can you please look at this problem.</p>
<p>Thanks in advance.</p>
<p>Regards,</p>
<p>Piyush</p>
</p>
<p>Edit:</p>
<p>Forgot to add additional information:</p>
<p>ASP.NET Webforms Version 4.5.2</p>
<p>Visual Studio 2010</p>
</p>
<p><strong>asp code</strong></p>
<p>&#60;cc1:JQGrid ID="JQGrid1" runat="server" Width="500" Height="400" LoadOnce="True"&#62;</p>
<p>&#60;Columns&#62;</p>
<p>&#60;cc1:JQGridColumn DataField="Name"/&#62;</p>
<p>&#60;cc1:JQGridColumn DataField="Age"/&#62;</p>
<p>&#60;/Columns&#62;</p>
<p>&#60;SearchToolBarSettings SearchToolBarAction="SearchOnKeyPress" /&#62;</p>
<p>&#60;PagerSettings PageSize="25" ScrollBarPaging="True" /&#62;</p>
<p>&#60;ToolBarSettings ShowSearchToolBar="True" ToolBarPosition="Top"&#62;</p>
<p>&#60;/ToolBarSettings&#62;</p>
<p>&#60;/cc1:JQGrid&#62;</p>
</p>
<p><strong>page behind</strong></p>
<p>protected void Page_Load(object sender, EventArgs e)</p>
<p>{</p>
<p>//ClientScript.RegisterClientScriptBlock(GetType(), "script", "returnVal();", true);</p>
<p>DataTable dt = new DataTable();</p>
<p>DataColumn name = new DataColumn("Name", typeof(string));</p>
<p>DataColumn age = new DataColumn("Age", typeof(Int32));</p>
<p>dt.Columns.Add(name);</p>
<p>dt.Columns.Add(age);</p>
<p>Random rnd = new Random();</p>
<p>string[] names = new string[13] { "aaron", "abdul", "abe", "abel", "abraham", "adam", "adan", "adolfo", "adolph", "adrian","abby", "abigail", "adele"};</p>
<p>int index;</p>
<p>for (int i = 0; i &#60; 20; i++)</p>
<p>{</p>
<p>var row = dt.NewRow();</p>
<p>index = rnd.Next(0,13);</p>
<p>row[name] = names[index];</p>
<p>row[age] = rnd.Next(20, 28);</p>
<p>dt.Rows.Add(row);</p>
<p>}</p>
</p>
<p>JQGrid1.DataSource = dt;</p>
<p>JQGrid1.DataBind();</p>
<p>}</p>
]]></description>
        	        	<pubDate>Sun, 13 Oct 2013 03:44:30 +0300</pubDate>
        </item>
</channel>
</rss>