Use the item property on the httpcontext object. It's a dictionary object
which stores key/pair values but it is available every the httpcontext
object is available.
Regards
--
----
Got TidBits?
Get it here: www.networkip.net/tidbits
"shiv" <kadalli@dotnet.itags.org.hotmail.com> wrote in message
news:082a01c3b295$6d2db890$a501280a@dotnet.itags.org.phx.gbl...
> hi all,
> I need to access some variables which are generated in
> preRequestHandler Event in httpModule. I need these
> variables in Page ButtonControl Click event. Is that
> possible? I don't want to use session variables here. has
> anybody got some inputs here.
> Thanks in advance,
> regards
> shivThanks Alvin,
I too found out the same. You reaffirmed my findings!.
Thanks a millon!
regards
shiv
>--Original Message--
>Use the item property on the httpcontext object. It's a
dictionary object
>which stores key/pair values but it is available every
the httpcontext
>object is available.
>Regards
>--
>
>----
>Got TidBits?
>Get it here: www.networkip.net/tidbits
>"shiv" <kadalli@.hotmail.com> wrote in message
>news:082a01c3b295$6d2db890$a501280a@.phx.gbl...
>> hi all,
>>
>> I need to access some variables which are generated in
>> preRequestHandler Event in httpModule. I need these
>> variables in Page ButtonControl Click event. Is that
>> possible? I don't want to use session variables here.
has
>> anybody got some inputs here.
>> Thanks in advance,
>> regards
>> shiv
>>
>
>.
Showing posts with label available. Show all posts
Showing posts with label available. Show all posts
Saturday, March 24, 2012
Wednesday, March 21, 2012
PassingValues
I want to make sure that all the values of my controls on my form are available in my submit button's click handler. Currently, all my controls are yielding empty values. I tried making my controls a class level object, but that does not solve it. I am having trouble figuring out how to get these values using the eventargs object. Is there a good way of sending the controls current values as parameters to the handler method?To access properties and methods in User Controls, you need to add a line declaring the control in the CodeBehind.
C#
protected {Control Class Name} {Control Name on Form};
VB.NET
Protected {Control Name on Form} As {Control Class Name}
Subscribe to:
Posts (Atom)