Radalert in page_load

2 posts, 1 answers
  1. HSLaw
    HSLaw avatar
    153 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?

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

    Posted 13 Oct 2010 Link to this post

    Hello,


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


    Hope this would help.

    Regards,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top