<?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: JSON format r .NET not working?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/json-format-r-net-not-working</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/json-format-r-net-not-working/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on JSON format r .NET not working?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-format-r-net-not-working#p4139</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-format-r-net-not-working#p4139</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>IMHO using datatype json will return the data in json format and not post it as json. For more info refere to jQuery ajax paramaters.</p>
<p>You can use onclickSubmit event for this purpose. This event should return array which is passed to the request.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 26 Jan 2009 04:54:12 +0200</pubDate>
        </item>
        <item>
        	<title>rabboud on JSON format r .NET not working?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-format-r-net-not-working#p4120</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-format-r-net-not-working#p4120</guid>
        	        	<description><![CDATA[<p>The default buttons on the navGrid are not working with a .NET web service which needs an $.ajax call with the following two properties to work:</p>
<p>contentType: <span style="color: #a31515;">&#39;application/json; charset=utf-8&#39;</span>,</p>
<p>datatype: <span style="color: #a31515;">&#39;json&#39;</span>,</p>
<p>I&#39;ve gone in grid.formedit.js to force the ajax calls to have these two and now the headers are OK, but the POST payload is not in JSON format:</p>
<pre>Date=2008-01-01&#38;Payee=Expensive+payee&#38;ExpenseType=Production&#38;Description=This+is+a+test+description+edited
&#38;Amount=2500&#38;id=79953eca-7f1b-4f96-aede-79518c2964c9&#38;oper=edit</pre>
<pre>&#160;</pre>
<pre>Is there an elegant way for me to intercept the form edit SUBMIT click and send my own AJAX request in the proper format?</pre>
<pre>&#160;</pre>
<pre>I don&#39;t want to start mucking in the jqGrid core too much and I&#39;d rather deal with within my own application.</pre>
<pre>&#160;</pre>
<pre>BTW, I&#39;m using a function datatype in thegrid to get jqGrid to work with .NET service but there doesn&#39;t seem o be an equivalent hook for the default (or custom) pager edit/add/del buttons.</pre>
]]></description>
        	        	<pubDate>Fri, 23 Jan 2009 00:08:07 +0200</pubDate>
        </item>
</channel>
</rss>