This is a migrated thread and some comments may be shown as answers.

Radalert in page_load

1 Answer 66 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
HSLaw
Top achievements
Rank 1
HSLaw asked on 13 Oct 2010, 03:39 AM
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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 13 Oct 2010, 05:54 AM
Hello,


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


Hope this would help.

Regards,
Shinu.
Tags
Ajax
Asked by
HSLaw
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or