<?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: Version 3.5 Edit Grid Edit Url</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/version-35-edit-grid-edit-url</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/version-35-edit-grid-edit-url/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>dhubenov on Version 3.5 Edit Grid Edit Url</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/version-35-edit-grid-edit-url#p8981</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/version-35-edit-grid-edit-url#p8981</guid>
        	        	<description><![CDATA[<p><strong>restoreRow()</strong> - restores the data to original values before the editing of the row.  </p>
<p>Use <strong>saveRow()</strong> instead</p>
]]></description>
        	        	<pubDate>Wed, 26 Aug 2009 13:38:11 +0300</pubDate>
        </item>
        <item>
        	<title>jurrinus on Version 3.5 Edit Grid Edit Url</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/version-35-edit-grid-edit-url#p8977</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/version-35-edit-grid-edit-url#p8977</guid>
        	        	<description><![CDATA[<p>I have been all over trying to solve this problem and can&#39;t seem to put my finger on it. The environment is ASP.NET MVC.</p>
<p>Here is the grid setup:</p>
<p>&#160;<br />var List = function() {<br />return $("#MarketValuationAppraisalForm #MarketValuationAppraisalList")<br />};</p>
<p>List().jqGrid({<br />url: &#39;&#60;%= ResolveUrl("~/Appraisal/List") %&#62;/?projectId=&#39; + Project(),<br />datatype: &#39;json&#39;,<br />mtype: &#39;GET&#39;,<br />colNames: [&#39;PropertyId&#39;, &#39;ArtifactId&#39;, &#39;Issue Date&#39;, &#39;Document&#39;, &#39;Action&#39;, &#39;Submitted&#39;, &#39;Creator&#39;],<br />colModel: [<br />{ name: &#39;PropertyId&#39;, index: &#39;PropertyId&#39;, hidden: true, width: 150, align: &#39;left&#39;, editable: false },<br />{ name: &#39;ArtifactId&#39;, index: &#39;ArtifactId&#39;, hidden: true, width: 150, align: &#39;left&#39;, editable: false },<br />{ name: &#39;Date&#39;, index: &#39;Date&#39;, width: 150, align: &#39;left&#39;, editable: false },<br />{ name: &#39;Document&#39;, index: &#39;Document&#39;, width: 1000, align: &#39;left&#39;, editable: false },<br />{ name: &#39;Action&#39;, index: &#39;Action&#39;, width: 150, align: &#39;left&#39;, editable: true, edittype: "select", editoptions: { value: "&#60;%= ArtifactAction.Get(EnumArtifactTypes.Appraisal) %&#62;"} },<br />{ name: &#39;CreateDate&#39;, index: &#39;CreateDate&#39;, width: 150, align: &#39;left&#39;, editable: false },<br />{ name: &#39;Creator&#39;, index: &#39;Creator&#39;, width: 150, align: &#39;left&#39;, editable: false }<br />],<br />onSelectRow: function(id) {<br />if (id &#38;&#38; id !== lastsel2) {<br />List().restoreRow(lastsel2);<br />List().editRow(id, true);<br />lastsel2 = id;<br />}<br />},<br />rowList: [5, 10, 20],<br />sortorder: "asc",<br />altRows: true,<br />height: &#39;100%&#39;,<br />scroll: true,<br />autowidth: true,<br />viewrecords: true,<br />pager: jQuery(&#39;#MarketValuationAppraisalForm #pagered&#39;),<br />sortname: &#39;Date&#39;,<br />caption: &#39;Apparaisal&#39;,<br />editurl: &#39;&#60;%= ResolveUrl("~/Artifact/UpdateAction") %&#62;&#39;,<br />imgpath: &#39;/Content/jQueryGrid/themes/coffee/images&#39;<br />}).navGrid("#MarketValuationAppraisalForm #pagered", { edit: false, add: false, del: true }<br />);</p>
<p>I have inserted alerts and all seems to be functioning ok. I actually get into edit mode but when I step off the post does not occur.</p>
</p>
<p>Here is the server side:</p>
<p>[Authorize]<br />[AcceptVerbs(HttpVerbs.Post)]<br />public void UpdateAction(string id, string actionType, string action)<br />{<br />string s = action;<br />}</p>
</p>
<p>I have tried both a post and get.</p>
</p>
<p>Here are the js files I am using. Note I am using 3.5.</p>
<p>&#160;&#60;script src="../../Scripts/jqGrid/JqGridLanguage/grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;</p>
</p>
<p>&#60;script src="../../Scripts/jqGrid/grid.treegrid.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script src="../../Scripts/jqGrid/grid.common.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script src="../../Scripts/jqGrid/grid.base.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script src="../../Scripts/jqGrid/jqDnR.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script src="../../Scripts/jqGrid/jqModal.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script src="../../Scripts/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>
Many Thanks!</p>
</p>
<p>Jerry</p>
]]></description>
        	        	<pubDate>Wed, 26 Aug 2009 09:47:42 +0300</pubDate>
        </item>
</channel>
</rss>