I'm using a hyperlink like this to delete a directory when it is clicked.
Response.Write("<a href= delete.aspx?path=" +
directory.FullName + ">DELETE </a>");
}
But for this I'm being redirected to delete.aspx.Can I do it like button where path will be passed as parameters for the onclick function.