Microsoft JScript runtime error: Sys.ArgumentException: An element with id 'form1' could not be found
I am getting this error when the page is Postback.
I found a solution on web saying that the javascript tag should be written as below

<script src="Scripts/silverlight-detector.js" type="text/javascript"></script>

instead of

<script src="Scripts/silverlight-detector.js" type="text/javascript"/>

I checked my entire code and script tag is all good. 

On postback, its trying to load a page (With form ID=form1) which has a user control and throws the error "Microsoft JScript runtime error: Sys.ArgumentException: An element with id 'form1' could not be found". 

Any help would be appriciated.

Rajeev
Microsoft JScript runtime error: Sys.ArgumentException: An element with id 'form1' could not be found
===

I am getting this error when the page is Postback.
I found a solution on web saying that the javascript tag should be written as below

<script src="Scripts/silverlight-detector.js" type="text/javascript"></script>

instead of

<script src="Scripts/silverlight-detector.js" type="text/javascript"/>

I checked my entire code and script tag is all good. 

On postback, its trying to load a page (With form ID=form1) which has a user control and throws the error "Microsoft JScript runtime error: Sys.ArgumentException: An element with id 'form1' could not be found". 

Any help would be appriciated.

Rajeev