I have a simple memo form that when the user clicks the delete it runs some code that access the database, deletes the memo and then closes the form, I'm at a loss as to how to close the stupid window.... I figured I could do btnDelete.Attributes.Add("onclick","window.close()")
well it closes the window but it doesn't run the codebehind.... some direction would be appriciated.
EDIT: durrrrrr figured it out. Response.Write("<script lang=Javascript>window.close();</script>


Reply With Quote