ASP.net RequiredValidator is not working in FireFox

N

Niraj Sikotara

hello,

i forgot to mention, steps to reproduce the error, those are,

1) download the zip and extract it to any temp folder
2) goto IIS and create a virtual directory and place the content of
temp folder into it so that u can access page inside it in browser.
3) now goto firefox and write address of the page to load it,

i hope this little info is enough to get a techy to get started :)

4) now once the page is loaded, u may see a form, where u are asked to
fill info.
5) leave "Organisation ID" nil.
6) enter some text in "Name" (e.g. sdfsd)
7) enter some text in "Email" (e.g. dfsd)
8) enter some text in "Expiry Date Time" (e.g. 132)

press enter.

thanks and regards,
Niraj sikotara.
 
N

Niraj Sikotara

hello,

to all who face this problem, may look at the workarround i've choosen.


here is the download link of same page with extra code to handle the
error situation.
http://ez-files.net/download.php?file=282b9463

for those who would not like to download again, here is what i did.

Sub btnAdd_Click(...)
Page.Validate()
If Not Page.IsValid Then
lblMessage.Text = "<b>" + "Data Validation Failed, make
sure all inputs marked with RED STAR are correct..." + "</b><p>"
Return
End If

.......your code goes here......

end sub

thanks to...

1) Validation Controls not working on Firefox at
http://weblogs.asp.net/sushilasb/archive/2005/03/25/395914.aspx

2) When using ASP.NET Validator Controls... if (Page.IsValid) { Now
it's safe to go on! }
at http://weblogs.asp.net/sibrahim/archive/2003/06/15/8723.aspx

thanks,

Niraj Sikotara.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top