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:749799
More Search Options
RSS Available
Matching Posts
Re: RenderAction w/ MVC 2 Beta Error
Also, can you provide the InnerException? It may provide a bit more context as to what the actual error was.
Posted to
ASP.NET MVC
(Forum)
by
levib
on 11/25/2009
Re: IValueProvider and ModelBindingContext in Beta 2
Hi Johannes - I'm having trouble interpreting your code. What are you trying to accomplish? This will help us come up with a good answer together.
Posted to
ASP.NET MVC
(Forum)
by
levib
on 11/24/2009
Re: Using Try/UpdateModel to convert currency to decimal?
The .NET framework decimal converter does not understand currency symbols, so it's what's dying on you. The easiest option might be to pull the value in as a string, strip off everything that's not a digit or decimal separator, then Decimal.Parse() what remains. You could wrap this into a custom decimal ModelBinder if you want, but that's probably overkill since it would potentially affect too many parts of the application. If you do want to write a custom model binder, see Scott
Posted to
ASP.NET MVC
(Forum)
by
levib
on 11/24/2009
Re: Using Actions with VB in MVC
The inline Function(x) syntax isn't VB10 only. It's also supported in .NET 3.5 SP1. As stated above, C# "m => m.Foo.Bar" translates to VB "Function(m) m.Foo.Bar". This is supported in VS2008. Edit: This will teach me to read the entire question. :) If you can somehow make your lambda code into a single line, perhaps by calling an actual function, then this should work. Multiple-line lambdas and lambdas which do not return a value are VB 10-only features.
Posted to
ASP.NET MVC
(Forum)
by
levib
on 11/23/2009
Re: how to exclude the same resulte after join two tables
var areas = rp.Join() .Distinct() ;
Posted to
ASP.NET MVC
(Forum)
by
levib
on 11/20/2009
Re: how to exclude the same resulte after join two tables
You can probably use a let expression to capture the result of some .Count() expression, depending on what exactly you needed to count. Since these questions are LINQ-related rather than MVC-related, though, you'd probably have better luck on the LINQ forums than the MVC forums.
Posted to
ASP.NET MVC
(Forum)
by
levib
on 11/20/2009
Re: ASP.NET MVC 2 Beta Default Model Binder / Validation
Thanks for the report. I've opened a bug regarding this issue.
Posted to
ASP.NET MVC
(Forum)
by
levib
on 11/20/2009
Re: Posting from an ActionResult
I'm not sure what the earlier comment about IIS was. Instead of returning a redirect, it might be easier to return a view. This view should be very simple, containing just a basic HTML page with a <form> element that points to whatever URL you're trying to POST to. Then the page can include a piece of Javascript that calls form.submit(), and you should be good to go. See http://www.jangro.com/tools/jsredirect.php for an example of the HTML you'll need to write.
Posted to
ASP.NET MVC
(Forum)
by
levib
on 11/19/2009
Re: RC ModelBinder breaking changes for collections
The .index syntax was reintroduced as of MVC 2 Beta. Please note that MVC 2 Beta runs only on VS2008 SP1, not VS2010 Beta 2. When VS2010 is complete, it will ship with MVC 2 final. See http://haacked.com/archive/2009/11/17/asp.net-mvc-2-beta-released.aspx for more information.
Posted to
ASP.NET MVC
(Forum)
by
levib
on 11/18/2009
Re: Controllers AccountController IFormsAuthentication MVC 2 error vs2010
Hi Gerry - thanks for reporting this. I talked with some other devs about this, and it looks like it's a bug in the VS2010 beta that we can't work around at the moment. Try manually adding a reference from the unit test project to the MVC project and see if this makes your issue go away. If this is indeed the problem, then it's a known issue and will be taken care of by the appropriate tooling teams. :)
Posted to
ASP.NET MVC
(Forum)
by
levib
on 11/17/2009
Page 1 of 76 (760 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
ASP.NET:
T4MVC now has a real home and a dedicated forum!
TechNet Edge:
Windows Server 2008 R2 : New Power Management Features
ASP.NET:
Web Deployment Painkillers: VS 2010 & MS Deploy
WindowsClient:
Application Accessibility Testing
WindowsClient:
Prism & WCF RIA Services
Channel 9:
Sharepoint 2010 and Claims-Based Identity
WindowsClient:
IRhetoric Ported To BlogEngine.NET
WindowsClient:
PDC Recap and More
Channel 9:
Reactive Extensions API in depth: Primitives
WindowsClient:
New WPF Features: MultiTouch
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online