Hello,
I know about the validator on : http://validator.w3.org
, which can validate html pages.
I just new to this validator.
How can I validate (if it can be - by this validator) aspx pages, and asmx
pages ?
Thanks :) 4 10783
Mr. x wrote: Hello, I know about the validator on : http://validator.w3.org , which can validate html pages.
I just new to this validator.
How can I validate (if it can be - by this validator) aspx pages, and asmx pages ?
Well the validator has an interface to enter a URL so enter http://www.yourserver.tld/yourdir/yourpage.aspx
and it will validate the HTML your .aspx page creates. Make sure your
page includes a DOCTYPE declaration of the document type against you
want to validate.
--
Martin Honnen http://JavaScript.FAQTs.com/
That's right,
but how can I validate the whole *.aspx file as is (and so what about *.asmx
file / web-service file , which is always on the server, and doesn't take
place of creating page to the client ) ?
Thanks :)
"Martin Honnen" <Ma***********@ t-online.de> wrote in message
news:u$******** ******@tk2msftn gp13.phx.gbl...
Mr. x wrote:
Hello, I know about the validator on : http://validator.w3.org , which can validate html pages.
I just new to this validator.
How can I validate (if it can be - by this validator) aspx pages, and
asmx pages ?
Well the validator has an interface to enter a URL so enter http://www.yourserver.tld/yourdir/yourpage.aspx and it will validate the HTML your .aspx page creates. Make sure your page includes a DOCTYPE declaration of the document type against you want to validate.
--
Martin Honnen http://JavaScript.FAQTs.com/
Mr. x wrote: That's right, but how can I validate the whole *.aspx file as is (and so what about *.asmx file / web-service file , which is always on the server, and doesn't take place of creating page to the client ) ?
An .aspx file can't be validated against a HTML document type definition
as an .aspx file contains things like
<%@ Page %>
and
<asp:Label>
etc which are not part of HTML. So validation of an .aspx file as HTML
doesn't make any sense.
It only makes sense to validate the output of your .aspx page. "Martin Honnen" <Ma***********@ t-online.de> wrote in message news:u$******** ******@tk2msftn gp13.phx.gbl...
Mr. x wrote:
Hello, I know about the validator on : http://validator.w3.org , which can validate html pages.
I just new to this validator.
How can I validate (if it can be - by this validator) aspx pages, and asmx pages ?
Well the validator has an interface to enter a URL so enter http://www.yourserver.tld/yourdir/yourpage.aspx and it will validate the HTML your .aspx page creates. Make sure your page includes a DOCTYPE declaration of the document type against you want to validate.
--
Martin Honnen http://JavaScript.FAQTs.com/
--
Martin Honnen http://JavaScript.FAQTs.com/
Martin Honnen wrote : An .aspx file can't be validated against a HTML document type definition as an .aspx file contains things like <%@ Page %> and <asp:Label> etc which are not part of HTML. So validation of an .aspx file as HTML doesn't make any sense. It only makes sense to validate the output of your .aspx page.
I may have also errors on my page (I find that by <%@ page debug = "true" %>
i can debug my code,
but what about web-services (*.asmx) ?
Thanks :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: FabFreddy |
last post by:
Hi,
I can't find out what the problem is with the error message below! I get it
when I go from one to another page with controls in these pages.
Anyone knows???
THX
Unable to validate data.
Description: An unhandled exception occurred during the execution of the
|
by: Jeff Evans |
last post by:
I have a custom composite control which has a validator for a textbox. The validator and textbox are declared in the class and created in the CreateChildControls() method
Here is the code for the textbox, in CreateChildControls()
searchBox = new TextBox();
searchBox.ID = "searchBox";
searchBox.EnableViewState = false;
It is then added to a TableCell, which is added to a row, etc.
|
by: wolf |
last post by:
There are three webcontrol on my asp.net form: a TextBox, a submit button
and a RegularExpressionValidator. And I had set ControlToValidate property
of the RegularExpressionValidator to the TextBox. But now, when I input a
string in the textbox and press Enter key, the form was submit without
client javascript validate.
Why? And what should I do to enable client validate before submit the form
whethe press Enter key or click Submit...
|
by: Martin |
last post by:
Hi,
I am implemeting a form in asp.net.
The form is quite large and the validation is reasonably complex, so I have
decieded to implement my own validation rather than use any custon
validators,
so I have a button on the form and the "causes validation" property is set
to true.
I have overridden the "Validate()" like so
|
by: sjl |
last post by:
I've got an .aspx webform for searching my database. It basically takes user
input and passes it as a parm into a stored proc to search a table. The
results are returned in a SQLDataReader and bound to a datagrid on the same
page. It works 90% of the time as expected. However, for some unknown
reason, I randomly get the error below. The HttpException says there is an
'Invalid_Viewstate'. Ok, but why? I'm posting back to the same page. If...
| |
by: BuddyWork |
last post by:
Hello,
When setting the Web Gardens to 3 and I start browsing one of my
asp.net page I get the following error shown below. I don't get the
error when I set the Web Gardens to 1. Please note that I'm using
Windows 2003 Server with .Net Framework 1.1 SP1.
Error:
|
by: Joey |
last post by:
Does anyone know how to validate only one certain control in server
side code on postback? Instead of Page.Validate() and Page.IsValid, is
there some functionality equivalent to txtMyTextBox.IsValid...
I could also make it work if I could figure out how to use server side
code to compare a string value against a regular expression string,
with a boolean true/false result.
I need to do this to ensure that my database insert does not...
|
by: Solje |
last post by:
Im developing an ASP.NET application used for maintinance purpose and
it may be idle for some ours. The application crash with the error
shown below when the user click on some contol in the appliaction.
This crash occurs on every clients at same time, event for the client
at the local server. I added some logging to the Application_Error
method that contains following:
Exception of type System.Web.HttpUnhandledException was thrown.
at...
|
by: thupham |
last post by:
I have 2 page:
index.aspx
next.aspx
and the code in javascript to validate Email:
function fnEmail()
{
if(checkEmail(form1.txtEmail.value)== false)
{
alert("Email is not valid!");
form1.txtEmail.focus();
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |