Hi, have a look at the __doPostBack function.
You could do something like this:
protected void Button_Click(object sender, EventArgs e)
{
test();
}
<asp:button id="Button" runat="server" onclick="Button_Click" text="Button" style="display:none" xmlns:asp="#unknown" />
<button type="submit" id="Button1" class="ui-btn ui-shadow" onclick="__doPostBack( 'Button', '' );">Resend</button>
There is a nice article
HERE - you should have a read at it.
Hope it helps.