Ask a Question related to ASP.NET General, Design and Development.
-
KathyB #1
TextChanged Event doesn't fire WITH AutoPostBack = True???
Hi, clearly I'm just not getting something here. I have an aspx form
with ONE textbox and several label controls on it.
I have the textbox set to AutoPostBack = True, but when I enter my
text and hit ENTER, nothing fires.
Oddly enough, this is similar to the button problem I've just posted
as well. I use similar code for the textbox textchanged event, but it
doesn't fire on that page either IF I remove the button (even though I
don't have to press the button to fire the textchanged).
PLEASE help me, this is killing my brain.
Thank you!
Kathy
KathyB Guest
-
textchanged does not fire when datagrid is out of focus
I have a paged editable datagrid (I'm using template column, not Editable Column)with 2 columns of labels, and two columns of textboxes. Outside... -
Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl.
Hello I have the following situation: (everything is dynamic (controls.add)) 1. Button.Init { WasButtonClickFired = true } 2.... -
how to fire a postback event
Hi, All I design a composite custom control, which has three dropdownlists in it. I find as long as one of the dropdownlist control's id is... -
Dynamic Datagrid with TextBoxes Textchanged events wont fire
Hi, I have the following code (using the VS IDE), which creates a datagrid with template columns (TextBoxes). The grid is bound to a dataview.... -
Handling TextChanged event of nested TextBox
You could specify separate event handler for the TextBox either by putting it on aspx (<asp:textBox OnTextChanged="method_name_goes_here"... />) or... -
Philip Q [MVP] #2
Re: TextChanged Event doesn't fire WITH AutoPostBack = True???
The autopostback will fire when the focus of the control is lost (ie.
onBlur).
The enter key will submit the page, but is different of browsers (which is
why it doesn't really work with the onClick of buttons).
--
Philip Q
Microsoft MVP [ASP.NET]
[url]http://aspalliance.com/wisemonk/[/url]
"KathyB" <KathyBurke40@attbi.com> wrote in message
news:75e8d381.0307222049.39cd9024@posting.google.c om...> Hi, clearly I'm just not getting something here. I have an aspx form
> with ONE textbox and several label controls on it.
>
> I have the textbox set to AutoPostBack = True, but when I enter my
> text and hit ENTER, nothing fires.
>
> Oddly enough, this is similar to the button problem I've just posted
> as well. I use similar code for the textbox textchanged event, but it
> doesn't fire on that page either IF I remove the button (even though I
> don't have to press the button to fire the textchanged).
>
> PLEASE help me, this is killing my brain.
>
> Thank you!
>
> KathyPhilip Q [MVP] Guest
-
Kathy Burke #3
Re: TextChanged Event doesn't fire WITH AutoPostBack = True???
Philip.
I'm using ie 6 in an intranet exclusively...it should NOT be a browser
issue.
PLEASE help me...this will kill our use of asp.net for this project. Is
not the ENTER key supposed to cause autopostback if autopostback is set
to TRUE for that box???
thanks. DESPERATE FOR ANSWER!
Kathy
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Kathy Burke Guest
-
Kathy Burke #4
Re: TextChanged Event doesn't fire WITH AutoPostBack = True???
Further to this post, here is the html from the source when I run this
aspx page in vs.net debug:
<input name="txtScan" type="text" onchange="__doPostBack('txtScan','')"
language="javascript" id="txtScan" style="width:144px;Z-INDEX: 107;
LEFT: 63px; POSITION: absolute; TOP: 221px" />
It certainly looks (to a novice...me) that it should be doing what it
should...HOW to resolve this?
Kathy
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Kathy Burke Guest
-
Kathy Burke #5
Re: TextChanged Event doesn't fire WITH AutoPostBack = True???
John,
The code wouldn't help, it's just that it's not firing. I've tried
adding a second textbox and if I hit tab, it fires. However, this
textbox needs to fire on ENTER since I couldn't possibly tell uses to
"remember" to hit tab...see what I mean.
If it's a BUG, could someone please tell me a workaround? Getting
desperate.
Thanks.
Kathy
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Kathy Burke Guest
-
John Saunders #6
Re: TextChanged Event doesn't fire WITH AutoPostBack = True???
Kathy,
1) If I didn't think the code would help, I wouldn't have asked :-)
2) I meant, "add the second text box and hit Enter in the first".
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
"Kathy Burke" <kathyburke40@attbi.com> wrote in message
news:%23iRkb7QUDHA.3700@tk2msftngp13.phx.gbl...> John,
>
> The code wouldn't help, it's just that it's not firing. I've tried
> adding a second textbox and if I hit tab, it fires. However, this
> textbox needs to fire on ENTER since I couldn't possibly tell uses to
> "remember" to hit tab...see what I mean.
>
> If it's a BUG, could someone please tell me a workaround? Getting
> desperate.
>
> Thanks.
>
> Kathy
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
John Saunders Guest



Reply With Quote

