i am registering an javascript in the page like:
my javascript function on aspx is like
Else
How can i register an javascript function from the page which have radlaert.
RadScriptManager
.RegisterStartupScript(this.Page, Page.GetType(), "PopUpAlert", "javascript:FnPopupAlert();", true);
my javascript function on aspx is like
function FnPopupAlert()
{
radalert(
"Hi",400,30);
return false;
}
When i run the page an javascript undefined error is coming. Please tell what could be the reason for this because when i remove the radalert line from the function everything works fine.Else
How can i register an javascript function from the page which have radlaert.