Search

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

Matching Posts

  • ComplexModelBinder not compatible with auto round-tripping

    Hello. I'm probably missing something, but here's what I got (User is my WCF model class): Global.asax.cs: ModelBinders.DefaultBinder = new Microsoft.Web.Mvc.ComplexModelBinder(); In the View: <%= Html.TextBox("User.UserName") %> In the Controller: [AcceptVerbs("GET")] public ActionResult New() { return View(new User { UserName = "Enter a name" }); } [AcceptVerbs("POST")] public ActionResult New(User user) { // Do something with user } Here's
    Posted to ASP.NET MVC (Forum) by MichaelGiag on 9/7/2008
  • Setting the namespace and aliases for the ASPX page class?

    Hello, When using MVC, you end up with a lot more code in the ASPX page than you would otherwise. This is fine -- it seems to be part of the point of ASP.NET MVC: remove the abstraction of dealing with a rich client and face that you're really dealing with HTML. The problem I'm now running into is that I can't figure out how to set the namespace for the ASPX page. The namespace for the MVC project is "Company.Product.Project.MvcWeb". Most of the model types are under Company
    Posted to ASP.NET MVC (Forum) by MichaelGiag on 8/26/2008
  • Does simple two way data binding exist?

    Hello, I'm trying to figure out the simplest, easiest level of two way data binding. Maybe I've been spoiled with WPF, but I can't seem to figure out how to do anything simple in ASP.NET for two-way databinding. I have a bunch of WCF data contract objects and some WCF interfaces and helper functions to get those data contract objects around. I'm very satisfied with them and really do not care or want anything on top (like the confusing ObjectDataSource thing). What I want to do is
    Posted to Data Presentation Controls (Forum) by MichaelGiag on 8/5/2008
    Filed under: two way databinding, databinding
  • Re: Intellisense for PageMethods

    Hi Jeff! Not a problem - we'll just use asmx instead, no big deal. Orcas is such an amazing tool anyways; this is the first time in years I've been actually excited to work on a web project! Thanks again, Michael
    Posted to Visual Studio 2008 (Forum) by MichaelGiag on 4/26/2007
    Filed under: Orcas
  • Intellisense for PageMethods

    Hello! I'm extremely impressed with the Orcas web tools. Finally, coding in JavaScript might not be that painful :). Everything seems to work fine for JScript intellisense, except for one item. I have a ScriptManager with EnablePageMethods = true, and PageMethods seem to work. However, there is no Intellisense for PageMethods. Am I doing something wrong or is this just not in Orcas Beta 1? Again, thanks for such a great product. Thanks! -Michael
    Posted to Visual Studio 2008 (Forum) by MichaelGiag on 4/26/2007
    Filed under: Orcas
Page 1 of 1 (5 items)