R
RTM
Can anyone help me with the following issue? I've seen some similar
questions here, but none relating to a textbox control....
I have a form with several controls, one of them being a textbox
control with AutoPostBack set to true. I need to fire a method ONLY
when the form has posted back due to a button click (no problem here),
or from the user typing text in the text box and hitting enter. I
can't call this method from any postback, as I have other controls
that can cause postbacks as well.
So, in my code behind page I need to determine if the postback was
fired by the user hitting enter from the textbox. I'm at the end of
my ideas here - can anyone lend a hand?
Thanks.
questions here, but none relating to a textbox control....
I have a form with several controls, one of them being a textbox
control with AutoPostBack set to true. I need to fire a method ONLY
when the form has posted back due to a button click (no problem here),
or from the user typing text in the text box and hitting enter. I
can't call this method from any postback, as I have other controls
that can cause postbacks as well.
So, in my code behind page I need to determine if the postback was
fired by the user hitting enter from the textbox. I'm at the end of
my ideas here - can anyone lend a hand?
Thanks.