Reputation: 4019
Here is my aspx file: Default.aspx (I do not think this is relevant)
And here is my C# code-behind file: Default.aspx.cs
Here is my debug output. It shows that everything up to the JavaScript line gets executed:
[4476] aspx.page: Begin Load
[4476] : Number of fields = 2
[4476] : Page to load = Login
[4476] : Session matched the supplied GUID!
[4476] aspx.page: End Load
I am totally lost. I'd really appreciate some help!
Upvotes: 0
Views: 320
Reputation: 1408
@Mike: If you don't have ScriptManager in your page then ScriptManager.RegisterClientScriptBlock Method won't work, instead use this :
ClientScript.RegisterClientScriptBlock(this.GetType(), "DummeyKey", "alert('Hi')", true);
Upvotes: 1