|
by: DC |
last post by:
I have this snippet:
<tr>
<td align="left">E-mail</td>
<td>
<asp:TextBox id="txtEmail" runat="server"
MaxLength="100"></asp:TextBox>
<asp:RegularExpressionValidator id="revEmail" runat="server"
ErrorMessage="Enter a valid e-mail address"
ControlToValidate="txtEmail"
|
by: Shan Plourde |
last post by:
Hi everyone,
I have been using various regular expressions with the ASP.NET
RegularExpressionValidator for quite some time. In general it works
very well. One of the common regex's that I use follows:
ValidationExpression = "^\d{0,3}(\.\d{0,4})?$"
The purpose of this one is to validate that numeric values input
follow the syntax...
|
by: Luis Esteban Valencia |
last post by:
A page let of work for me
I commented almost all lines but nothing
the code is this
|
by: Matt Morris |
last post by:
Hello:
I have a RegularExpressionValidator control attached to a TextBox. I have
the ValidationExpression property set to a very simple validation expression
(\w+). The validation always fails when entering Greek characters. When I
test this expression in a standalone test harness, it accepts the Greek
characters just fine. It is my...
|
by: TD |
last post by:
Is it possible to validate (or in this case, invalidate) an exact
number with a RegularExpressionValidator?
I know that it can be done with javascript but what about regular
expressions?
Any 5 digit number between 00000 and 99999 is ok EXCEPT 61280.
I'm handling the "any 5 digits" portion with this "^\d{5}$" .... Does
anyone know how...
|
|
by: skardian |
last post by:
I am currently using the ChangePassword control for ASP.NET 2.0 to
allow users to update or change their password as need be. However I am
running into a problem with the Regular Expression Validation. I have
tried the following code:
ValidationExpression="{5,}"
ValidationExpression="{5,}"
ValidationExpression="^{5,}$"
|
by: Morten71 |
last post by:
I have this regex. in the ValidationExpression property of my dotnet
1.1 RegularExpressionValidator control:
^(?i)(DF)?+$
However, I can't make the ignore case part (?i) work!
How should I construct my regex / RegularExpressionValidator to ignore
case?
|
by: Matt Nunnally |
last post by:
I'm trying to get my zip code textbox to validate both US zip codes and Canadian Postal code formats. But I can't figure out the syntax. Can somebody help? Here is what I got:
<asp:regularexpressionvalidator id="rxZipCode" runat="server" ControlToValidate="txtZipCode" Display="Dynamic" ErrorMessage="Zip Code is invalid."...
|
by: pablorp80 |
last post by:
Hello,
Here is what I need:
I need the focus and the cursor set to a textbox named txtGT, every time no matter if it is the first page load or whether it is a postback.
Here is the problem:
I am using AJAX and MasterPages as well as an update panel, the textbox is in a panel. I have tried to do it using different java scripts but I can't...
|
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...
|
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...
|
|
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. ...
|
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...
|
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...
|
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...
|
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
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...
|