Link to home
Start Free TrialLog in
Avatar of Springbok37
Springbok37

asked on

Server Side message box using Ajax/ASP.NET

Hi there

I was wo!ndering if anyone knows of a way to display a messagebox from server-side code. I've recently installed the ajaxcontroltoolkit for VS2008 and was wondering if i could populate the popup control extender with text from server-side code. Eg: "Record not found".  

Many thanks
Avatar of burakiewicz
burakiewicz
Flag of United States of America image

you can with the modal popup extender.  just use a panel, inside the panel put an update panel and the controls you want on the popup.  change the message from serverside call the updatepanel.Update(); and then the modalpopupextender.Show();
ASKER CERTIFIED SOLUTION
Avatar of burakiewicz
burakiewicz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Springbok37
Springbok37

ASKER

Thanks that worked!

Many thanks!