<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.lhotka.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>CSLA .NET discussion</title><link>http://forums.lhotka.net/forums/5.aspx</link><description>General discussion about CSLA .NET</description><dc:language /><generator>CommunityServer 2008.5 SP3 (Build: 36.8414)</generator><item><title>Re: ASP.NET MVC (3) and CSLA Child collections</title><link>http://forums.lhotka.net/forums/thread/51918.aspx</link><pubDate>Sun, 19 Feb 2012 00:59:41 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51918</guid><dc:creator>Curelom</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51918.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51918</wfw:commentRss><description>&lt;p&gt;Dan,&lt;/p&gt;
&lt;p&gt;How did you get a ER to bind Ajax with the Telerik MVC grid.&amp;nbsp; Whenever I try, I get a circular reference error.&amp;nbsp; It works if I change my ER to a ROR.&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t have any help for your problem though.&amp;nbsp; Sorry.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: ASP.NET MVC (3) and CSLA Child collections</title><link>http://forums.lhotka.net/forums/thread/47204.aspx</link><pubDate>Fri, 11 Feb 2011 17:22:26 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:47204</guid><dc:creator>richardb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/47204.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=47204</wfw:commentRss><description>&lt;p&gt;&lt;span style="font-family:Arial;color:black;"&gt;Using the Telerik MVC 3 grid here with Ajax and I&amp;#39;m afraid it&amp;#39;s edit one row at a time currently - haven&amp;#39;t figured out if its possible yet - certainly no examples around.&amp;nbsp; So we are pretty much doing option 2.&amp;nbsp; I did see a wish list request on the Telerik site asking for multi-row edit and batch submit, so maybe we&amp;#39;ll get it down the road.&amp;nbsp; &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Arial;color:black;"&gt;Like the ideas of MVC but at the moment we lose that rapid UI development and cool controls.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Arial;color:black;"&gt;Sorry, not much help there.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Arial;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Arial;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: ASP.NET MVC (3) and CSLA Child collections</title><link>http://forums.lhotka.net/forums/thread/47189.aspx</link><pubDate>Thu, 10 Feb 2011 20:13:31 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:47189</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/47189.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=47189</wfw:commentRss><description>&lt;p&gt;I am interested in insights people can provide as well.&lt;/p&gt;
&lt;p&gt;The built-in support for collections provided by MVC is (imo) underwhelming. Do third-party controls like the Telerik one provide a better model for dealing with collections?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>ASP.NET MVC (3) and CSLA Child collections</title><link>http://forums.lhotka.net/forums/thread/47186.aspx</link><pubDate>Thu, 10 Feb 2011 18:00:22 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:47186</guid><dc:creator>Dan Lewis</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/47186.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=47186</wfw:commentRss><description>&lt;p&gt;Although I have searched the forums and seen a number of posts on using MVC with CSLA (one of which was &lt;a href="http://forums.lhotka.net/forums/p/9419/44639.aspx#44639"&gt;specifically on child collections&lt;/a&gt;!) none of them seem to answer the specific question around having an MVC View for an ER and an ECC.&lt;/p&gt;
&lt;p&gt;In this scenario, let&amp;#39;s say we have a Customer ER, with an ECC of Addresses. In our use-case we have to have the address collection displayed and edited on the same form as the main customer.&lt;/p&gt;
&lt;p&gt;I am using the Telerik MVC controls, and would like to use their grid control for editing the Addresses ECC, which in turn can take a controller / action (either by Ajax or full Server post-back) for each crud operation.&lt;/p&gt;
&lt;p&gt;At the moment I can see a couple of ways of doing this but would like to gather thoughts / feedback from anyone who has experience with this particular scenario:&lt;/p&gt;
&lt;p&gt;1) Somehow add each entry to the grid client-side and process everything as part of the main form submission (would the model binder know how to handle the grid or would this need to be done manually?)&lt;/p&gt;
&lt;p&gt;2) Make the grid call into an action method on the controller either via ajax or post-back for each child that is added / edited / deleted etc, but if this were the case, then I guess I&amp;#39;d have to either keep the whole ER in session or persist it to the db and retrieve it on each request in order to maintain the list of children?&lt;/p&gt;
&lt;p&gt;as said, if anyone has any pointers on the best way to handle this scenario in MVC they would be gratefully received.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>