Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
8 Points
19 Posts
Apr 27, 2012 07:16 AM|LINK
Hello again!!!
The code ClientScript.RegisterClientScriptBlock(this.GetType(), "str", "EvalSound('sound1')"); doesn't work.
I just see written on my screen "EvalSound('sound1').
Moreover my condition is not related with a button click, it is related with time.
As an example the if statement looks like this
if (hour = 10)
{
play the sound1
}
I haven't study this http://delicious.com/anupdg/RegisterStartupScript yet
sakis297
Member
8 Points
19 Posts
Re: How to call a specific Javascript from code behind.
Apr 27, 2012 07:16 AM|LINK
Hello again!!!
The code ClientScript.RegisterClientScriptBlock(this.GetType(), "str", "EvalSound('sound1')"); doesn't work.
I just see written on my screen "EvalSound('sound1').
Moreover my condition is not related with a button click, it is related with time.
As an example the if statement looks like this
if (hour = 10)
{
play the sound1
}
I haven't study this http://delicious.com/anupdg/RegisterStartupScript yet