473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

TextChange event does not always fire

I am having a lot of trouble with an ascx page that has a textbox that
*should fire a textchange event when the text changes. The main aspx
page dynamically loads the ascx page and has a image button that
initiates the submit. during submit, 2 events *should fire, 1 from the
textbox and 1 from the image button. The image button event always
fire but the textbox textchange event does not. Anyone has any ideas?

Notes:
During postback, I do reload the proper ascx page again so the event
will be fired correctly.
Nov 17 '05 #1
1 2569
If you want a PostBack to occur with every keystroke into that textbox?
did you set AutoPostBack="true" for the textbox.
You might want to flag in javascript the change in the text box ( in a
hidden field ) then
when you postback to the server check if there was a change
Kevin S. asked a good question. do you really want to postback eveytime the
textbox changes?
"Duwayne" <dm**@yahoo.com> wrote in message
news:61**************************@posting.google.c om...
I am having a lot of trouble with an ascx page that has a textbox that
*should fire a textchange event when the text changes. The main aspx
page dynamically loads the ascx page and has a image button that
initiates the submit. during submit, 2 events *should fire, 1 from the
textbox and 1 from the image button. The image button event always
fire but the textbox textchange event does not. Anyone has any ideas?

Notes:
During postback, I do reload the proper ascx page again so the event
will be fired correctly.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: | last post by:
Hi, I am setting the NumericUpDown .Value property and the ValueChanged event is NOT being fired. Does this ONLY get fired when I change it on the UI and not programatically? Thanks
2
by: Mark | last post by:
I'm trying to raise and handle an event. I'm using an example from the VS.NET help files (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/ht...
2
by: Anand Sagar | last post by:
My program requirement is to create 2 textboxes at run time. When the cursor leaves the first textbox, (i guess the TextChange event) I want something to occur (post data into database) Problem...
5
by: Verde | last post by:
This is admittedly an apparently odd request... but please indulge me if you don't mind: Suppose I have two <asp:Button.../> on a page (Button1 and Button2). User clicks Button1 and triggers a...
11
by: OldProgrammer | last post by:
All the documentation and discussion I have read indicate that the Session_End is not supposed to fire unless you are in "inProc" Session state mode, and then only on Session Timeout or at Session...
9
by: jeff | last post by:
New VB user...developer... Situation...simplified... - I want to wrap a pre and post event around a system generated where the pre-event will always execute before the system event and the...
0
by: nil | last post by:
Hi everyone... can anyone tell me how to fire textchange event of textbox that is in datagrid...as on the basis of that i wana fetch data from the database.if you can provide code snippet or any...
2
by: nil | last post by:
Hi everyone... can anyone tell me how to fire textchange event of textbox that is in datagrid...as on the basis of that i wana fetch data from the database.if you can provide code snippet or any...
6
by: Harry | last post by:
Hi All VS 2008 Pro It appears that the form_closing event of a form may not always fire. I put an explicit lock on a customer record when it is open for edit and then remove the lock in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.