Message Box Alert in code behind using ajax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nirmalsingh
    New Member
    • Sep 2006
    • 218

    Message Box Alert in code behind using ajax

    i have an html form ,web form and javascript file.(using ajax technology), html page is start up page , server side codings are written in web form. now the problem is i want to display message in html form by calling javascript function through c# ( ie:web form). i have tried
    string jscript = "<script language='javas cript'>hallo(); </script>";
    Page.RegisterCl ientScriptBlock ("keyClientBloc k",jscript);
    but i cant get result. plz help me...
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Try:

    Code:
    string jscript = "<script language='javascript'>alert('Hello')</script>";
    Hope that this helps.

    Comment

    Working...