Ask a Question related to ASP.NET General, Design and Development.
-
Ante Perkovic #1
<span> attributes
Hi,
I noticed that client-side validation (in IE6) is done with <span>
tags that have the same attributes as in original aspx code
(controlToValidate and others...). I noticed that, when i save
generated html as a new document with html extension and open it in
Visual Studio.NET, the same VS.NET that created them doesn't
recognised those span atributtes (ie.5 shema is used) and marks them
with underline!
How is it possible that VS.NET doesn't recognize its own creation?
Also, i couldn't find any javascript that actually makes validator's
text visible on submit.
Is it done by some javascript code that is inserted in page with some
included .js file or is this functionality included in <span> tag?
Thanks, Ante
Ante Perkovic Guest
-
Row Span in a grid?
How can I have a column that would span 2 rows. For instance, I have 2 rows of data, the user may fill out one or both rows, then do a calculation... -
DataGrid (body only) contained in <span>...</span> tags
Hi, I have a DataGrid control that displays many records. As such, I have been given a requirement to contain only the body of my DataGrid... -
<span>'s
Hi, I have a link on an asp page. When the user clicks on this link I make a <span> visible. Within my span I have a series of textboxes. ... -
<SPAN> Tag
I know this is not FW related, it's just a quicky anyway: I noticed that Dreamweaver sometimes applies the <SPAN> tag to my text. But at other... -
DIV vs SPAN
In my quest to get my page working I'm noticing I have a choice of either <DIV> or <SPAN> tags. I'd like to use nested layers and am wondering will... -
David Waz... #2
Re: <span> attributes
..Net uses HTML and .Net syntax standards. These extended attributes are not
really part of either world.
..Net uses the fact that you can define your own attributes. The development
environment may underline the "offending" attribute, but you can still use
them.
Check out <Center>...</center> same thing - it doesn't "like" it, but you
can use it. Think of it as a little warning, not as an error.
"Ante Perkovic" <anteperkovic@vip.hr> wrote in message
news:f7ead98e.0307041130.3f4a0ff9@posting.google.c om...> Hi,
>
> I noticed that client-side validation (in IE6) is done with <span>
> tags that have the same attributes as in original aspx code
> (controlToValidate and others...). I noticed that, when i save
> generated html as a new document with html extension and open it in
> Visual Studio.NET, the same VS.NET that created them doesn't
> recognised those span atributtes (ie.5 shema is used) and marks them
> with underline!
> How is it possible that VS.NET doesn't recognize its own creation?
>
> Also, i couldn't find any javascript that actually makes validator's
> text visible on submit.
> Is it done by some javascript code that is inserted in page with some
> included .js file or is this functionality included in <span> tag?
>
> Thanks, Ante
>
David Waz... Guest
-
Chris R. Timmons #3
Re: <span> attributes
[email]anteperkovic@vip.hr[/email] (Ante Perkovic) wrote in
news:f7ead98e.0307041130.3f4a0ff9@posting.google.c om:
Ante,> Hi,
>
> I noticed that client-side validation (in IE6) is done with
> <span> tags that have the same attributes as in original aspx
> code (controlToValidate and others...). I noticed that, when i
> save generated html as a new document with html extension and
> open it in Visual Studio.NET, the same VS.NET that created them
> doesn't recognised those span atributtes (ie.5 shema is used)
> and marks them with underline!
> How is it possible that VS.NET doesn't recognize its own
> creation?
controlToValidate is not a standard attribute of the <SPAN> tag. A
browser will ignore any invalid HTML it sees. VS.NET doesn't know
that the controlToValidate attribute was added to the <SPAN> tag by
an ASP.NET validator, so it sees controlToValidate as invalid and
underlines it.
ASP.NET pages include a JavaScript file located on the server at:> Also, i couldn't find any javascript that actually makes
> validator's text visible on submit.
> Is it done by some javascript code that is inserted in page with
> some included .js file or is this functionality included in
> <span> tag?
C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_43 22
The script's name is WebUIValidation.js. Code in the script
shows/hides the error text from a validator by setting the <SPAN>
tag's style.display property:
[url]http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/[/url]
display.asp
Hope this helps.
Chris.
-------------
C.R. Timmons Consulting, Inc.
[url]http://www.crtimmonsinc.com/[/url]
Chris R. Timmons Guest



Reply With Quote

