This question is locked. New answers and comments are not allowed.
Greetings,
Can you please tell me what, if anything is wrong with the following code snippet:
Can you please tell me what, if anything is wrong with the following code snippet:
<body onload="init()">
<form id="form1" action="<%= Url.Action(new{controller="Account", action="LoginUser"})%>" method="post" defaultfocus="user" class="logindlg">
<table width="527" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>..............etc?
This code results in the error:
The best overloaded method match for 'System.Web.Mvc.UrlHelper.Action(string)' has some invalid arguments.
Thanks in advance,
Eugene