473,401 Members | 2,146 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,401 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 1097
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...
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
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
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...
0
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
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.