Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:790299
More Search Options
RSS Available
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)
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Channel 9:
BugCamSmash in Action!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online