Heres an example you should be able to work from
<html>
<head>
<script language="VB" runat="server">
Sub Page_Load( sender as Object,e as EventArgs)
'Form the script that is to be registered at client side.
Dim scriptString as String = "<script language=JavaScriptfunction
DoClick() {"
ScriptString +=
"window.open('http://www.mvps.org','MyWindow','width=500,height=500');} <"
scriptString += "/"
scriptString += "script>"
If(Not IsClientScriptBlockRegistered("clientScript"))
RegisterClientScriptBlock("clientScript", scriptString)
End If
End Sub
</script>
</head>
<body topmargin="20" leftmargin="10">
<form id="myForm" runat="server">
<INPUT id="launchButton" onclick="DoClick();" type="button"
value="Submit" name="myButton" runat="server">
</form>
</body>
</html>
--
--
Regards
John Timney (MVP)
"Siva" <si********@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Dear All,
I have a image button, what i need is if somebody clicks the image i
want a popup window to be thrown (customized window, without menubar,
no scroll, height, width etc.,).
Please help me in getting the code.
cheers
Siva