473,378 Members | 1,699 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,378 software developers and data experts.

.NET(validation)

In my form there are two textboxs in which i have applied required field validator.
I have two button one is add and one is clear.
what happen is if there is nothing entered in textboxes
and if i click on Clear button It display the validation error msg.
I dont want it to happen with clear button .
only when i click on add button it should happen.
Sep 22 '08 #1
1 1117
PRR
750 Expert 512MB
In my form there are two textboxs in which i have applied required field validator.
I have two button one is add and one is clear.
what happen is if there is nothing entered in textboxes
and if i click on Clear button It display the validation error msg.
I dont want it to happen with clear button .
only when i click on add button it should happen.
Theres a button property CauseValidation ... Setting to to false will disable validation for that button
Sep 22 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: tzigone | last post by:
hello, i use asp.net validation controls in my site. i wonder whether usin javascript validation will fasten page load speed? there are currently lots of requiredfieldvalidator now is it better t...
3
by: Srinivasa Raghavan | last post by:
Hi all, The Asp.net validation controls are skipping the validations in netscape.Please suggest a solution for this. Thanks Srinivasa Raghavan
5
by: raagz | last post by:
Hi, I am using the .NET validation controls for validating . The validation works fine with IE but none of them work with Netscape 6 browser. Do i have to configure something in vS.NET to...
3
by: Keith Free Ellis | last post by:
I'm having a problem with an asp.net web app after uploading to the remote server. It seems that most of the button event handlers are not firing. This occurs mostly in the form pages for editing...
2
by: Roh | last post by:
Hi, Can we use Javascript and .Net Validation controls on the same page. If yes how? Please provide some examples which will help me a lot....thanks.
2
by: msnews.microsoft.com | last post by:
Hi Every Body, I have build the website in asp.net using vb.net. I use the asp.net validation controls for client side validation. When I run the site in Internet Explorer, It run properly and...
3
by: mallik | last post by:
Seems like we have a strange problem. Development environment is win 2000 prof, IIS5.0, QA environment is Windows 2003 server, IIS 6.0. Everything works as expected on Dev. machine, but when...
2
by: Marc Robitaille | last post by:
Hello, I built myself a calendar control. I want the control to be able to be validated by .NET validation controls. So I added the ValidationPropertyAttribute("Text") to my class declaration of...
5
by: Kuldeep | last post by:
Framework: Visual Studio 2005 Technology: ASP.NET 2.0 Language: C#.NET 2.0 Hi All, We have developed a Web Application on Visual Studio 2005 (ASP.NET 2.0) and deployed it on the Client's...
8
by: =?Utf-8?B?Q2hyaXMgSGFsY3Jvdw==?= | last post by:
Hi there I've successfully added some .NET validation controls to a page (using <asp:RequiredFieldValidator ...), however when I try to set the 'display' property to 'dynamic', my page then...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.