Browse by Tags

Related Posts

  • RenderPartial Problem

    Hi When clicking on a catalog item the following code RenderPartial in ViewExtentions.cs is crashing out with {"Parameter count mismatch."} I have updated to RC of MVC and MVC futures and it seems to all compile ok. Any help, much appreciated. public static void RenderPartial( this HtmlHelper...
    Posted to ASP.NET MVC Storefront Starter Kit (Forum) by TobiR on 02-24-2009, 12:00 AM
    Filed under: RC1, RenderPartial
  • Re: MVC Beta - setting Properties on UserControls

    Thanks Paul. You understood what I was after. If I drop a control into a view page, and it has properties that can be set, I want to set those properties. I think the answers to my question is this: if your control does not use view data (not mvc), you should use the declarative mechanism to embed it...
    Posted to ASP.NET MVC (Forum) by levous on 11-12-2008, 12:00 AM
    Filed under: RenderPartial, RenderUserControl RenderPartial
  • MVC Beta - setting Properties on UserControls

    I have an extensive MVC site built on Preview3. I was heart broken that there is no way to render to a string in Beta but we got over that and updated all our code to use RenderPartial with the underlying textwriter. It was challenging but not insurmountable. Now I am struggling with setting properties...
    Posted to ASP.NET MVC (Forum) by levous on 11-11-2008, 12:00 AM
    Filed under: RenderPartial, RenderUserControl RenderPartial
  • How to pass ViewData with RenderPartial

    Hello I have a problem with a ascx view control and the view data. If work like this: public void AjaxTr<T>(string id, Expression<Action<T>> detailAction, Expression<Action<T>> editAction) where T : Controller, new() { string viewName = ActionUtils.GetViewName<T>(detailAction...
    Posted to ASP.NET MVC (Forum) by illcommunication on 09-08-2008, 12:00 AM
    Filed under: RenderPartial, RenderView, ASP mvc
Page 1 of 1 (4 items)