Monday, March 26, 2012

Strange error

Hello,

I'm getting an error "Invalid pointer" with a javascript in my code. The script was working just fine and I don't know what caused it to stop working. I'm executing the script in a button's click event handler, so I tried to execute instead a simple javascript:


private void Button1_Click(object sender, System.EventArgs e)

{
Response.Write("<script>alert('Hi');</script>");
}

I'm getting the same error!

what could be causing the problem?

ThanksThis isn't another of the wonderfull windows XP service pack 2 glitches is it?

http://msdn.microsoft.com/security/productinfo/XPSP2/default.aspx

Regards

Jeff
Hi Jeff,

no I haven't made any changes to my Windows XP instalation and at first the code was working fine. I made some changes to the code but nothing related to the javascript.

Regards
Hi again,

I found the answer in other threads, should have searched before I ask. The error ocurs after setting SmartNavigatoin to true.

It's great to have a place for getting help!

Thank you all !

0 comments:

Post a Comment