<?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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for RAD for N-Tier web apps in .NET</title>
	<atom:link href="http://xlib.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://xlib.wordpress.com</link>
	<description>Trials and tribulations while building the framework for quickly developing N-Tier applications in .NET environment</description>
	<lastBuildDate>Thu, 15 Oct 2009 12:58:16 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on ASP.NET MVC Grid – Part 4 &#8211; View Models, Unit Testing, Keyword Search by rowenadev09</title>
		<link>http://xlib.wordpress.com/2009/07/06/asp-net-mvc-grid-%e2%80%93-part-4-view-models-unit-testing-keyword-search/#comment-109</link>
		<dc:creator>rowenadev09</dc:creator>
		<pubDate>Thu, 15 Oct 2009 12:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://xlib.wordpress.com/?p=198#comment-109</guid>
		<description>the post is really nice and its working  with my mvc 

how about converting the list of customers to a list of customers from a database using linq to sql.

i am new to mvc and trying to create a maintenance form. 

your response would be a great help

thanks</description>
		<content:encoded><![CDATA[<p>the post is really nice and its working  with my mvc </p>
<p>how about converting the list of customers to a list of customers from a database using linq to sql.</p>
<p>i am new to mvc and trying to create a maintenance form. </p>
<p>your response would be a great help</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET MVC Grid – Part 7 – Reusable control by exiang</title>
		<link>http://xlib.wordpress.com/2009/07/25/asp-net-mvc-grid-%e2%80%93-part-7-%e2%80%93-reusable-control/#comment-108</link>
		<dc:creator>exiang</dc:creator>
		<pubDate>Mon, 05 Oct 2009 07:29:23 +0000</pubDate>
		<guid isPermaLink="false">http://xlib.wordpress.com/?p=363#comment-108</guid>
		<description>The fix on pager.cs (//handle a case when user deleted all rows on last page) do not really works when u pass in an impossible Pager.CurrentPage value.

This is because the in the CustomerController.cs -&gt; FillGridData() function, grid was bind to criteria before _grid.Pager.Init(totalRows) is called. The fix does change the CurrentPage value in Pager but not the criteria.PageIndex value. In result, a error message shows (There are no customers that match specified criteria).

To fix this problem, just insert this line after _grid.Pager.Init(totalRows):
criteria.PageIndex = _grid.Pager.CurrentPage;

Now, the last page will always shows regardless what ur Pager.CurrentPage value is.</description>
		<content:encoded><![CDATA[<p>The fix on pager.cs (//handle a case when user deleted all rows on last page) do not really works when u pass in an impossible Pager.CurrentPage value.</p>
<p>This is because the in the CustomerController.cs -&gt; FillGridData() function, grid was bind to criteria before _grid.Pager.Init(totalRows) is called. The fix does change the CurrentPage value in Pager but not the criteria.PageIndex value. In result, a error message shows (There are no customers that match specified criteria).</p>
<p>To fix this problem, just insert this line after _grid.Pager.Init(totalRows):<br />
criteria.PageIndex = _grid.Pager.CurrentPage;</p>
<p>Now, the last page will always shows regardless what ur Pager.CurrentPage value is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET MVC Grid – Part 7 – Reusable control by dejoie01</title>
		<link>http://xlib.wordpress.com/2009/07/25/asp-net-mvc-grid-%e2%80%93-part-7-%e2%80%93-reusable-control/#comment-107</link>
		<dc:creator>dejoie01</dc:creator>
		<pubDate>Tue, 08 Sep 2009 06:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://xlib.wordpress.com/?p=363#comment-107</guid>
		<description>It&#039;s me again to give you more detail about my browser: I use IE8.

Thanks.</description>
		<content:encoded><![CDATA[<p>It&#8217;s me again to give you more detail about my browser: I use IE8.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET MVC Grid – Part 7 – Reusable control by dejoie01</title>
		<link>http://xlib.wordpress.com/2009/07/25/asp-net-mvc-grid-%e2%80%93-part-7-%e2%80%93-reusable-control/#comment-106</link>
		<dc:creator>dejoie01</dc:creator>
		<pubDate>Tue, 08 Sep 2009 06:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://xlib.wordpress.com/?p=363#comment-106</guid>
		<description>Hello,

This is really a very good component. Thanks to shared it for everyone.

I noticed an issue in the demo page: click on the search button several times causes the grid to show up multiple times within the page.

Any idea why ?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>This is really a very good component. Thanks to shared it for everyone.</p>
<p>I noticed an issue in the demo page: click on the search button several times causes the grid to show up multiple times within the page.</p>
<p>Any idea why ?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET MVC Grid – Part 7 – Reusable control by Eric P</title>
		<link>http://xlib.wordpress.com/2009/07/25/asp-net-mvc-grid-%e2%80%93-part-7-%e2%80%93-reusable-control/#comment-105</link>
		<dc:creator>Eric P</dc:creator>
		<pubDate>Thu, 27 Aug 2009 00:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://xlib.wordpress.com/?p=363#comment-105</guid>
		<description>Found the fix for IE issue.  The problem had to do with the following line in _Grid.ascx:
[sourcecode language=&quot;html&quot;]
&lt;div style=&quot;clear: both;&quot;/&gt;
[/sourcecode]

Seems like IE doesn&#039;t know how to handle self-closing div tags.  It was ignoring the closing of the div, so from IEs perspective - AJAX was returning malformed HTML - which resulted in the multiplicity.

Changing the line to:
[sourcecode language=&quot;html&quot;]
&lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt;
[/sourcecode]

fixes the issue and I will include it in upcoming update.

A simple google search showed that there are other people who experienced the same problem. For ex. here:
http://blog.seanmcg.com/?p=176

</description>
		<content:encoded><![CDATA[<p>Found the fix for IE issue.  The problem had to do with the following line in _Grid.ascx:</p>
<pre class="brush: xml;">
&lt;div style=&quot;clear: both;&quot;/&gt;
</pre>
<p>Seems like IE doesn&#8217;t know how to handle self-closing div tags.  It was ignoring the closing of the div, so from IEs perspective &#8211; AJAX was returning malformed HTML &#8211; which resulted in the multiplicity.</p>
<p>Changing the line to:</p>
<pre class="brush: xml;">
&lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt;
</pre>
<p>fixes the issue and I will include it in upcoming update.</p>
<p>A simple google search showed that there are other people who experienced the same problem. For ex. here:<br />
<a href="http://blog.seanmcg.com/?p=176" rel="nofollow">http://blog.seanmcg.com/?p=176</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET MVC Grid – Part 7 – Reusable control by Chris F</title>
		<link>http://xlib.wordpress.com/2009/07/25/asp-net-mvc-grid-%e2%80%93-part-7-%e2%80%93-reusable-control/#comment-104</link>
		<dc:creator>Chris F</dc:creator>
		<pubDate>Thu, 13 Aug 2009 16:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://xlib.wordpress.com/?p=363#comment-104</guid>
		<description>I wanted to point out a couple of other things.

This specific design works very well for in-memory objects, but not well with database driven apps. At the moment, I&#039;m trying to integrate this into a multi-layered application built on of S#arp Architecture. The EntityCriteria that builds the query that allows for all of the paging, sorting, and searching works off an in-memory object. When integrating with NHibernate, the code needs to be changed to build an NH query accordingly so that only the data that&#039;s necessary for this page, with these search parameters, in this order are fetched. I&#039;ve yet to do this and it&#039;s sitting on my todo list.

Furthermore, the separation of classes in various namespaces and layers get more complicated. At the moment, I&#039;ve appended the Grid, IGrid, Pager, SearchForm, and Sorter classes with &quot;ViewModel&quot; and put them in my Web.Controllers project in a \ViewModels\Shared folder. I&#039;ve striped out the binders from Utils and put them into GridBinders.cs, and I renamed GridStateService to GridStateManager and put this all in \Grid in the same project. The other utility classes landed in my Utility project.

Then there&#039;s the challenge: where to put the EntityCriteria and its inheriting classes. They may belong in the Core (Domain) project, which is where the domain entities reside, but with the data access modifications mentioned above, they really need to be with the data repositories. So a natural fit seems the Data project. The Controllers should also access them via an Application Service, rather than directly. This poses the separation of concerns and loose coupling challenge. Application Services should have Data related objects injected (persistence ignorance), and Controllers should have Application Services injected, which begs the question, how do you expose the functionality of EntityCriteria that reside in the Data project? For example, the SortDirection enum will need to be moved or duplicated.

I&#039;m currently toying with some ideas for using interfaces and such to see what I can figure out. This is my very next todo. Then I&#039;ll have to spend some time unit testing this infrastructure.

I really like the base design, thanks for sharing, and please feel free to discuss implications such as the ones I&#039;ve mentioned.</description>
		<content:encoded><![CDATA[<p>I wanted to point out a couple of other things.</p>
<p>This specific design works very well for in-memory objects, but not well with database driven apps. At the moment, I&#8217;m trying to integrate this into a multi-layered application built on of S#arp Architecture. The EntityCriteria that builds the query that allows for all of the paging, sorting, and searching works off an in-memory object. When integrating with NHibernate, the code needs to be changed to build an NH query accordingly so that only the data that&#8217;s necessary for this page, with these search parameters, in this order are fetched. I&#8217;ve yet to do this and it&#8217;s sitting on my todo list.</p>
<p>Furthermore, the separation of classes in various namespaces and layers get more complicated. At the moment, I&#8217;ve appended the Grid, IGrid, Pager, SearchForm, and Sorter classes with &#8220;ViewModel&#8221; and put them in my Web.Controllers project in a \ViewModels\Shared folder. I&#8217;ve striped out the binders from Utils and put them into GridBinders.cs, and I renamed GridStateService to GridStateManager and put this all in \Grid in the same project. The other utility classes landed in my Utility project.</p>
<p>Then there&#8217;s the challenge: where to put the EntityCriteria and its inheriting classes. They may belong in the Core (Domain) project, which is where the domain entities reside, but with the data access modifications mentioned above, they really need to be with the data repositories. So a natural fit seems the Data project. The Controllers should also access them via an Application Service, rather than directly. This poses the separation of concerns and loose coupling challenge. Application Services should have Data related objects injected (persistence ignorance), and Controllers should have Application Services injected, which begs the question, how do you expose the functionality of EntityCriteria that reside in the Data project? For example, the SortDirection enum will need to be moved or duplicated.</p>
<p>I&#8217;m currently toying with some ideas for using interfaces and such to see what I can figure out. This is my very next todo. Then I&#8217;ll have to spend some time unit testing this infrastructure.</p>
<p>I really like the base design, thanks for sharing, and please feel free to discuss implications such as the ones I&#8217;ve mentioned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET MVC Grid – Part 7 – Reusable control by Chris F</title>
		<link>http://xlib.wordpress.com/2009/07/25/asp-net-mvc-grid-%e2%80%93-part-7-%e2%80%93-reusable-control/#comment-103</link>
		<dc:creator>Chris F</dc:creator>
		<pubDate>Wed, 12 Aug 2009 19:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://xlib.wordpress.com/?p=363#comment-103</guid>
		<description>I love your blog series and have learned a lot from you. I&#039;m looking to use your grid in my next project. I&#039;ve also noticed the bug mentioned by mvcjunkie, as well as another. When I delete the last row on a page, rather than seeing the prior page, I see the message &quot;There are no customers that match specified criteria.&quot; I have to manually click &quot;Search&quot; again with an empty search box to see the prior page.

I personally think you should package the code components of this project as a DLL, with a guideline of how to create the ASCX / ASPX file required to have a grid. The JS and CSS files could be packed as required components to import.

All in all, this is fantastic and could become a huge MVC component in the open source community. Thanks for taking the time to code it.</description>
		<content:encoded><![CDATA[<p>I love your blog series and have learned a lot from you. I&#8217;m looking to use your grid in my next project. I&#8217;ve also noticed the bug mentioned by mvcjunkie, as well as another. When I delete the last row on a page, rather than seeing the prior page, I see the message &#8220;There are no customers that match specified criteria.&#8221; I have to manually click &#8220;Search&#8221; again with an empty search box to see the prior page.</p>
<p>I personally think you should package the code components of this project as a DLL, with a guideline of how to create the ASCX / ASPX file required to have a grid. The JS and CSS files could be packed as required components to import.</p>
<p>All in all, this is fantastic and could become a huge MVC component in the open source community. Thanks for taking the time to code it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET MVC Grid – Part 7 – Reusable control by mvcjunkie</title>
		<link>http://xlib.wordpress.com/2009/07/25/asp-net-mvc-grid-%e2%80%93-part-7-%e2%80%93-reusable-control/#comment-102</link>
		<dc:creator>mvcjunkie</dc:creator>
		<pubDate>Mon, 10 Aug 2009 19:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://xlib.wordpress.com/?p=363#comment-102</guid>
		<description>This is a very nice control and great article series. I really enjoyed reading. One major thing I am not sure anyone has noticed yet. In IE7, using the sample page as well as the downloaded code on my own environment, the grid has serious issues. For one, clicking a column twice, once to sort one way, then a second time to sort the opposite direction, causes the grid to show up multiple times within the page. Every sort operation thereafter, creates yet another grid within the page. This does not seem to happen in firefox.</description>
		<content:encoded><![CDATA[<p>This is a very nice control and great article series. I really enjoyed reading. One major thing I am not sure anyone has noticed yet. In IE7, using the sample page as well as the downloaded code on my own environment, the grid has serious issues. For one, clicking a column twice, once to sort one way, then a second time to sort the opposite direction, causes the grid to show up multiple times within the page. Every sort operation thereafter, creates yet another grid within the page. This does not seem to happen in firefox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET MVC Grid – Part 7 – Reusable control by toau2009</title>
		<link>http://xlib.wordpress.com/2009/07/25/asp-net-mvc-grid-%e2%80%93-part-7-%e2%80%93-reusable-control/#comment-101</link>
		<dc:creator>toau2009</dc:creator>
		<pubDate>Thu, 06 Aug 2009 11:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://xlib.wordpress.com/?p=363#comment-101</guid>
		<description>Hello,
It&#039;s me again.
I tried to put three tables/queries in the same page. I create a FormViewModle with three grid controls on it.
It does work. But one more issue, pageSizeDownList doesn&#039;t work. I don&#039;t know to deal with the pageSizeDownList. Could you help me? 

Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Hello,<br />
It&#8217;s me again.<br />
I tried to put three tables/queries in the same page. I create a FormViewModle with three grid controls on it.<br />
It does work. But one more issue, pageSizeDownList doesn&#8217;t work. I don&#8217;t know to deal with the pageSizeDownList. Could you help me? </p>
<p>Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET MVC Grid – Part 7 – Reusable control by toau2009</title>
		<link>http://xlib.wordpress.com/2009/07/25/asp-net-mvc-grid-%e2%80%93-part-7-%e2%80%93-reusable-control/#comment-100</link>
		<dc:creator>toau2009</dc:creator>
		<pubDate>Thu, 06 Aug 2009 06:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://xlib.wordpress.com/?p=363#comment-100</guid>
		<description>Thank you very much.
Could you please help me to answer two more questions?
1. I want put multiple tables/queries in the same page. How to use this grid control to show them in the same page?

2. How to process multiple forms in the same page? There are small login box and search box in my page, but only the first form could be submit, how to submit second or third form in the same page?

Thanks you again.</description>
		<content:encoded><![CDATA[<p>Thank you very much.<br />
Could you please help me to answer two more questions?<br />
1. I want put multiple tables/queries in the same page. How to use this grid control to show them in the same page?</p>
<p>2. How to process multiple forms in the same page? There are small login box and search box in my page, but only the first form could be submit, how to submit second or third form in the same page?</p>
<p>Thanks you again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
