Browse by Tags

Related Posts

  • HttpContext --- What it does ? (MVC View Unit Testing)

    Hi all, I have a problem with the following code.. I am trying write unit test the view pages of MV... My code is executing without an error but it returns null value when call the RenderView method... Can any one please help me with this ? My code is as follows. private static string RenderView(string...
    Posted to ASP.NET MVC (Forum) by foiaz on 11-10-2008, 12:00 AM
    Filed under: mvc view, MVC ViewPage, mvc viewpage visualstudio, nunit, view engines, viewdata, viewname ViewContext, viewpage, ViewResult, .net.3.5, aps.net mvc, ASP.NET mvc, ASP.NET MVC ViewPage UserAgent, ASP.NET MVC, iview, mocks, Mocks HttpContext, Unit Test
  • Typed ViewPage Using Generics Without Code Behind

    I've successfully created .aspx view pages without code behind by replacing the first line with this: <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %> However, trying to change it to inherit the generics to get typed view data like the following doesn't seem...
    Posted to ASP.NET MVC (Forum) by ghotiman on 12-13-2007, 12:00 AM
    Filed under: MVC, viewdata, viewpage, generic, generics, typedview
  • Displaying users

    i user gravatar for user avatar on my site but when i display users the are show in a list i need the users to look like GRAVATAR GRAVATR GRAVATAR GRAVATAR username username username username
    Posted to ASP.NET MVC (Forum) by dukon360 on 03-13-2009, 12:00 AM
    Filed under: viewdata, viewpage, Views, "ASP.NET MVC"
  • How to pass ViewData to Views ?

    Am trying to unit test the MVC Views. How to pass the ViewData from controller to Views ? What is the logic behind Render View.. which gets populated with the ViewData ? Thanks in advance
    Posted to ASP.NET MVC (Forum) by foiaz on 11-06-2008, 12:00 AM
    Filed under: mvc view, MVC view data, MVC ViewPage, mvc viewpage visualstudio, nunit, view, viewdata, viewpage, Views, .net.3.5, aps.net mvc, Url Routing
Page 1 of 1 (4 items)