[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 860
  • Last Modified:

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
  • 2
1 Solution
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();
Springbok37Author Commented:
Thanks that worked!

Many thanks!

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now