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
Patrice - 12 Dec 2007 15:42 GMT
I would try a LinkButton with a postback url property...
--
Patrice
> Hi all,
> I have an asp:HyperLink control on a page which also contains a hidden
[quoted text clipped - 9 lines]
>
> TIA
John Kotuby - 12 Dec 2007 16:20 GMT
Patrice,
Thanks for the suggestion...I will try it.
>I would try a LinkButton with a postback url property...
>
[quoted text clipped - 14 lines]
>>
>> TIA
Scott Lloyd - 18 Dec 2007 21:03 GMT
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
>I would try a LinkButton with a postback url property...
>
[quoted text clipped - 14 lines]
>>
>> TIA
Peter Bromberg [C# MVP] - 12 Dec 2007 15:55 GMT
A single field value stored in a Session variable isn't going to use up much
memory.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
> Hi all,
> I have an asp:HyperLink control on a page which also contains a hidden form
[quoted text clipped - 9 lines]
>
> TIA
John Kotuby - 12 Dec 2007 16:19 GMT
Peter,
Thanks for your input.
>A single field value stored in a Session variable isn't going to use up
>much
[quoted text clipped - 22 lines]
>>
>> TIA