473,721 Members | 2,133 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 1118
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
2260
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
2313
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
3025
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
2955
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
22037
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
1822
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
7377
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
3964
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
1667
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
8840
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
8730
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9131
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,...
1
6669
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5981
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4484
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
4753
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2130
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.