|
by: charliewest |
last post by:
I've configured a RangeValidator control on a WebForm, using ASP.NET, and
have set the type to string, the max value to 100, and min value to 1,
however, the control to validate always throws an error, regardless of the
length of the string. For example...
<asp:textbox id="txtQuestion" runat="server" Width="400px" MaxLength="100"
Height="50px" TextMode="MultiLine" CssClass="text1"></asp:textbox>
<asp:RangeValidator...
|
by: D. Shane Fowlkes |
last post by:
This seems simple enough but why can't I get it to check the input BETWEEN
the two ranges I specify? If I set the Min value to 1 and the Max to 10, it
will ONLY validate 1 OR 10....not 2 thru 9. Weird? I must be doing
something wrong.
TIA.
My test page:
http://www.drumpub.com/test.aspx
|
by: Johannes Hammersen |
last post by:
Hi,
when I try to set the Minimum Date on a RangeValidator to 01.01.0001 I get
an error, that 01.01.0001 can not be converted to a date.
But the DateType can be 01.01.0001. Convert.ToDateTime("01.01.0001") works.
So why can't I set the Minimum of the RangeValidator to that Date?
I have the same Problem with the Maximun Value. If I try to set that let's
say to the 31th December 9999 it will give me an error.
You can reproduce this...
|
by: jk |
last post by:
Looking through WebUIValidation.js, I discovered that the standard validators
don't cater for non-numeric date formats (e.g. dd-MMM-yyyy) which I would
like to do
To keep code to a minimum, I would like to extend the existing validator to
handle other common date formats and still be able to do both client and/or
server side validation as normal. Unfortunately, I am unable to get the
extended code to ever be called
I implemented the...
|
by: Arpicheck |
last post by:
Hi,
I am writing a page that contains a texbox, a calendar, and a
rangevalidator. The range validator is testing the textbox for date values.
There is an event, set up to fire, when the calendar's date has been changed,
and in the event body, i am using the calendar's function to transform the
date to string.
gasday.Text = Calendar1.SelectedDate.ToShortDateString();
|
|
by: ad |
last post by:
I use RangeValidator to validate a textbox from 1 to 5
But if the user left the TextBox empty, the RangeValidator take no action.
Can RangeValidator Chek emtpy value?
|
by: dfetrow410 |
last post by:
Anyone have some code that will do this?
Dave
|
by: Axel Dahmen |
last post by:
Hi,
I'm working in a team developing an international website. When I set the
page's CultureInfo to Hungarian (hu-HU) then the RangeValidator doesn't seem
to be able to parse a TextBox's date value (Exception message see below)
correctly.
The TextBox's value is coming from the DateTime.Now.ToShortDateString()
function, so it's an original .NET value.
|
by: =?Utf-8?B?SGlwSG9wcGVy?= |
last post by:
Hi,
I have a composited control with a Textbox and a Rangevalidator.
If I am not mistaken, Rangevalidator should take currency ($) symbol, but I
got the validation error when user enter -$100 in the text box. It will
succeed if -100.
So I tried add a property called "MoneyValue", return a Decimal only value
and use , hopping RangeValidator
|
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...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|