Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

What is the best way to provide popups that contain asp.net 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

1 Answer 1

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

 
discard

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.