Re: Javascript alert
Is it possible that you doing redirect somewhere there....
George.
"Peter" <czupet@nospam. nospamwrote in message
news:uKROdFPQJH A.444@TK2MSFTNG P05.phx.gbl...
Is it possible that you doing redirect somewhere there....
George.
"Peter" <czupet@nospam. nospamwrote in message
news:uKROdFPQJH A.444@TK2MSFTNG P05.phx.gbl...
>
"Mark Rae [MVP]" <mark@markNOSPA Mrae.netwrote in message
news:OlIVqDPQJH A.992@TK2MSFTNG P02.phx.gbl...
--
>
>
Yes, the execution does stop on the line
>
>
"Mark Rae [MVP]" <mark@markNOSPA Mrae.netwrote in message
news:OlIVqDPQJH A.992@TK2MSFTNG P02.phx.gbl...
>"Peter" <czupet@nospam. nospamwrote in message
>news:emhPTBPQJ HA.5064@TK2MSFT NGP03.phx.gbl.. .
>>
>>
>Are you sure that it's actually being called? If you put a breakpoint on
>it and click the button, does execution stop on the above line...?
>>
>>
>>
>news:emhPTBPQJ HA.5064@TK2MSFT NGP03.phx.gbl.. .
>>
>>here's the code:
>>>
>> protected void butReport_Click (object sender, EventArgs e)
>> {
>>>
>> ClientScript.Re gisterStartupSc ript(GetType(), "failure",
>>"alert('It did not work');", true);
>>>
>> }
>>>
>> protected void butReport_Click (object sender, EventArgs e)
>> {
>>>
>> ClientScript.Re gisterStartupSc ript(GetType(), "failure",
>>"alert('It did not work');", true);
>>>
>> }
>Are you sure that it's actually being called? If you put a breakpoint on
>it and click the button, does execution stop on the above line...?
>>
>>
>>
>
>
Yes, the execution does stop on the line
>
Comment