By instance,
\\\
Page.RegisterClientScriptBlock("clientScript", scriptString)
Dim str As String = "<script language " & _
"=javascript>alert('I hope this helps a little bit?');</script>"
Page.RegisterStartupScript("Startup", str)
///
Yes, it helps, but also couple questions:
1. Why I need to call RegisterClientScriptBlock?
2. Why after I press "Refresh (F5)" I get the message " The page cannot be
refreshed without resending the information..." . When I click "Retry" the
alert dialog appear again, but it has to appear only (in my case) when I
click Button on the form.
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.