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

Asp.net Client Side Validation Controls are not workiing in Non IE Browsers

Hi
I have find the following <browserCap> tag at the follwing link.
http://blogs.msdn.com/scottgu/archiv...09/254583.aspx
But Still the form is submitted the to server and then show me
the validation summery message which i use in validation controls.
In case IE the form is not submitted to server. First it check
the page validaty and then submit the page.
Regards,

Muhammad Jamil Nawaz

<browserCaps>

<case match="^Mozilla/5\.0 \([^)]*\)
(Gecko/[-\d]+)?Netscape[6|7]/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters' \w*)).*">

tagwriter=System.Web.UI.HtmlTextWriter
browser=Netscape
version=${version}
majorversion=${major}
minorversion=${minor}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
</case>
<!-- MOZILLA //-->

<case
match="^Mozilla/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters' \w*)).*">
<case match="^[5-9]\." with="${version}">
tagwriter=System.Web.UI.HtmlTextWriter
</case>
</case>
<!-- OPERA 5+ //-->

<case match="Opera[
/](?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters' \w*))">
<filter match="[4-9]" with="${major}">
<filter match="[5-9]" with="${major}">
tagwriter=System.Web.UI.HtmlTextWriter
</filter>
</filter>
</case>

</browserCaps>
Nov 19 '05 #1
1 1162
HI...

here is a nice article which describes how to solve this validation control
problem with Non-MS Browser's.

http://aspnet.4guysfromrolla.com/articles/051204-1.aspx

Hope this will help you...!!!

Cheers,

Jerome. M

"msnews.microsoft.com" wrote:
Hi
I have find the following <browserCap> tag at the follwing link.
http://blogs.msdn.com/scottgu/archiv...09/254583.aspx
But Still the form is submitted the to server and then show me
the validation summery message which i use in validation controls.
In case IE the form is not submitted to server. First it check
the page validaty and then submit the page.
Regards,

Muhammad Jamil Nawaz

<browserCaps>

<case match="^Mozilla/5\.0 \([^)]*\)
(Gecko/[-\d]+)?Netscape[6|7]/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters' \w*)).*">

tagwriter=System.Web.UI.HtmlTextWriter
browser=Netscape
version=${version}
majorversion=${major}
minorversion=${minor}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
</case>
<!-- MOZILLA //-->

<case
match="^Mozilla/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters' \w*)).*">
<case match="^[5-9]\." with="${version}">
tagwriter=System.Web.UI.HtmlTextWriter
</case>
</case>
<!-- OPERA 5+ //-->

<case match="Opera[
/](?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters' \w*))">
<filter match="[4-9]" with="${major}">
<filter match="[5-9]" with="${major}">
tagwriter=System.Web.UI.HtmlTextWriter
</filter>
</filter>
</case>

</browserCaps>

Nov 19 '05 #2

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

Similar topics

2
by: Christophe | last post by:
is it normal that my required and range validator work on then client side only with IE 6 (maybe IE5) and not opera 7, netscape 4.7x, netscape 7 ? in the generated pages, validation.js is inserted...
4
by: | last post by:
Hello Guys, I am using the validation controls to validate my data. But the problem is "The page is still being posted to server". I want to get rid of the round trips to server. Are there...
14
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2)...
3
by: Earl Teigrob | last post by:
I wanted my "Terms and Conditions" Checkbox control to participate in my ASP.NET validation just like all the the other controls on the page. After some time of searching the web for an example of...
5
by: Mong | last post by:
Hi, I have a webform with various asp controls on it such as textboxes and dropdownlists. I'm fairly new to asp.net coming from VB6 and am wondering when it's best to use client side events and...
8
by: John Dalberg | last post by:
I have an aspx page that was developed initially in Dreamweaver as a regular html file. I have added a few textboxes and required validators. The problem is that the client side validation is not...
5
by: Sun Jian | last post by:
Hi, I am trying to customize the asp.net validation to achieve the following: Upon submitting the form, client side validation will run, and it will stop at the first error detected. For...
1
by: Hong Hao | last post by:
Recently, I was trying to modify an existing aspx page when client-side validation on that page stopped working. I searched this group and the web in general and found that other people have had...
4
by: Chris | last post by:
Hi, i want to validate a textbox like this: <asp:TextBox ID="vrg" runat="server" Width="495px" TextMode=MultiLine/> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"...
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: 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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.