Search

You searched for the word(s): userid:793773

Matching Posts

  • Re: this in vb.net: <% using Html.Form<ProductController>(p=>p.Update(ViewData.Product.ProductID))%>

    Hello alivemedia! You're right the lack of lambda-support in VB.NET is really ackward. I use a syntax that works, but is far to long to be nicely readable, but it gives you the benefit of refactoring-support: <%U sing Html.Form(Of CustomerController)(New System.Action(Of CustomerController) _ (Function(c As CustomerController) c.Login()), FormMethod.Post) %> <%- - FORM CONTENT -- %> <%E nd Using %> As a workaround you need to declare the methods, which you want to use in your
    Posted to ASP.NET MVC (Forum) by Chuwanga on 4/7/2008
  • Re: problem with selected values in input box

    The HtmlHelper.Select() method you are calling is internally calling the System.Web.HttpUtility.HtmlEncode(s as string) function which is converting "special" characters into it's equivalent HTML entity (see http://www.w3schools.com/tags/ref_entities.asp ) representation in case of the german Umlaut Ă– it would be (to cite rjcox) &#214; alternatively. Well i think all you can do is to manipulate your selectedValue with HtmlEncode() before passing it to any HtmlHelper method that
    Posted to ASP.NET MVC (Forum) by Chuwanga on 4/2/2008
  • Re: Testing MVC site in a subfolder

    I ran into the same problem a week ago. Since IIS 6 is somehow not able to rewrite the URLs in the nice "Controller/Action/ID" style you have to uncomment the following line in your project's Global.asax: 1 routes.Add( New Route( "{controller}.mvc/{action}/{id}/{subid}" , New MvcRouteHandler) With { _ 2 .Defaults = New RouteValueDictionary( New With {.action = "Index" , .id = "" , .subid = "" }) _ 3 }) This is also said at the top of the Global
    Posted to ASP.NET MVC (Forum) by Chuwanga on 4/2/2008
    Filed under: asp mvc, aspnetmvc urlreferrer
Page 1 of 1 (3 items)