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

ValidationSummary, ShowMessageBox and Netscape

Joe
Since netscape doesn't support client side validation, can anyone suggest a
way to display the message using an alert? Due to the layout of the page, we
can't have validation labels above, next to or below the controls missing
their value or having invalid format.
I haven't found a property of the ValidationSummary control to read the
error message that would normally be displayed in a message box.

Thanks,
Joe
Nov 18 '05 #1
2 1009
Netscape does support client side Validation however Microsoft chose to
create implementations of Client Side Validation that favored IE.
If you want you can write your own client side scripts that check the
values.
"Joe" <J@fishinbrain.com> wrote in message
news:Oc**************@TK2MSFTNGP11.phx.gbl...
Since netscape doesn't support client side validation, can anyone suggest
a
way to display the message using an alert? Due to the layout of the page,
we
can't have validation labels above, next to or below the controls missing
their value or having invalid format.
I haven't found a property of the ValidationSummary control to read the
error message that would normally be displayed in a message box.

Thanks,
Joe

Nov 18 '05 #2
you could try something like

if not page.isvalid then
page.registerstartupscript("onLoad","<script>alert ('page is not
valid');</script>")
end if

"Joe" <J@fishinbrain.com> wrote in message
news:Oc**************@TK2MSFTNGP11.phx.gbl...
Since netscape doesn't support client side validation, can anyone suggest a way to display the message using an alert? Due to the layout of the page, we can't have validation labels above, next to or below the controls missing
their value or having invalid format.
I haven't found a property of the ValidationSummary control to read the
error message that would normally be displayed in a message box.

Thanks,
Joe

Nov 18 '05 #3

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

Similar topics

0
by: Celine | last post by:
I'm using a ValidationSummary with ShowMessageBox set to "True". It's working fine with internet explorer but when it comes to Mozilla Firefox it's not the same. No window is opened. What can I do...
0
by: newusertodotnet | last post by:
I'm trying to add a ValidationSummary control to a common base page used by all of our system's aspx/ascx files. The base page is a regular class file that inherits from System.Web.UI.Page. When I...
0
by: John Mabbott | last post by:
Hello all, We're getting some weird behavior with the ValidationSummary control. If I submit a page that fires some validators, the ValidationSummary displays them correctly. However, if I...
0
by: Gandalf | last post by:
If I use a ValidationSummary with ShowMessageBox set true, the HeaderText does not appear on the message box, neither in the title bar nor in the message. Is there any way to fix this?...
2
by: mg | last post by:
Running the following code (style properties removed for clarity) in VS .NET 2003 on Windows 2000 results in the Validation Summary appearing in both a pop-up dialog box and on the screen. ...
3
by: Christer | last post by:
Hi all! I recently created a MessageBox webcontrol for asp.net. This can be used as is, but I also want to take ude of it in other webcontrols. Right now i creating a ValidationSummary control,...
9
by: Hardy Wang | last post by:
Hi, I have some validations on a page, some of them are CustomValidation which will go to server to do some complex logic. I set the ValidationSummary.ShowMessageBox = true, but message box won't...
5
by: john.livermore | last post by:
I am successfully using the client side validation controls, but there are a couple aspects of their behavior that I wish to modify. I cannot see how to accomplish this through the properties, but...
1
by: Ken Varn | last post by:
If a page has multiple ValidationSummary controls, how does it distinguish which ValidationControls are associated with which ValidationSummary controls? The reason I am asking this is that I...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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:
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...
0
Oralloy
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,...

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.