Popup

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Popup as PDF for free.

More details

  • Words: 53
  • Pages: 1
//to open the popup window using system.text; { stringbuilder sb = new stringbuilder(); sb.append("<script>"); sb.append("window.open('adminlpdetails.aspx', 'custompopup', 'width=620, height=410, location=center, toolbar=yes,addressbar=yes,scrollbar=yes, resizable=yes');");

}

sb.append(""); page.registerstartupscript("test", sb.tostring());

//for closing the popup window { stringbuilder sb = new stringbuilder (); sb.append("<script>"); sb.append("window.close()"); sb.append(""); page.registerstartupscript("test", sb.tostring()); } //single line popup clientscript.registerstartupscript(this.gettype(), "popup", "<script language='javascript'>window.open('video.aspx','popup','width=370, height=370, menubar=no, resizable=no')");

Related Documents

Popup
November 2019 6
Popup
August 2019 7