<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.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>Melvyn Harbour - All Comments</title><link>http://weblogs.asp.net/melvynharbour/default.aspx</link><description>Software Developer living in Cambridge, England and working for Red Gate</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: Combining ASP.NET MVC and ASP.NET Charting Controls</title><link>http://weblogs.asp.net/melvynharbour/archive/2008/11/25/combining-asp-net-mvc-and-asp-net-charting-controls.aspx#7244825</link><pubDate>Sun, 01 Nov 2009 23:08:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7244825</guid><dc:creator>anuana2002</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I want to display chart control inside the user control (ascx) page. In aspx page, it works perfect, but it gives error when I use the chart control inside ascx page. Can anybody tell me solution for that?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;anuana&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7244825" width="1" height="1"&gt;</description></item><item><title>Twitter Trackbacks for                 Using StackExchange to produce Ask SQL Server Central - Melvyn Harbour         [asp.net]        on Topsy.com</title><link>http://weblogs.asp.net/melvynharbour/archive/2009/10/14/using-stackexchange-to-produce-ask-sql-server-central.aspx#7229792</link><pubDate>Wed, 14 Oct 2009 15:18:24 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7229792</guid><dc:creator>Twitter Trackbacks for                 Using StackExchange to produce Ask SQL Server Central - Melvyn Harbour         [asp.net]        on Topsy.com</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Twitter Trackbacks for &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Using StackExchange to produce Ask SQL Server Central - Melvyn Harbour &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [asp.net] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;on Topsy.com&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7229792" width="1" height="1"&gt;</description></item><item><title>Baby names search - Search for Liviu</title><link>http://weblogs.asp.net/melvynharbour/archive/2008/07/30/clean-separation-of-concerns-in-mvc.aspx#7202003</link><pubDate>Sat, 12 Sep 2009 07:07:38 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7202003</guid><dc:creator>Baby names search - Search for Liviu</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Baby names search - Search for Liviu&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7202003" width="1" height="1"&gt;</description></item><item><title>re: MVC ModelBinder and Localization</title><link>http://weblogs.asp.net/melvynharbour/archive/2008/11/21/mvc-modelbinder-and-localization.aspx#7182897</link><pubDate>Thu, 27 Aug 2009 09:41:35 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7182897</guid><dc:creator>Richard Kimber</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thought you might be interested in my version (bound to DateTime?). I'm not sure I entirely agree with the reasons for ignoring the culture in the query string. As far as I concerned, the culture constitutes part of the contract between the client and server. If I was using a US site, I'd expect to use the US format, however odd I think it is :)&lt;/p&gt;
&lt;p&gt;I haven't explicitly defined the culture as I have it set in the web.config.&lt;/p&gt;
&lt;p&gt;public class UKDateTimeModelBinder : IModelBinder {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;public object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var date = bindingContext.ValueProvider[bindingContext.ModelName].AttemptedValue;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (String.IsNullOrEmpty(date))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bindingContext.ModelState.SetModelValue(bindingContext.ModelName, bindingContext.ValueProvider[bindingContext.ModelName]);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return DateTime.Parse(date);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (Exception) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bindingContext.ModelState.AddModelError(bindingContext.ModelName, String.Format(&amp;quot;\&amp;quot;{0}\&amp;quot; is invalid.&amp;quot;, bindingContext.ModelName));&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7182897" width="1" height="1"&gt;</description></item><item><title>re: Combining ASP.NET MVC and ASP.NET Charting Controls</title><link>http://weblogs.asp.net/melvynharbour/archive/2008/11/25/combining-asp-net-mvc-and-asp-net-charting-controls.aspx#7179804</link><pubDate>Mon, 24 Aug 2009 09:22:53 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7179804</guid><dc:creator>MelvynHarbour</dc:creator><description>&lt;p&gt;@jbailey,&lt;/p&gt;
&lt;p&gt;Yes, you're quite right about the MVC pattern and the nature of its HTML output. I guess I was more making a comment regarding WebForms vs ASP.NET MVC - the former tends (through WebControls) to force you towards rather mucky HTML, whereas the latter allows you (if you so choose!) to write much cleaner HTML. Of course you're still free to write utter rubbish if you so want!&lt;/p&gt;
&lt;p&gt;I don't know off hand whether the charts support drill down or not. If they do, it won't be supported with the example above due to the lack of a form runat server. Since the chart controls weren't written taking account of ASP.NET MVC, there's no built in support for it.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7179804" width="1" height="1"&gt;</description></item><item><title>re: Combining ASP.NET MVC and ASP.NET Charting Controls</title><link>http://weblogs.asp.net/melvynharbour/archive/2008/11/25/combining-asp-net-mvc-and-asp-net-charting-controls.aspx#7179405</link><pubDate>Mon, 24 Aug 2009 01:16:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7179405</guid><dc:creator>jbailey@baileysc.com</dc:creator><description>&lt;p&gt;Clean control of HTML isn't a benefit of MVC, its from not using server controls. &amp;nbsp;No where in the MVC pattern will you find anything that specifies how your view is rendered. &amp;nbsp;MVC is the pattern of separating the concerns of your application between data access (model), application flow and business logic (control), and presentation (view). &amp;nbsp;Whether the view is rendered with straight HTML, server controls or even Silverlight is irrevelant to the MVC pattern.&lt;/p&gt;
&lt;p&gt;Also it should be noted that server controls won't work unexpectedly without the runat=server tag, they wont' work at all. &amp;nbsp;A server form is required for any server control, but this doesn't affect the MVC pattern.&lt;/p&gt;
&lt;p&gt;Don't these charts support drill down? &amp;nbsp;Is there a way to get the chart to render this as links to action methods or does it generate a postback you have to deal with?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7179405" width="1" height="1"&gt;</description></item><item><title>re: Combining ASP.NET MVC and ASP.NET Charting Controls</title><link>http://weblogs.asp.net/melvynharbour/archive/2008/11/25/combining-asp-net-mvc-and-asp-net-charting-controls.aspx#7175232</link><pubDate>Thu, 20 Aug 2009 15:59:26 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7175232</guid><dc:creator>Paulo Aboim Pinto</dc:creator><description>&lt;p&gt;Nice article .. &lt;/p&gt;
&lt;p&gt;can you post a full example of interaction with the controllers?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Paulo Aboim Pinto&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7175232" width="1" height="1"&gt;</description></item><item><title>re: Combining ASP.NET MVC and ASP.NET Charting Controls</title><link>http://weblogs.asp.net/melvynharbour/archive/2008/11/25/combining-asp-net-mvc-and-asp-net-charting-controls.aspx#7161137</link><pubDate>Tue, 04 Aug 2009 15:51:13 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7161137</guid><dc:creator>Jim Morrison</dc:creator><description>&lt;p&gt;I noticed that no image map is generated when rendering the Chart in an MVC page. &amp;nbsp;Has anyone found a workaround? Would like to map hyperlinks to the image map (as opposed to postbacks). &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7161137" width="1" height="1"&gt;</description></item><item><title>re: Combining ASP.NET MVC and ASP.NET Charting Controls</title><link>http://weblogs.asp.net/melvynharbour/archive/2008/11/25/combining-asp-net-mvc-and-asp-net-charting-controls.aspx#7157529</link><pubDate>Thu, 30 Jul 2009 05:19:24 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7157529</guid><dc:creator>madhavi</dc:creator><description>&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;I have implemented charts using &amp;quot;System.Web.UI.DataVisualization.Charting.Chart&amp;quot; in MVC pattern. i want navigaion links on the top of series with x,y values. &lt;/p&gt;
&lt;p&gt;can any one help me out how to rectify this problem.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Madhavi&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7157529" width="1" height="1"&gt;</description></item><item><title>re: Combining ASP.NET MVC and ASP.NET Charting Controls</title><link>http://weblogs.asp.net/melvynharbour/archive/2008/11/25/combining-asp-net-mvc-and-asp-net-charting-controls.aspx#7155783</link><pubDate>Tue, 28 Jul 2009 10:00:14 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7155783</guid><dc:creator>Riikka Heikniemi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;As an alternative to the &amp;quot;few lines of code in the code behind file&amp;quot; or inline populating, you could implement a DataSourceControl that reads data from ViewData:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.asp.net/p/1257598/3316212.aspx"&gt;forums.asp.net/.../3316212.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This way it's possible to use server controls as they're normally used (if you decide to use server controls).&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7155783" width="1" height="1"&gt;</description></item></channel></rss>