|
-
Nov 4th, 2002, 09:41 AM
#1
Thread Starter
Addicted Member
how do i "close" the current window when clicking a button?
how do i "close" the current window when clicking a button?
ps. i am using code behind an aspx file (aspx.vb)
-
Nov 4th, 2002, 09:50 AM
#2
use client side javascript's window.close
-
Nov 4th, 2002, 09:52 AM
#3
Thread Starter
Addicted Member
how ?
-
Nov 4th, 2002, 09:54 AM
#4
<input type="button" value="click Me" onclick="javascript: window.close;"/>
-
Nov 4th, 2002, 10:23 AM
#5
Thread Starter
Addicted Member
does this work for an "asp:button" ?
-
Nov 4th, 2002, 10:32 AM
#6
asp: button is for server side code. you need client side code.
-
Nov 4th, 2002, 10:53 AM
#7
Thread Starter
Addicted Member
i also want to perform these when clicking the button
Dim aw As New AppSettinsWriter()
aw.SetValue("conSystemStatus.ConnectionString", "Data Source=" & txtDBServer.Text & ";Integrated Security=SSPI;Initial Catalog=SystemStatus")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|