473,698 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New event for Web-form textbox - Please help

Hi everyone,

Is it possible to make a new events for a Web-form textbox. What I
mean to ask is that I want an event to fire everytime a user enters a
letter into a Web-form textbox.
The only events that I see textbox has are:

1. DataBinding
2. Disposed
3. Init
4. Load
5. PreRender
6. TextChanged
7. Unload
TextChanges is close but has to wait for the user to hit return. Is
it possible to create a new special event for textbox that fires as
soon as a person types something into it??

Any help much appreciated,
Thanks,
Al.

Feb 28 '07 #1
1 1113
al*****@altavis ta.com wrote:
Hi everyone,

Is it possible to make a new events for a Web-form textbox. What I
mean to ask is that I want an event to fire everytime a user enters a
letter into a Web-form textbox.
The only events that I see textbox has are:

1. DataBinding
2. Disposed
3. Init
4. Load
5. PreRender
6. TextChanged
7. Unload
TextChanges is close but has to wait for the user to hit return. Is
it possible to create a new special event for textbox that fires as
soon as a person types something into it??
Do you care whether or not the results are handled on the server versus
the client? If you can process the request on the client, the onchange
JavaScript event is your friend
(http://www.w3schools.com/jsref/jsref_onchange.asp). If server-side
processing is required, you'll need to use AJAX.

Hope that helps,

--
Sean

website: http://senfo.blogspot.com
Feb 28 '07 #2

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

Similar topics

0
2257
by: Jim Mitchell | last post by:
I have the code snippet below. I fill a table of imagebuttons and would like to know which one was clicked to trigger the post back. Unfortunately, the Command event does not fire unless I load the images on the load_page event. Since I want to load the table of images based on the click event from another control, and only based on feedback from some controls do I even display the image list, I thought I could trap the command or click...
2
2311
by: Mobius498 | last post by:
Hi, i'm new to C# and i'm trying to respond to an event. I'm using the CrystalReportViewer to display crystal reports on the web and i need to know when a user clicks the refresh button so i can reset the parameters. this is what i have so far, and it's giving errors protected CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1;
4
3023
by: Jordan | last post by:
I need to dynamically add an ImageButton control to a user control and and do some server-side processing when the user clicks it. While I the ImageButton is added to the user control at runtime, as needed, I'm having trouble wiring up its click event procedure. The problem is that when I go to subscribe the ImageButton to the delegate, the ImageButton is <undefined> (i.e., throws the "object not found" exception). Note that I'm using...
6
1382
by: Rob Morgan | last post by:
I have a grid and a user control on the same page. The user control has a save button that triggers a click event server side. Once the click event happens the page renders, but I need to update the grid information before it renders. Once a conrol's event finishes is there a way to run a method on the parent page so I can update the gid? Any thoughs on how I might accomplish this?
0
2953
by: Demetri | last post by:
I have created a web control that can be rendered as either a linkbutton or a button. It is a ConfirmButton control that allows a developer to force a user to confirm if they intended to click it such as when they do a delete. Everything is great. By and large it will be used in my repeater controls using the command event when the user clicks on it and so that event is working great. My issue is the Click event. When the control is...
3
22026
by: Michael Schwarz | last post by:
Hi, from time to time I get following error message with my ASP.NET 2.0 web application in the event log: An error occurred executing the configuration section handler for system.web/identity. My web.config looks like this: <authentication mode="Forms">
2
1821
by: RSH | last post by:
Hi, I have been trying to follow a tutorial on raising an event from a user control and then handling it in the parent page. The article is a little vague so I believe I have the code in place, but I cant seem to get it to work. Here is what I have:
7
7367
by: sergio-p | last post by:
I had no luck in my google search for this answer. Does anyone know if it's possible to read the entries in the Windows Event Log of the server running my PHP page? I'm trying to create an itranet page that lists errors from the server event log.... I'd prefer a pure PHP solution, but I'd be happy to try other alternatives that involve call outs to non-PHP code. Thanks in advance. - Sergio
3
3963
by: tim.cavins | last post by:
We have a page on our Intranet A main.aspx that is calling a webservice on another computer B. The intranet page loads fine and displays the data from the webservice but we keep getting error messages on the Intranet server with the following: Exception information: Exception type: InvalidOperationException Exception message: No web service found at: /OurWebservice.asmx.
9
1666
by: ThatsIT.net.au | last post by:
I want to raise an event to pass some text back from a class to an aspx page in C# can anyone give me a simple example showing the basic syntax. Thanks you
0
8671
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9152
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9016
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8856
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7709
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4613
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2321
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.