I have always used with new {} without any problem, why is it different?
Razor VB.NET code
Using Ajax. BeggiForm (with new AjaxOptions {.httpMethod = "Post"}) @ * No problem * @And using Using Ajax Begieform (with new {.ttpMethod = "Post"}) @ * Price Type '& lt; Anonymous type & gt; ' Can not be changed in 'System.Web.Mvc.Ajax.AjaxOptions' * @ end use
One does not extend / inherit new from {} ) AjaxOptions and AjaxOptions is an object accordingly Required BeginForm . >
No comments:
Post a Comment