client-side script to fire alert with server event

B

BudOlly

Hello, I'm looking for a way to embed client-side code into the page and
trigger a
javascript 'alert("hello world")' whenever the 'Timesheet>Submitted' server
event occurs. I've been trying to
use the 'ClientScriptManager' class to register the client code using the
'RegisterStartupScript()' method. I'm able to verify that the code is infact
being registered because I am checking it with 'IsStartupScriptRegistered()'
then I shoot off the result in an e-mail. The client alert never fires,
though. Any suggestions, or am I doing something obviously wrong? I'm very
new to asp.net and the server event handlers.
 
D

Dale Howard [MVP]

BudOlly --

I would recommend you repost this question in the
microsoft.public.project.developer newsgroup, as you are more likely to get
an answer from our developer friends in that newsgroup. Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top