<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Editing in jqGrid with asp.net mvc</title>
	<atom:link href="http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/</link>
	<description>My .net adventures</description>
	<lastBuildDate>Thu, 26 Nov 2009 10:05:10 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kaleem Khan</title>
		<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-509</link>
		<dc:creator>Kaleem Khan</dc:creator>
		<pubDate>Thu, 22 Oct 2009 17:48:28 +0000</pubDate>
		<guid isPermaLink="false">http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-509</guid>
		<description>I need to add an image column to this grid? and then I want to make a row item (not entire row) cliclable and make it look like underlined (href). are these things possible?</description>
		<content:encoded><![CDATA[<p>I need to add an image column to this grid? and then I want to make a row item (not entire row) cliclable and make it look like underlined (href). are these things possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-500</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 13 Aug 2009 13:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-500</guid>
		<description>Hi,

Nice article, but I wish to use jqgrid as client side editting only. So I leave the editURl empty string. In my submit I want among others get the data from the grid together with other data elements in my action. If I leave the value as is (0) I have no problems. Hoewever, when I edit the value and submit the form, I get the message that a potential dangerous message  is attempted. Anyone been there, done that?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Nice article, but I wish to use jqgrid as client side editting only. So I leave the editURl empty string. In my submit I want among others get the data from the grid together with other data elements in my action. If I leave the value as is (0) I have no problems. Hoewever, when I edit the value and submit the form, I get the message that a potential dangerous message  is attempted. Anyone been there, done that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rio</title>
		<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-497</link>
		<dc:creator>Rio</dc:creator>
		<pubDate>Fri, 07 Aug 2009 21:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-497</guid>
		<description>For those interested I&#039;ve made a fully working downloadable package available for free at

http://www.jqgrid.com

Cheers!</description>
		<content:encoded><![CDATA[<p>For those interested I&#8217;ve made a fully working downloadable package available for free at</p>
<p><a href="http://www.jqgrid.com" rel="nofollow">http://www.jqgrid.com</a></p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ericdotnet</title>
		<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-408</link>
		<dc:creator>ericdotnet</dc:creator>
		<pubDate>Fri, 08 May 2009 20:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-408</guid>
		<description>My guess would be that you could pass in a function into the editoptions values list, that retrieves the values from an url ? Haven&#039;t tried this yet though. 

Would be a good question for stackoverflow.com :).</description>
		<content:encoded><![CDATA[<p>My guess would be that you could pass in a function into the editoptions values list, that retrieves the values from an url ? Haven&#8217;t tried this yet though. </p>
<p>Would be a good question for stackoverflow.com <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-407</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Fri, 08 May 2009 17:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-407</guid>
		<description>I am trying to populate a select list (combo-box) from a query/url.
The field I am editing has a edittype:select
Here is a sample of what I am passing into the colModel of jqGrid.

colModel :[
					{name:&#039;id&#039;,index:&#039;id&#039;,hidden:true, width:0,resizable:true, sorttype:&quot;int&quot;,editrules:{readonly:true}},					
					{name:&#039;name&#039;,index:&#039;name&#039;, width:300,resizable:true, align:&quot;left&quot;,sorttype:&quot;text&quot;,editable:true,edittype:&quot;text&quot;,editoptions:{size:30,maxlength:50},editrules:{required:true}},
					{name:&#039;valstr&#039;,index:&#039;valstr&#039;, width:400,resizable:true, align:&quot;left&quot;,sorttype:&quot;text&quot;,editable:true,edittype:&quot;text&quot;,editoptions:{size:30,maxlength:50},editrules:{required:true}},
					{name:&#039;seqnum&#039;,index:&#039;seqnum&#039;, width:100,resizable:true, align:&quot;left&quot;,sorttype:&quot;int&quot;,editable:true,edittype:&quot;select&quot;,editoptions:{value:&quot;1:one;2:two&quot;},editrules:{required:true}}
				]


Notice the last field has edittype:select and value is hard-coded. I want to make the editoptions values populated from a query/url.

Any suggestions will be appreciated.</description>
		<content:encoded><![CDATA[<p>I am trying to populate a select list (combo-box) from a query/url.<br />
The field I am editing has a edittype:select<br />
Here is a sample of what I am passing into the colModel of jqGrid.</p>
<p>colModel :[<br />
					{name:'id',index:'id',hidden:true, width:0,resizable:true, sorttype:"int",editrules:{readonly:true}},<br />
					{name:'name',index:'name', width:300,resizable:true, align:"left",sorttype:"text",editable:true,edittype:"text",editoptions:{size:30,maxlength:50},editrules:{required:true}},<br />
					{name:'valstr',index:'valstr', width:400,resizable:true, align:"left",sorttype:"text",editable:true,edittype:"text",editoptions:{size:30,maxlength:50},editrules:{required:true}},<br />
					{name:'seqnum',index:'seqnum', width:100,resizable:true, align:"left",sorttype:"int",editable:true,edittype:"select",editoptions:{value:"1:one;2:two"},editrules:{required:true}}<br />
				]</p>
<p>Notice the last field has edittype:select and value is hard-coded. I want to make the editoptions values populated from a query/url.</p>
<p>Any suggestions will be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ericdotnet</title>
		<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-400</link>
		<dc:creator>ericdotnet</dc:creator>
		<pubDate>Tue, 05 May 2009 21:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-400</guid>
		<description>@Craig Thanks for the suggestions, I&#039;ll look into that soon. Think I got the code from the official docs.</description>
		<content:encoded><![CDATA[<p>@Craig Thanks for the suggestions, I&#8217;ll look into that soon. Think I got the code from the official docs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Stuntz</title>
		<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-399</link>
		<dc:creator>Craig Stuntz</dc:creator>
		<pubDate>Tue, 05 May 2009 21:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-399</guid>
		<description>The first thing I&#039;d suggest for cleaning up the JavaScript is to extract the in-line declaration of onSelectRow into a separate function. The second thing I&#039;d suggest is to only specify the options necessary for this specific grid in that method, and use the setGridDefaults method to set the options used for all grids in your application. That should cut the length of the JavaScript in question in half, at the very least.</description>
		<content:encoded><![CDATA[<p>The first thing I&#8217;d suggest for cleaning up the JavaScript is to extract the in-line declaration of onSelectRow into a separate function. The second thing I&#8217;d suggest is to only specify the options necessary for this specific grid in that method, and use the setGridDefaults method to set the options used for all grids in your application. That should cut the length of the JavaScript in question in half, at the very least.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad Azam</title>
		<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-398</link>
		<dc:creator>Mohammad Azam</dc:creator>
		<pubDate>Tue, 05 May 2009 21:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-398</guid>
		<description>Hi, 

I meant the JQuery part (JavaScript). Yeah! you are right! Not sure how to improve it further.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I meant the JQuery part (JavaScript). Yeah! you are right! Not sure how to improve it further.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ericdotnet</title>
		<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-396</link>
		<dc:creator>ericdotnet</dc:creator>
		<pubDate>Tue, 05 May 2009 21:02:17 +0000</pubDate>
		<guid isPermaLink="false">http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-396</guid>
		<description>You mean the javascript part of the save to database part ? The save to db code was just to show how the parameters come into the control. If you mean the js-part I fully agree :). Not quite sure how you could make that look better tbh !</description>
		<content:encoded><![CDATA[<p>You mean the javascript part of the save to database part ? The save to db code was just to show how the parameters come into the control. If you mean the js-part I fully agree <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Not quite sure how you could make that look better tbh !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad Azam</title>
		<link>http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-395</link>
		<dc:creator>Mohammad Azam</dc:creator>
		<pubDate>Tue, 05 May 2009 20:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://ericdotnet.wordpress.com/2009/05/02/editing-in-jqgrid-with-aspnet-mvc/#comment-395</guid>
		<description>Nice work! 

But I have to say that the code looks ugly!</description>
		<content:encoded><![CDATA[<p>Nice work! </p>
<p>But I have to say that the code looks ugly!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
