Page.RegisterStartupScript
(
   "ScriptDescription", _
   "<script type=""text/javascript"">alert('Login Failed. " & _

        "Please try again');</script>"
)






On Wed, Mar 3, 2010 at 6:01 PM, prats786 <[email protected]> wrote:

> Hi All,
>
> I have a aspx page. My code behind is in aspx.vb
> I need to invoke the DB and compare the values and if the values are
> not equal then i have to pop up a alert box.
> I got the values and the comparision is done. I am unable to call the
> alert box through aspx.vb.
> 1) Is there any way to directly pop up a message box
> 2) Is it possible to call a javascript through aspx.vb. If yes can u
> give me a hint on how to call?
>
> Can any one help me on this regard,
> This would be of great help!!!!!!!
>

Reply via email to