473,320 Members | 2,107 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,320 software developers and data experts.

input formatting

Hello,

does anybody know if the .net framework provides classes
for input formatting, such as validating user input
whilst typing in - just numbers, or postalcode etc.?

Regards

Peter
Jul 21 '05 #1
3 1092
If you are using ASP.NET you will have to write
JavaScript. On windows forms, look at the textchanged
properties!

- Rob
-----Original Message-----
Hello,

does anybody know if the .net framework provides classes
for input formatting, such as validating user input
whilst typing in - just numbers, or postalcode etc.?

Regards

Peter
.

Jul 21 '05 #2
Hi Peter,

Thanks for your post. I agree with Rob that we have to validate the user
input whilst typing in an event handler by ourselves.

Please feel free to let me know if you have any problems or concerns.

Best Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #3
Hi Tian,

thank you for the information. I already presumed this
just wanted to be sure I'm not reinventing the wheel
writing my own event handler.

Again thank you

Peter
-----Original Message-----
Hi Peter,

Thanks for your post. I agree with Rob that we have to validate the userinput whilst typing in an event handler by ourselves.

Please feel free to let me know if you have any problems or concerns.
Best Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.

Jul 21 '05 #4

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

Similar topics

8
by: Oeln | last post by:
If I want to check for input of an integer I've got the following (I get the form input with $input = "$_POST"): if(!ereg("^+$",$_POST)) { echo "Input is incomplete or incorrect."; } If,...
5
by: da Vinci | last post by:
Hello, I have a question regarding how to format input. I am at the beginners level. Basically, I am reading in a single character from the keyboard using cin and I want to ensure that it is...
3
by: Ike | last post by:
Does anyone know where I can find example scritp for formatting text input? I want to have a text box where only legitiamte filesname under unix can be netered (no whitespace, only alphanumeric,...
4
by: j.t.w | last post by:
Hi All. I'm having a problem with my Date of Birth textbox. When I open the ..htm file, the "DoB" textbox is flat with a border. All of my other textboxes are sunken and are yellow. When I...
15
by: Peter Pfannenschmid | last post by:
Dear all, my question is concerning the following html page: http://www.omeganet.de/test/test.shtml Could anybody tell me why the text input box (the fourth element) is wider than the other...
2
by: Jim Witte | last post by:
Hi, How do I set a file input element? If it's a text input, I can set the value property. But this doesn't work with file inputs. And no, I can't change it - I'm writing a script to...
3
by: Peter Schwaeke | last post by:
Hello, does anybody know if the .net framework provides classes for input formatting, such as validating user input whilst typing in - just numbers, or postalcode etc.? Regards Peter
0
by: Karen Hill | last post by:
Hello, I've got a question about System.Windows.Forms ( .NET 2.0, C# ) . Other than using the Masked input text box (which is nice, but I need other types of controls to be input masked and...
11
by: Mike Harrison | last post by:
Hi, I have some simple HTML like this: <div id="container" style="width:100%;"> <input type="text" <input type="button" style="float:right;" value="Click here..."> </div> I want the button...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.