@Ajax.ActionLink("Get Movie ID", "movieid", new { movname = TextBox1.Value}, new AjaxOptions { HttpMethod = "GET", UpdateTargetId = "divmovid", InsertionMode = InsertionMode.Replace })
@Ajax.ActionLink("Search", "datalist", new { name = getTextBoxContent()}, new AjaxOptions { UpdateTargetId = "listbx", InsertionMode = InsertionMode.Replace} ) <div id="listbx">@{ Html.RenderAction("datalist", "Home"); }</div> <script type="text/javascript"> function getTextBoxContent() { return document.getElementById('myTextBoxId').value; } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)