Sorry for my bad explaination before.
What I've done before are like this :
<asp:button id="button1" onClick="function_click"></asp:button>
protected void function_click(object sender, EventArgs e)
Is there any ways that I can redirect this modal dialog to other url.
And I don't know if I post this question to right forum or not. If it is not allowed here just delete it.