title: "Microsoft JScript runtime error: 'Sys' is undefined" on Jquery dialog that renders "Log on partialview"
body: <p>I am new in jquery, ajax and mvc.</p>
  
  <p>I used Jquery dialog to show a log on partial view. when it is loaded and I click in its textbox or any other place on it, I get this error:</p>
  
  <p><strong>"Microsoft JScript runtime error: 'Sys' is undefined"</strong>  </p>
  
  <p>and show this script dynamic code for it: </p>
  
  <pre><code>function onclick(event) { Sys.Mvc.AsyncForm.handleClick(this, new Sys.UI.DomEvent(event)); }
  </code></pre>
  
  <p>I can't use these scripts for validate textboxes, because I have jquery accordion in my page and when I use these scripts, accordion doesn't work. Also above error shows again.</p>
  
  <pre><code>&lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>What should I do to solve it?
  How can I validate username and pass textboxes on dialog?
  and ..
  Can I use <strong>@Html.ActionLink</strong> in <strong>@Ajax.beginform(){}</strong>?</p>