Open jquery popup from code behind

Please tell me how can I call a jquery popup from code in asp.net3.0?

I already downloaded the plugin that opens the IFrame as a popup, but I need to pass the string value in the IFrame URL, and this string value is built by the code on the click of the same button from which the popup opens.

Please inform

Thanks Amit

+3
source share
1 answer

You need to register the launch of the script on the page:

Page.ClientScript.RegisterStartupScript(this.GetType(), "SomeKey", 
    "<script type='text/javascript'>ShowPopup()</script>");
+3
source

Source: https://habr.com/ru/post/1759294/


All Articles