Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > custom html validation in VS2005

Reply
Thread Tools

custom html validation in VS2005

 
 
discipline4ever666
Guest
Posts: n/a
 
      10-07-2008
Hi,

the CMS out company wrote a few years ago, uses certain attrbutes not
included in any HTML validation known. Is there a way to add these custom
attributes to HTML validation within VS2005? I ask this to reduce the number
of errors I see without having to disable error trapping completely. I still
want to see all error, without the ones from our own CMS. Ill give a little
example. On a website we use the attribute pf_string="test" to let our CMS
know it has to replace the content within a tag with a translated version of
the text. When I open the page created with our CMS in VB2005 I get an error
for every pf_string it finds. When an entire page is filled with some 20 of
these attributes, I get 20 errors. Therefor I waste a lot of time just having
to read all of them and finding out where the list with real errors begin.
the full example is added at the end.

Is there a way to let VB2005 know to ignore these attributes (adding of
custom HTML validation rules would also be nice). This would help me a lot
when creating websites since our CMS doesn't have the full type ahead of
VB2005.


<div id="deliveryConditions" pf_string="delivery">here is some junk info</div>

when our CMS finds the pf_string attribute, it replaces all contents in the
DIV with the translated text which is retrieved from a DB. The language to be
used is retrieved another way not discussed here.
 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      10-08-2008
you will have to build you own validation schema:

http://blogs.msdn.com/mikhailarkhipo...01/522614.aspx

-- bruce (sqlwork.com)

discipline4ever666 wrote:
> Hi,
>
> the CMS out company wrote a few years ago, uses certain attrbutes not
> included in any HTML validation known. Is there a way to add these custom
> attributes to HTML validation within VS2005? I ask this to reduce the number
> of errors I see without having to disable error trapping completely. I still
> want to see all error, without the ones from our own CMS. Ill give a little
> example. On a website we use the attribute pf_string="test" to let our CMS
> know it has to replace the content within a tag with a translated version of
> the text. When I open the page created with our CMS in VB2005 I get an error
> for every pf_string it finds. When an entire page is filled with some 20 of
> these attributes, I get 20 errors. Therefor I waste a lot of time just having
> to read all of them and finding out where the list with real errors begin.
> the full example is added at the end.
>
> Is there a way to let VB2005 know to ignore these attributes (adding of
> custom HTML validation rules would also be nice). This would help me a lot
> when creating websites since our CMS doesn't have the full type ahead of
> VB2005.
>
>
> <div id="deliveryConditions" pf_string="delivery">here is some junk info</div>
>
> when our CMS finds the pf_string attribute, it replaces all contents in the
> DIV with the translated text which is retrieved from a DB. The language to be
> used is retrieved another way not discussed here.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intelisense for Custom Controls in VS2005 Natan Vivo ASP .Net 0 03-24-2006 03:14 PM
vs2005 Web Custom Control Amelyan ASP .Net 1 11-14-2005 12:59 PM
VS2005 ASP.NET 2.0 does not fire event for dynamically created custom web controls Amelyan ASP .Net 2 11-05-2005 05:29 PM
Using Summary Validation control with server Custom validation =?Utf-8?B?QmFyYmFyYSBBbGRlcnRvbg==?= ASP .Net 2 10-15-2004 06:15 PM
Re: only custom validation control does server side validation? Colin Mackay ASP .Net 0 06-25-2003 07:54 AM



Advertisments