Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
| Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 22nd, 2012, 06:53 AM
Authorized User
Points: 169, Level: 3
Points: 169, Level: 3 Points: 169, Level: 3 Points: 169, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2008
Location: Northampton, , United Kingdom.
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
Default Arguments cannot be inferred from usage?

In code, I have the following line:

Html.EditorFor(model => model.COLUMN_NAME)

Which is throwing the following in my Errors List

The type arguments for method 'System.Web.Mvc.Html.EditorExtensions.EditorFor<TM odel,TValue>(System.Web.Mvc.HtmlHelper<TModel>, System.Linq.Expressions.Expression<System.Func<TMo del,TValue>>)' cannot be inferred from the usage. Try specifying the type arguments explicitly

Any ideas why this would appear?

Seems to be fairly recent and I am not sure what's caused it, but it's on every one of the HTML. objects
__________________
Regards,

Sean


Similar Threads
Thread Thread Starter Forum Replies Last Post
usage of cdata vsempoux XSLT 1 July 11th, 2008 08:38 AM
about the usage of ant wangpan J2EE 5 June 12th, 2007 06:57 AM
Parameters automatically inferred? oooshola BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 May 30th, 2007 08:13 AM
New keyword Usage John Pennington Beginning VB 6 4 August 8th, 2006 10:39 PM
CONTAINS keyword usage caterpillar SQL Server 2000 2 July 12th, 2006 01:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.