PDA

View Full Version : dynamically open coolite window with javascript



sashe
May 29, 2008, 5:00 AM
Hi,

Was wondering weather its possible to dynamically open a coolite window using javascript.

For a specific requirement if have to do this.

Thanks

Regards,
Sashekumar

geoffrey.mcgill
May 29, 2008, 9:29 AM
Hi sashe,

You can use the .show() JavaScript function to Show the window. The .close() and/or .hide() functions will obviously either Close (which destroys) the Window, or Hides (which does not destroy) the window.

Example


Window1.show();

See Ext Documentation. http://extjs.com/deploy/dev/docs/?class=Ext.Window&member=show

From the code-behind, the methods would be .Show(), .Close() and .Hide().


Window1.Show();

Hope this helps.