We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Syncfusion Window URL container component

Hi 

I need your help for a theme:

I'm using on ASP.NET with C# a syncfusion component called Syncfusion.Web.UI.WebControls.Shared.Window 
( syncfusion version 6.4.0.15)

I'm opening the syncfusion window containing a URL ( showing this in the attached pic). 
I'm launching the syncfusion window using this couple of lines:

                        WindowsDetail.InitiallyShown = true;
                        WindowsDetail.Source = "xSqlDisplay.aspx";

All that i want to know it's how to close this pop up from a button inside of it and go back to the main page.

Hope all fo you can help me.

Best Regards






popupsyncfusion_ef992b8f.zip

5 Replies

VE victor elizondo September 6, 2012 04:50 PM UTC

Hi

I've just solved the problem by myself and I'm pretty sure this information will be useful.

I launched the syncfusion window component using this couple of lines:

WindowsDetail.InitiallyShown = true;
WindowsDetail.Source = "xSqlDisplay.aspx";

Inside the opened Window I have an asp button and if I type the next code:

Response.Write("<script language=\"javascript\">parent._sfWindowsDetail.Close();</script>");

inside the Click Event from that Button:

        protected void Button1_Click(object sender, EventArgs e)
        {
         Response.Write("<script language=\"javascript\">parent._sfWindowsDetail.Close();           </script>"); 
        }

and If I make a click in the button, the syncfusion window will be closed.

Best Regards.


VE victor elizondo September 6, 2012 04:55 PM UTC

I'm going to attach a code sample of this topic.

Best Regards.


popupsyncfusion_f324f4d7.zip


VR Varalakshmi R.S Syncfusion Team September 10, 2012 04:40 AM UTC

Hi Victor,

We are happy to hear that your issue is resolved and we thank you for sharing sample code with us.

Please get back us if you require further assistance.

Regards,

Varalakshmi



SA saqib replied to victor elizondo February 24, 2018 03:27 PM UTC

I'm going to attach a code sample of this topic.

Best Regards.


popupsyncfusion_f324f4d7.zip

accept


AP Arun Palaniyandi Syncfusion Team February 26, 2018 06:10 AM UTC

Hi saqib,  
Thanks for contacting Syncfusion support. 
Please let us know if you have any queries in our Syncfusion product? So, we can help you with a prompt solution. 
 
Regards, 
Arun P. 


Loader.
Live Chat Icon For mobile
Up arrow icon