0

hi friends,
I m new to javascript and asp.net .
Is anyone knows what is the exact problem?

// This is asp.net snippet
<marquee id="marqueeLeft" class="marqueestyle" direction="up" onmouseout="this.start();" onmouseover="this.stop();"
                            scrolldelay="500" style="height: 99px; width: 100%;"  >
                            <asp:PlaceHolder ID="LeftPlaceHolder" runat="server"></asp:PlaceHolder>
                       </marquee>

When I moved the pointer to this <marquee> tag.
It shows the error message "Validation (xhtml 1.0 transitional) element marquee is not supported".
When i run my web app it runs successfully
but it gives jscript error as System.Argument Exception as value for controls and behaviors must not be null.

4
Contributors
8
Replies
9
Views
7 Years
Discussion Span
Last Post by deepshikha.joha
0

Hey

The <marquee> tag is not a valid (X)HTML tag, which is why your IDE (Visual Studio, I assume) tells you it is not supported in XHTML.
It's an old IE tag that was never accepted into the standards.

ut it gives jscript error as System.Argument Exception as value for controls and behaviors must not be null.

I won't pretend I'm an expert on .Net, but I seem to remember something about the AjaxToolkit not being able to populate the <asp:PlaceHolder> tags. Something about their names changing, or something like that.

Try replacing that with simething else, like a <asp:Label> . (I think that one exists in .Net, right? xD)

0

Hey

The <marquee> tag is not a valid (X)HTML tag, which is why your IDE (Visual Studio, I assume) tells you it is not supported in XHTML.
It's an old IE tag that was never accepted into the standards.


I won't pretend I'm an expert on .Net, but I seem to remember something about the AjaxToolkit not being able to populate the <asp:PlaceHolder> tags. Something about their names changing, or something like that.

Try replacing that with simething else, like a <asp:Label> . (I think that one exists in .Net, right? xD)

Thanks for reply .
I have tried for the label without using placeholder. But it is not possible.
Because according to no of news i have to create no of different labels with their id

0

Validation (XHTML 1.0 Transitional): Element 'marquee' is not supported.
i have got the same problem??
can somebody help????

0

The <marquee> tag is not a valid (X)HTML tag, which is why your IDE (Visual Studio, I assume) tells you it is not supported in XHTML.
It's an old IE tag that was never accepted into the standards.

As said before. No way to validate a marquee tag in XHTML. You can change it to a div and use javascript/jquery to mimic the behaviour, that will pass validation.

Edited by pritaeas: n/a

0

MEMSG.To = GetData(tsqlemail)

the ERROR i get is :::::::::::::Property 'To' is 'ReadOnly'.

how do i correct this???

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.