I want to pop up a panel when a “createbutton” is clicked, I am using a panel and adding some textbox and buttons inside the panel. I am able to make the pop up panel by designing it in the same page where the createbutton is present. can I make the pop up in a separate page and make it pop up when I click the createbutton
Share
Gokul,
Yes, you can put the panel in a separate page and make it appear when you click the create button. Here’s one alternative (not my favorite but it doesn’t depend on anything extra besides standard javascript):
When you click the “create button” open a new browser window resized exactly to match the panel’s size. This can be done with javascript easily as follows:
On the page that you popped up containing the panel (pagecontainingPanel.aspx – according to my example), you can have code to close the window once you perform some action. For example, if you have a button that’s supposed to save some data to the database and comeback to the parent page, you could do something like: