<?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: Search to Web Api Example?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/search-to-web-api-example</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/help/search-to-web-api-example/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tconrad on Search to Web Api Example?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-to-web-api-example#p30884</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-to-web-api-example#p30884</guid>
        	        	<description><![CDATA[<p>thanks Tony</p>
]]></description>
        	        	<pubDate>Thu, 24 Jul 2014 02:23:47 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Search to Web Api Example?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-to-web-api-example#p30865</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-to-web-api-example#p30865</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I do not know from where come this parameter:<br />
'_=1405696486272'</p>
<p>but the parameter </p>
<p>'nd=1405721700853'</p>
<p>is generated automatically from the grid. The availability of this parameter was the old IE version which caches the result when a new request is made without changing the parameters. Actually you do not need to add these.</p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Mon, 21 Jul 2014 11:29:35 +0300</pubDate>
        </item>
        <item>
        	<title>tconrad on Search to Web Api Example?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/search-to-web-api-example#p30856</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/search-to-web-api-example#p30856</guid>
        	        	<description><![CDATA[<p>I've been looking over Google and StackOverFlow for a good C# MVC4 example of jqGrid implementing searching into a web api method but I've been coming up empty. Can anyone point me to one? I've used fiddler to format the method signature to be able to create the web apiÂ method signature but it seems like there're parameters that aren't even defined in the url. Here's an example...Â </p>
<blockquote>
<p>
/api/mymethod?Id=1&#38;callback=jQuery2110027593754697591066_1405696486270&#38;_search=true&#38;nd=1405721700853&#38;rows=10</p>
<p>&#38;page=1&#38;sidx=id&#38;sord=asc&#38;searchField=STATE&#38;searchString=CA&#38;searchOper=eq&#38;filters=&#38;_=1405696486272</p>
</blockquote>
<p>I have no idea how to defineÂ this last parameterÂ '_=1405696486272', and I don't know what this one 'nd=1405721700853' means.Â </p>
<p>I have been able to get paging and sorting implemented through the web api using this signature</p>
<p>public dynamic Get(int Id, bool _search, string nd, int rows, int page, string sidx, string sord) { ... }</p>
<p>Â and it works great. It just Â seems like there would be a better way to accomplish this without tightly coupling a user control to a RESTFUL service method call. I'm just not familiar enough with this grid. Any pointers would be great.</p>
<p>Â I am usingÂ jqGrid Â 4.6.0 - jQuery GridÂ </p>
<p>Thanks,</p>
<p>Tim</p>
]]></description>
        	        	<pubDate>Sat, 19 Jul 2014 01:27:48 +0300</pubDate>
        </item>
</channel>
</rss>