Can a Hyperlink control be forced to Post as well as navigate?

  • Thread starter Thread starter John Kotuby
  • Start date Start date
J

John Kotuby

Hi all,
I have an asp:HyperLink control on a page which also contains a hidden form
field. I want the target page specified in the NavigateURL to be able read
the contents of the hidden form field but I also want to keep the look and
feel of a standard Hyperlink. I do not want the contents of the hidden field
passed in the QueryString.

I have seen posts where many developers have suggested using User Session
variables for that purpose. I want to keep server resource use to a minimum
and for some reason think that Session variables use more resources than
posting a hidden field.

TIA
 
Yeah. Just use a LinkButton instead then in the redirect after you're done
handling the event do a Response.Redirect.

Scott Lloyd
Lloyd Software
 
Back
Top