how to display an alert message in ajax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cmrhema
    Contributor
    • Jan 2007
    • 375

    how to display an alert message in ajax

    Hi,

    I am working in asp.net+ajax. I do not know where to put this question. I guess i am in the right place

    I am using ajax update control panel. I have three dropdownlist inside it. Now the user has to choose values from the three dropdownlist. If he chooses the same item as that of previous dropdownlist. I want to display an alert message.

    I cannot use response.write( "<script> alert("dfs")</script>");

    I am supposed to write in dropdownlist selected change event

    please help me out

    regards

    cmrhema
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    Originally posted by cmrhema
    Hi,

    I am working in asp.net+ajax. I do not know where to put this question. I guess i am in the right place

    I am using ajax update control panel. I have three dropdownlist inside it. Now the user has to choose values from the three dropdownlist. If he chooses the same item as that of previous dropdownlist. I want to display an alert message.

    I cannot use response.write( "<script> alert("dfs")</script>");

    I am supposed to write in dropdownlist selected change event

    please help me out

    regards

    cmrhema
    Try doing validation before sending the HTTP request with AJAX.

    Comment

    Working...