jeudi 27 octobre 2016

Raise HTTP Application Sender Object from Button Click in C#

I have a button. I want it to submit a http request.

And then redirect it to string + request.absolute.uri.

  signInUrl +=  "?Invitation=" + m_invitation;
  Response.Redirect(signInUrl, true);

The issue is that now I can't use the request.absolute.uri since it is just a click event even though I have put a runat server tag.

<ASP:BUTTON id="SignIn" TabIndex="1" runat="server" OnClick="SignIn_Click"></ASP:BUTTON>

How can I do that?

Please help. Thanks.




Aucun commentaire:

Enregistrer un commentaire