Author: ay1585 | Posted on: 9/22/2009 12:52:01 AM | Views : 635

 Hi All,
I have a requirement where I need to open a User Control as a PopUp without using Ajax. I have created a User Control with a List Box ,OK and Cancel buttons. My parent page is an ASPX page with an Image button and Gridview control. When I click on Image button , I need to open the Pop Up window,select a few items in the list box .When clicked on OK in the pop up,the selected items in list view need to be binded in gridview in parent page.
For opening the pop up I've given the code as:
System.Web.UI.ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "temp", "<script type='text/javascript'>window.open('UCFilter.ascx', '', 'height=200,width=500,top=250,left=250,resizable=no,titlebar=0,menubar=0,toolbar=0,location=0,directories=0,scrollbars=no,status=0', 'false');</script>", false);
I am getting this error :
Go to the complete details ...