I'm trying to popup a rad alert from withing a rad window, if a database call returns no records. I've tried
string
strMessage = "Sys.Application.add_load({radalert('Employee ID does not exist in the database.');})";
RadAjaxManager2.ResponseScripts.Add(strMessage);
and
string
strMessage = "radalert('Employee ID does not exist in the database.');";
RadAjaxManager2.ResponseScripts.Add(strMessage);
The first throws an error about a missing ':', the second throws and error cannot find radwindowmanager undefined.
Both of the lines work in the parent page, can't figure out why they will not work in the rad window.
Rad window contains it's own radscriptmanager, radajaxmanager and radwindowmanager.
Thanks
Jim