Radalert in page_load

2 posts, 1 answers
  1. HSLaw
    HSLaw avatar
    159 posts
    Member since:
    Jan 2006

    Posted 12 Oct 2010 Link to this post

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
          If Not Page.IsPostBack Then
      ap.ResponseScripts.Add("radalert('Thank you for your registration.')")
      End If
      End Sub

    Is it possible to call radalert using the code above in page_load?
    The page has JS error.
    If not, what is the correct way?

  2. Answer
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 13 Oct 2010 Link to this post


    The KB Article describes how to show radalert from code behind.
    Calling radalert from codebehind

    Hope this would help.

Back to Top