I want to write all the code that will be sent to the browser to have it under my complete control.
For this I need to completely disable javascript validation that is provided with ASP.NET MVC.
How can i achieve this?
I'm not sure I fully understand your question, but try changing the values in the web.config for the "ClientValidationEnabled" and "UnobtrusiveJavaScriptEnabled" to false:
<add key="ClientValidationEnabled" value="false" />
<add key="UnobtrusiveJavaScriptEnabled" value="false" />
Hope this helps!