|
by: Dave Bailey via DotNetMonster.com |
last post by:
I am using a compare validator with the following code:
private void CheckRom()
{
if (romCheck.Checked == true && romFromText.Text != null &&
romToText.Text != null)
{
romCompare.Enabled = true;
romCompare.ControlToCompare = romFromText.Text;
romCompare.ControlToValidate = romToText.Text;
|
by: dotnet beginner |
last post by:
In my webform I check for dirty(textbox values changed),
and pop up a confirm dialog box on an asp-Imagebutton
click event.
I wrote a javascript function (to pop up confirm box) and
called it in the pageload event using:
btnclick.attributes.add("onclick", "return popConfirm();")
So far everything works absolutely fine.
Then I added a compare validator to one of the fields in
my form. Now, when the form is dirty (has the values in
|
by: TN Bella |
last post by:
Hi,
I am trying to get my compare validator to fire properly...Since I have
panels the validator wouldn't work properly, the app would fire right
but would insert the data regardless and the user couldn't fix an error
if they had an error. So I added another sub and fixed the panels, but
the compare validator still doesn't work right.
Right now the validator pops up with the error that the two values
(txtAcctAmtSum and txtInvAmt) are...
|
by: Sandy |
last post by:
Hi All!
I have a password textbox and a verify password textbox. I threw in the
compare validator to make sure both values agree. I noticed, however, that
immediately the compare validator displays the error message before all the
typing is completed in the "verify password" textbox. How do I get the
compare to fire only when a person has completed the textbox?
--
Sandy
|
by: JIM.H. |
last post by:
Hello,
I put a compare validator in to my applications and set the type as Date. It
works for 鈥淢M/dd/yyyy鈥 but not for 鈥淢M/dd/yyyy hh:mm:ss鈥. How can I validate
time part too?
Thanks,
|
|
by: thomson |
last post by:
Hi,
I have 5 aspx pages, In one page i have a Compare Validator
Control, The four aspx pages are loading fast with similar controls, no
code behind, But the page having Compare Validator Control is taking
time, Any insights to this?
Thanks in Advance
thomson
|
by: David Hearn |
last post by:
I have a user control that I created that I use in one page right now. It
has a textbox in it that is used to enter a date. I am using a compare
validator to validate the date format which works fine if you enter a date
and then use the tab key to leave the control. The problem is that it should
also be firing if the date is not correctly formatted when the user clicks
on a button that is in the parent page. The button has the...
|
by: guy |
last post by:
I have a simple web form that has 2 password fields, and a compare validator
that checks that both are the same - standard stuff.
however if nothing is entered in the second password box the compare
validator does not show the error, it works ok if there is data though
the fix is to put required field validators on both fields, but why is this
neccesary?
|
by: vrparekh |
last post by:
in my webapplication,user pick date in dd/mm/yy format,
and i want to compare that date with another date using compare validator but
compare validator compare the dates using mm/dd/yy format.
is there any way to change the format of date,used by compare validator.??
vishal parekh
|
by: bogdan |
last post by:
Is it possible to have a CompareValidator to compare values from two cells
in a gridview row? I'd like to do that while in edit mode.
Thanks,
Bogdan
|
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: 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: 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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|