WebForm_AutoFocus

  • Thread starter Thread starter green_tea
  • Start date Start date
G

green_tea

I got the following Javascript error when I ran my login.aspx page:
"A Runtime Error has occurred. Do you wish to debug? Line 155 Error:
Object expected"

When I check the runtime scource code, .NET added the following code in
my login.aspx page which cause the problem:
<script type="text/javascript">
<!--
WebForm_AutoFocus('passwd');// -->

Could anyone tell me how to remove this auto generated code?

Thanks a lot.

Green
 
Back
Top