Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best way to provide popups that contain server controls? I am working on a .net site. I have search functionality where if someone presses a button a panel appears where they can input the search information. I would like this to be a popup instead. Normal JavaScript won't work because the controls operate server side. So how do I go about creating a popup that is interacted with via server side?

share|improve this question
up vote 2 down vote accepted

You can use a PopUpControlExtender, which is part of the ASP.NET Ajax library. There's a modal popup version as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.