|
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: edi |
last post by:
Hi,
Are there any differences between CompareValidator.ControlToCompare and
CompareValidator.ControlToValidate?
For example if I have TextBox controls: TextBox1 and TextBox2 what are
the differences between: CompareValidator.ControlToCompare=TextBox1,
CompareValidator.ControlToValidate=TextBox2
and
CompareValidator.ControlToValidate=TextBox1,
CompareValidator.ControlToCompare=TextBox2?
|
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: Lucas Tam |
last post by:
Hi all,
I have a RangeValidator that is not working correctly - it is always
returning a isValid = False.
The Javascript is returning this as well as on the server side.
My RangeValidator validators a control called CampaignID. In the debugger
I've verified there is a control called CampaignID and there is a valid set
.... however the RangeValidator still returns not valid.
|
|
by: hooterbite |
last post by:
The range validator works, the compare validator doesn't.
Dim txbNew As New TextBox
txbNew.ID = "txb" & arStyles(i)
Dim rvNew As New RangeValidator
rvNew.Text = "Must be a number greater then 0"
rvNew.ControlToValidate = "txb" & arStyles(i)
rvNew.EnableClientScript = False
rvNew.MinimumValue = 1
|
by: COHENMARVIN |
last post by:
I'm trying to get a rangevalidator to work. Normally this is easy, but
here I'm trying to make the rangevalidator check a range that is from
variables.
Here is the code. Its simple, but it doesn't work. Any help is
appreciated.
<ASP:TextBox id="Kings" Text="0" Columns="4" MaxLength="4"
runat="server" />
<ASP:RangeValidator id="KingsRange" runat="server"
|
by: R.A.M. |
last post by:
Hello,
(Sorry for my English...)
Could you help me please? I have a problem with CompareValidator
control which makes the load of my page infinitive. Here's the code:
Date of birth: <asp:TextBox ID="BirthDate" runat="server" />
<asp:CompareValidator ID="BirthDateValidation" runat="server"
ControlToValidate="BirthDate" Type="Date"
Text="Enter date of birth!" /><br />
|
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: 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: 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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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: 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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
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...
|