Click or drag to resize

ClientSideExtensionsShow(Control, String, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean, Boolean) Method

Shows a modeless popup window for the specified web page url when the control is clicked.

Namespace: GSF.Web.UI
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.181-beta
Syntax
public static void Show(
	this Control control,
	string url,
	int height = 400,
	int width = 600,
	int left = 0,
	int top = 0,
	bool center = true,
	bool help = false,
	bool resizable = false,
	bool status = false
)
View Source

Parameters

control  Control
that will show the popup window when clicked.
url  String
Web page url for which the popup windows is to be shown.
height  Int32  (Optional)
Height of the popup window.
width  Int32  (Optional)
Width of the popup window.
left  Int32  (Optional)
Location of the popup window on X-axis.
top  Int32  (Optional)
Location of the popup window on Y-axis.
center  Boolean  (Optional)
True if the popup window is to be centered, otherwise False.
help  Boolean  (Optional)
True if help button is to be displayed, otherwise False.
resizable  Boolean  (Optional)
True if the popup window can be resized, otherwise False.
status  Boolean  (Optional)
True if the status bar is to be displayed, otherwise False.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Control. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also