Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

passing text box value using action link

$
0
0

i need to pass text box value of EmployeeAccount.Emp_Login when action link click,but its not working fine at break point it gives , i google a lot but no output

<input class="text-box single-line" id="EmployeeAccount_Emp_Login" name="EmployeeAccount.Emp_Login" type="text" value="" />

<div class="col-md-10">
                @Html.EditorFor(model => model.EmployeeAccount.Emp_Login, new { htmlAttributes = new { @class = "form-control" } })
                @Html.ValidationMessageFor(model => model.EmployeeAccount.Emp_Login, "", new { @class = "text-danger" })
                @Html.ActionLink("Checkuser", "Checkuser", new { username = @Html.Editor("EmployeeAccount.Emp_Login") })</div>
  [ValidateInput(false)]
        public ActionResult Checkuser(string username)
        {
            return View("Login");
        }


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>