473,493 Members | 2,254 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

vb.net 2002 prompt once for text change

7 New Member
Hi ,

I have 2 textbox , ID n Name. when i enter the ID , data will be pull from the database to populate the name.
If i make changes to the name, i need to give a warnin message to the user but still let the user continue changing the name.

On wat even handler should i try to catch the changes?
how should i go about to complete my task ,

Thank u in advane .
Apr 24 '08 #1
5 1211
kenobewan
4,871 Recognized Expert Specialist
This article may be helpful:
The ASP.NET Page Life Cycle
Hi ,

I have 2 textbox , ID n Name. when i enter the ID , data will be pull from the database to populate the name.
If i make changes to the name, i need to give a warnin message to the user but still let the user continue changing the name.

On wat even handler should i try to catch the changes?
how should i go about to complete my task ,

Thank u in advane .
Apr 24 '08 #2
deric
92 New Member
Can you use JavaScript with the onChange event of the textbox?
Like, for this example...
Expand|Select|Wrap|Line Numbers
  1. <script language="javascript">
  2. function func() {alert("value has been changed");}
  3. </script>
  4. ...
  5. <input type="text" onchange="javascript:func();">
That code will send a message box after the user moves the focus from the textbox. If you want to give the message immediately after the user clicks inside the textbox, you may use onclick or onfocus.
Refer here for more of the events. You can learn about javascript from that site, too.
Apr 25 '08 #3
Momijisouma
7 New Member
sry sry , i forgot to mention , this is a window application ..
Apr 30 '08 #4
Frinavale
9,735 Recognized Expert Moderator Expert
Hi ,

I have 2 textbox , ID n Name. when i enter the ID , data will be pull from the database to populate the name.
If i make changes to the name, i need to give a warnin message to the user but still let the user continue changing the name.

On wat even handler should i try to catch the changes?
how should i go about to complete my task ,

Thank u in advane .
Implement the method that handles the TextChanged Event for the name TextBox which will display the message....

-Frinny
Apr 30 '08 #5
Momijisouma
7 New Member
Thank you all ,

yesh , i used the TextChanged Event and vairables to capture the data and i did it already ,

Thank you
May 14 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
6636
by: Hank | last post by:
Hi, does anyone know how to change the foreground color of the command prompt through python? For example if i was printing out an error message, I would like it to be red where the normal...
0
1959
by: Ming Zhu | last post by:
Hi, all, A strange problem. Don't know if anybody met it before or have a solution. I installed VS.NET 2002 before. Then I uninstalled VS.NET 2002 and install VS.NET 2003. The problem is...
1
1577
by: Pål Andreassen | last post by:
I've recently installed Visual Studio 2003 on my development computer. But so far I've yet to use VS 2003 and .NET Framework 1.1 in any real projecs. I have several projects and customers...
7
19256
by: Petesman | last post by:
I am trying to make a prompt that will ask the user for some input... If I just use var input = prompt("dafa") everything works fine but the box is put in the top left corner of the window. I need...
9
1747
by: StevenH | last post by:
I stumped Can someone assist me with the query for "invoices from 2002 & not from 2004" thanks
7
1206
by: (Pete Cresswell) | last post by:
I just took an app developed under Access 2000 to the client's site. First PC I put it on had Access 2002 installed and the app opened right up - no problems, no prompts....just opened up and ran...
0
1125
by: Sarah Brian [MSFT] | last post by:
Hello there, VS .NET 2002 SP1 Beta is almost ready for testing. If you are interested in participating in this Beta, we need you to sign up and fill out a nomination form. How to sign up for...
52
9913
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
2
6239
by: Frav | last post by:
The Reps team have been experiencing that Access 2002 unexpectedly quits while working and also lots of Corruption Failures and "Record lock can not update" messages since the upgrade from...
5
3894
by: hcross | last post by:
This project is a web based html and Javascript site. I am working on mac at the moment. This script works except for attempting to open new window once complete. As you can see, i am new to...
0
7195
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...
1
6873
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...
0
7367
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
5453
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,...
1
4889
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...
0
3088
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...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
644
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
285
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...

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.