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

RequiredFieldValidator not working in Firefox or on MAC

I have a field that is required.. If the user doesn't put anything in
that field, it throws a "Argument 'Length' must be greater or equal to
zero." error.. Is there anyway to fix this?

Nov 19 '05 #1
1 1196
Nevermind.. I found the answer.. I need to put

Page.Validate()
If Page.IsValid Then

else
end if

for all my button events.. thanks anyway

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: BK | last post by:
I'm having a really strange problem with and HtmlSelect server control (listbox) and a RequiredFieldValidator that I am trying to use to make sure that someone has items in the listbox. The way...
4
by: James | last post by:
Hello, I have a RequiredFieldValidator for several textbox controls on a form. Here's an example with the RequiredFieldValidator. EnableClientScript, Enabled, and Visible are set to true for...
4
by: Joe | last post by:
Hello, I have created a login page using dotnet. I am using requiredFieldValidator and noticed that the code works fine in IE but not in Netscape, Opera, Mozilla, Firefox, etc. For example...
2
by: Jim Reynolds | last post by:
Hi, Is it possible to use a RequiredFieldValidator at runtime. I have tried and it apears to ignore the field to valdate propertie Jim
3
by: Nick Goloborodko | last post by:
Hi, I've been having a really weird problem with required field validator. Here's the detailed description of the problem: I have originally been developing my web application on Windows XP...
3
by: Maziar Aflatoun | last post by:
Hi, requiredfieldvalidator doesn't work in none-IE browsers. Is there way to change it to check on the server-side instead of the client side? Thanks Maz.
5
by: bdtmike | last post by:
I'm using VS2005. I have a form that has fields and a required field validator control on it. Everything works great except there's a behavior I'm trying to get working. If a user is on a form...
1
by: Bonaparte | last post by:
At least someone is reading this, thanks ;-) I am working in VWD 2005 Express - ASP.NET 2.0 - FrameWork 2.0 - XP Pro - IE 6.0 all with the latest ServicePacks. I have a form with...
0
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi, How can I make RequiredFieldValidator triggered on button click? in my form I have a wizard that contain a search button few textboxes with RequiredFieldValidators for each and I have set...
3
by: Bogdan | last post by:
Hi, I have a OnClientClick script assigned to a button. From the script, I'd like to check if RequiredFieldValidator attached to a textbox on the page has failed. The Page_IsValid works fine...
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
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.