<?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"
	>
<channel>
	<title>Comments on: Using jqGrid with ASP.NET MVC: Finally, A Solution</title>
	<atom:link href="http://blogs.teamb.com/craigstuntz/2009/04/17/38229/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.teamb.com/craigstuntz/2009/04/17/38229/</link>
	<description>C# • Delphi • Entity Framework • Functional Programming • InterBase • MVC • .NET • Web</description>
	<pubDate>Wed, 17 Mar 2010 23:11:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Jan de Jager</title>
		<link>http://blogs.teamb.com/craigstuntz/2009/04/17/38229/#comment-10378</link>
		<dc:creator>Jan de Jager</dc:creator>
		<pubDate>Sat, 24 Oct 2009 08:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/?p=38229#comment-10378</guid>
		<description>Hi craig, awesome work on creating this solution. I just seem to be missing something. According to jqgrid the rows data structure is as follows:
{id=numbervalue, {cell=[array of values]}}

and yours is just the key-value pairs?

I had my own manual setup to pass the json data to the grid but wanted to implement yours due to the less code required. But, now the grid doesn't  understand the data... I tried using the version of jqgrid in your sample sollution, but still nothing...</description>
		<content:encoded><![CDATA[<p>Hi craig, awesome work on creating this solution. I just seem to be missing something. According to jqgrid the rows data structure is as follows:<br />
{id=numbervalue, {cell=[array of values]}}</p>
<p>and yours is just the key-value pairs?</p>
<p>I had my own manual setup to pass the json data to the grid but wanted to implement yours due to the less code required. But, now the grid doesn&#8217;t  understand the data&#8230; I tried using the version of jqgrid in your sample sollution, but still nothing&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rushi</title>
		<link>http://blogs.teamb.com/craigstuntz/2009/04/17/38229/#comment-9617</link>
		<dc:creator>Rushi</dc:creator>
		<pubDate>Fri, 18 Sep 2009 15:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/?p=38229#comment-9617</guid>
		<description>Thanks Craig for a nice article. However, when I download and run the code, I get a javascript error "Microsoft JScript runtime error: '$.jgrid' is null or not an object" in Site.Master.js. I am new to jQuery grid so I am not sure what could be wrong. I tried playing with paths in the jQuery.jqGrid.js file but no luck. I simply downloaded the code, extracted it, opened VS2008 that automatically created the virtual directory and hit F5. I see the error right away. Any help would be appreciated. Thanks a lot !!</description>
		<content:encoded><![CDATA[<p>Thanks Craig for a nice article. However, when I download and run the code, I get a javascript error "Microsoft JScript runtime error: &#8216;$.jgrid&#8217; is null or not an object" in Site.Master.js. I am new to jQuery grid so I am not sure what could be wrong. I tried playing with paths in the jQuery.jqGrid.js file but no luck. I simply downloaded the code, extracted it, opened VS2008 that automatically created the virtual directory and hit F5. I see the error right away. Any help would be appreciated. Thanks a lot !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Stuntz</title>
		<link>http://blogs.teamb.com/craigstuntz/2009/04/17/38229/#comment-9536</link>
		<dc:creator>Craig Stuntz</dc:creator>
		<pubDate>Mon, 14 Sep 2009 15:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/?p=38229#comment-9536</guid>
		<description>Mike, the query in my project works fine as it is. If you need help with LINQ to SQL, I'd suggest posting the details of your problem on http://www.stackoverflow.com

If you think the errors are in my code, you'd need to tell me what they are for me to be of any help. But do read the "LINQ Errors" entry in this series first, as it may already answer your questions.</description>
		<content:encoded><![CDATA[<p>Mike, the query in my project works fine as it is. If you need help with LINQ to SQL, I&#8217;d suggest posting the details of your problem on <a href="http://www.stackoverflow.com" rel="nofollow">http://www.stackoverflow.com</a></p>
<p>If you think the errors are in my code, you&#8217;d need to tell me what they are for me to be of any help. But do read the "LINQ Errors" entry in this series first, as it may already answer your questions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.teamb.com/craigstuntz/2009/04/17/38229/#comment-9535</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 14 Sep 2009 15:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/?p=38229#comment-9535</guid>
		<description>Craig - Thanks for the demo. I'm trying to get my head around MVC and Linq and I'm having a disconnect in your repository function where you generate sample data. Could you please show me how to get a real LINQ select query (with multiple joins) to work. I'm getting errors I can't get around trying to use this. I'm sure its simple I just can't get past it.
Thanks - Mike</description>
		<content:encoded><![CDATA[<p>Craig - Thanks for the demo. I&#8217;m trying to get my head around MVC and Linq and I&#8217;m having a disconnect in your repository function where you generate sample data. Could you please show me how to get a real LINQ select query (with multiple joins) to work. I&#8217;m getting errors I can&#8217;t get around trying to use this. I&#8217;m sure its simple I just can&#8217;t get past it.<br />
Thanks - Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lim san</title>
		<link>http://blogs.teamb.com/craigstuntz/2009/04/17/38229/#comment-8865</link>
		<dc:creator>lim san</dc:creator>
		<pubDate>Fri, 17 Jul 2009 13:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/?p=38229#comment-8865</guid>
		<description>Thank you, I've been looking how to use grid in MVC.</description>
		<content:encoded><![CDATA[<p>Thank you, I&#8217;ve been looking how to use grid in MVC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Stuntz&#8217;s Weblog : Using jqGrid with ASP.NET MVC: Search and Formatting</title>
		<link>http://blogs.teamb.com/craigstuntz/2009/04/17/38229/#comment-5975</link>
		<dc:creator>Craig Stuntz&#8217;s Weblog : Using jqGrid with ASP.NET MVC: Search and Formatting</dc:creator>
		<pubDate>Mon, 27 Apr 2009 12:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/?p=38229#comment-5975</guid>
		<description>[...] implement a search feature and fix the problem with formatting date columns which I observed in the last post. I&#8217;ve updated the demo solution with these new features, and also fixed a bug reported by [...]</description>
		<content:encoded><![CDATA[<p>[...] implement a search feature and fix the problem with formatting date columns which I observed in the last post. I&#8217;ve updated the demo solution with these new features, and also fixed a bug reported by [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Stuntz</title>
		<link>http://blogs.teamb.com/craigstuntz/2009/04/17/38229/#comment-5755</link>
		<dc:creator>Craig Stuntz</dc:creator>
		<pubDate>Tue, 21 Apr 2009 19:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/?p=38229#comment-5755</guid>
		<description>Thanks,  Andrey. I changed from our internal PagedList to Troy Goode's publicly available PagedList for this demo, and his works different than ours does. I will fix that bug for the next drop, which will come when I post the next article in this series. I appreciate you pointing this out.</description>
		<content:encoded><![CDATA[<p>Thanks,  Andrey. I changed from our internal PagedList to Troy Goode&#8217;s publicly available PagedList for this demo, and his works different than ours does. I will fix that bug for the next drop, which will come when I post the next article in this series. I appreciate you pointing this out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey</title>
		<link>http://blogs.teamb.com/craigstuntz/2009/04/17/38229/#comment-5754</link>
		<dc:creator>Andrey</dc:creator>
		<pubDate>Tue, 21 Apr 2009 19:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/?p=38229#comment-5754</guid>
		<description>Hi Craig,

I appreciate your example very much!
Just want to inform you about a bug: page numbering is started from 1, not from 0.
So, your linq extension methods return records starting from 11 to 20 on the first page, while should 1-10.


If change code like the following:
			var jsonData = new DbModelDataContext().TourOrderGrids
				.ToJqGridData(
				page-1, rows, sidx + " " + sord, search,
				new[]
					{
						"Id", "OrderNo", "OrderDate", "OrderCreatedByUserName",
						"TourName", "TourDate", "AgencyName", "Sum", "StatusName"
					},
				null);
			jsonData.Page++;
everything work fine.</description>
		<content:encoded><![CDATA[<p>Hi Craig,</p>
<p>I appreciate your example very much!<br />
Just want to inform you about a bug: page numbering is started from 1, not from 0.<br />
So, your linq extension methods return records starting from 11 to 20 on the first page, while should 1-10.</p>
<p>If change code like the following:<br />
			var jsonData = new DbModelDataContext().TourOrderGrids<br />
				.ToJqGridData(<br />
				page-1, rows, sidx + " " + sord, search,<br />
				new[]<br />
					{<br />
						"Id", "OrderNo", "OrderDate", "OrderCreatedByUserName",<br />
						"TourName", "TourDate", "AgencyName", "Sum", "StatusName"<br />
					},<br />
				null);<br />
			jsonData.Page++;<br />
everything work fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jones</title>
		<link>http://blogs.teamb.com/craigstuntz/2009/04/17/38229/#comment-5738</link>
		<dc:creator>Jones</dc:creator>
		<pubDate>Tue, 21 Apr 2009 10:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.teamb.com/craigstuntz/?p=38229#comment-5738</guid>
		<description>Nice Blog...</description>
		<content:encoded><![CDATA[<p>Nice Blog&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
