Search

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

Matching Posts

  • Re: UpdateFrom() bug in Preview 2?

    Thanks pbb3a. I didn't know that the source code was already available. I wonder why it worked correctly in the previous CTP, though.
    Posted to ASP.NET MVC (Forum) by nicosabena on 3/26/2008
  • Re: UpdateFrom() bug in Preview 2?

    Does anyone else get this error, or is it just me?
    Posted to ASP.NET MVC (Forum) by nicosabena on 3/25/2008
  • Re: UpdateFrom() bug in Preview 2?

    Hi again Rob. Were you able to reproduce the error?
    Posted to ASP.NET MVC (Forum) by nicosabena on 3/13/2008
    Filed under: UpdateFrom
  • Re: UpdateFrom() bug in Preview 2?

    Hi Rob. I wrote the complete code to replicate the error: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using System.Collections.Specialized; namespace MVC2UpdateFromTest { class Program { static void Main( string [] args) { NameValueCollection values = new NameValueCollection (); values.Add( "Age" , "abcd" ); values.Add( "Height" , "aasdf" ); values.Add( "Married" , "asdf" );
    Posted to ASP.NET MVC (Forum) by nicosabena on 3/12/2008
  • UpdateFrom() bug in Preview 2?

    Hi everybody. Mi second post here :). I'm having a problem with UpdateFrom() and I think it might be a bug. In Preview 1, if I tried to UpdateFrom() an instance with invalid data, I would get a PopulateTypeException with all the errors detailed, as in: class Person { public int Age { get ; set ; } public DateTime BirthDate { get ; set ; } public string Name { get ; set ; } public decimal Height { get ; set ; } public Address BusinessAddress { get ; set ; } public Address HomeAddress { get ; set
    Posted to ASP.NET MVC (Forum) by nicosabena on 3/12/2008
    Filed under: UpdateFrom, ASP.NET MVC
  • Re: UpdateFrom in MVC Preview 2

    It seems that you just need to change the line: product.UpdateFrom(Request.Form); to: BindingHelperExtensions .UpdateFrom(product, Request.Form);
    Posted to ASP.NET MVC (Forum) by nicosabena on 3/12/2008
Page 1 of 1 (6 items)