<?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: jqGrid under IIS</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-under-iis</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/jqgrid-under-iis/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Luigino on jqGrid under IIS</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-under-iis#p26097</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-under-iis#p26097</guid>
        	        	<description><![CDATA[<p>Nevermind, solved by myself&#8230; it was some settings related to web.config file&#8230;</p>
</p>
<p>At least someone could tell me why with the code above in the first post when I press Edit button the form editor doesn&#39;t</p>
<p>resize as I want and with "Save" in the submit button?</p>
<p>If I press Add then Cancel and then again I press Edit it goes showing right resize and "Save" in the submit button...</p>
</p>
<p>thanks to everyone in advance!</p>
<p>Ciao,</p>
<p>Luigi</p>
]]></description>
        	        	<pubDate>Thu, 08 Mar 2012 16:27:10 +0200</pubDate>
        </item>
        <item>
        	<title>Luigino on jqGrid under IIS</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-under-iis#p26086</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-under-iis#p26086</guid>
        	        	<description><![CDATA[<p>Hello Tony and all,</p>
</p>
<p>I am trying to work out using last version of JqGrid 4.3.1 under IIS and Microsoft SQL Server platform using PHP+Javascript and I created a grid correctly. Just when I click to add record and I insert data, once I click to Submit using Firebug I get a POST successful with OK 200ms but it doesn&#39;t save anything and I see in XML tab response this kind of error:</p>
<pre class="default prettyprint"><p><input type='button' class='sfcodeselect' name='sfselectit4548' value='Select Code' data-codeid='sfcode4548' /></p><div class='sfcode' id='sfcode4548'>XML Parsing Error: no element found Location: moz-nullprincipal:{...} Line Number 1, Column 1:</div></pre>
<p>What could be?</p>
<p>The piece of js code to manage the grid is:</p>
</p>
<pre class="default prettyprint"><p><input type='button' class='sfcodeselect' name='sfselectit2658' value='Select Code' data-codeid='sfcode2658' /></p><div class='sfcode' id='sfcode2658'>
jQuery(document).ready(function(){	
    jQuery(&#34;#userstable&#34;).jqGrid({
        url:&#34;load_datatable.php?table_name=users&#38;fact=add&#34;,
        datatype: &#39;json&#39;,
        colNames:[&#39;ID&#39;,&#39;Last Name&#39;,&#39;First Name&#39;,&#39;Account&#39;,&#39;Password&#39;],
        colModel:[
            {name:&#39;ID&#39;,index:&#39;ID&#39;,width:1,editable:false,hidden:true},
            {name:&#39;Last_Name&#39;,index:&#39;Last_Name&#39;,width:150,editable:true,editoptions:{readonly:false,size:40}},
            {name:&#39;First_Name&#39;,index:&#39;First_Name&#39;,width:150,editable:true,editoptions:{readonly:false,size:40}},
            {name:&#39;Account&#39;,index:&#39;Account&#39;,width:120,editable:true,editoptions:{readonly:false,size:40}},
            {name:&#39;Password&#39;,index:&#39;Password&#39;,width:120,editable:true,editoptions:{readonly:false,size:40}},
        ],
        rowNum:10, 
        rowList:[10,20,30],
        loadonce:false,
        pager: &#39;#pagerusers&#39;, 
        emptyrecords: &#39;No users found&#39;,
        sortname: &#39;Last_Name&#39;, 
        viewrecords: true, 
        sortorder: &#34;desc&#34;, 
        caption:&#34;Users&#34;,
        editurl:&#34;edit_datatable.php?table_name=users&#38;fact=add&#34;,
        shrinkToFit: false // autowidth: true,
    }).navGrid(&#39;#pagerusers&#39;,{
        edit:true,edittext:&#39;Edit&#39;,edittitle:&#39;Edit selected user...&#39;,
        add:true,addtext:&#39;Add&#39;,addtitle:&#39;Add new user...&#39;,
        del:true,deltext:&#39;Remove&#39;,deltitle:&#39;Remove selected user...&#39;,
        search:true,searchtext:&#39;Find&#39;,searchtitle:&#39;Find user...&#39;,
        refresh:true,refreshtext:&#39;Reload&#39;,refreshtitle:&#39;Reload users...&#39;
    }, 
    {addfunc:function(){jQuery(&#39;#userstable&#39;).editGridRow(&#34;new&#34;,{height:180,width:400,reloadAfterSubmit:true,closeOnEscape:true});},
     editfunc:function(){var rowids=jQuery(&#39;#userstable&#39;).jqGrid(&#39;getCol&#39;,&#39;ID&#39;,false);var idsel=jQuery(&#39;#userstable&#39;).jqGrid(&#39;getGridParam&#39;,&#39;selrow&#39;);var id=rowids[idsel];jQuery(&#39;#userstable&#39;).editGridRow(idsel,{height:180,width:250,url:&#34;edit_datatable.php?table_name=users&#38;fact=edit&#38;id=&#34;+id,reloadAfterSubmit:true,closeOnEscape:true});},
     delfunc:function(){var rowids=jQuery(&#39;#userstable&#39;).jqGrid(&#39;getCol&#39;,&#39;ID&#39;,false);var idsel=jQuery(&#39;#userstable&#39;).jqGrid(&#39;getGridParam&#39;,&#39;selrow&#39;);var id=rowids[idsel];jQuery(&#39;#userstable&#39;).delGridRow(idsel,{url:&#34;edit_datatable.php?table_name=users&#38;fact=del&#38;id=&#34;+id,reloadAfterSubmit:true,closeOnEscape:true});},refresh:true,search:true}, //options 
    {height:180,width:400,reloadAfterSubmit:true,bSubmit:&#39;Save&#39;,recreateForm:true}, // edit options 
    {height:180,width:400,reloadAfterSubmit:true,bSubmit:&#39;Save&#39;,recreateForm:true}, // add options 
    {reloadAfterSubmit:true}, // del options
    {});
});
</div></pre>
</p>
<p>which it looks like just ok.</p>
<p>Any trick is appreciate.. thanks</p>
</p>
<p>Luigi</p></p>
]]></description>
        	        	<pubDate>Wed, 07 Mar 2012 19:37:34 +0200</pubDate>
        </item>
</channel>
</rss>