Author: DahrkDaiz | Posted on: 2/26/2010 8:56:09 AM | Views : 430

I have a page that has a button that causes a post back, however, once the post back is finished, the url now basically has my entire javascript file appended to the end of it. This is definitely a result ASP.NET's button control as I've tested it using normal buttons. What can I do resolve this?


Example:


Normal url:
http://localhost:2950/wiki/wikiEditPage.aspx?ecv=5WIAy8e2op0ZY6aI2uZpG%2b8Tku%2bKoOSF


After post back:
http://localhost:2950/wiki/wikiEditPage.aspx?ecv=5WIAy8e2op0ZY6aI2uZpG%2b8Tku%2bKoOSF#ToString=function%20%28%29%20{%0A%20%20%20%20return%20%22Object%22%3B%0A}&Type=Object&Inherit=function%20%28type%29%20{%0A%20%20%20%20this._Inherit%20%3D%20type%3B%0A%20%20%20%20switch%20%28arguments.length%29%20{%0A%20%20%20%20%20%20case%201%3A%0A%20%20%20%20%20%20%20%20this._Inherit%28%29%3B%0A%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20case%202%3A%0A%20%20%20%20%20%20%20%20this._Inherit%28 ...

Go to the complete details ...