Click to See Complete Forum and Search --> : web user control pop up


soniyakapoor03
March 7th, 2006, 03:51 AM
hi,

how can i create a popup window on button click.
popup window should contain a web user control

HairyMonkeyMan
March 7th, 2006, 05:05 AM
Add an attribute to your button - i.e

btnYourButton.Attributes.Add("onclick", "javascript:window.open('YourPage.aspx');")

Call that page that you have an instance of your control declared on :thumb: