Saturday, March 24, 2012

VS 2005 <Body> and <Div> tag scroll properties

Unlike 2003, VS 2005 issues errors when the <bodytag includes the scroll=
attribute and when asp:Panel or <divtags specify the onscroll event.

What is the preferred 2005 technique to implement this functionality?

TIAOn Apr 10, 10:42 pm, Dedge <D...@.discussions.microsoft.comwrote:

Quote:

Originally Posted by

Unlike 2003, VS 2005 issues errors when the <bodytag includes the scroll=
attribute and when asp:Panel or <divtags specify the onscroll event.


You should check out prototype.js if you're serious about anything
that has to do with JavaScript...

..t

--
http://ajaxwidgets.com
ASP.NET 2.0 Ajax Widgets
You might want to try using the "overflow" CSS attribute:
http://www.w3schools.com/css/pr_pos_overflow.asp
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Dedge" <Dedge@.discussions.microsoft.comwrote in message
news:666DB34E-5A35-4836-834B-3E121B52CD00@.microsoft.com...

Quote:

Originally Posted by

Unlike 2003, VS 2005 issues errors when the <bodytag includes the
scroll=
attribute and when asp:Panel or <divtags specify the onscroll event.
>
What is the preferred 2005 technique to implement this functionality?
>
TIA
>
>
>
>


Thanks Steve, but I need to be able to use the onscroll event from some kind
of scrollable content area control. I cannot seem to find a VS 2005 control
that even has an onscroll event. I guess a better question is How are
scrollable areas defined in VS 2005?

"Steve C. Orr [MCSD, MVP, CSM, ASP Inside" wrote:

Quote:

Originally Posted by

You might want to try using the "overflow" CSS attribute:
http://www.w3schools.com/css/pr_pos_overflow.asp
>
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
>
>
>
"Dedge" <Dedge@.discussions.microsoft.comwrote in message
news:666DB34E-5A35-4836-834B-3E121B52CD00@.microsoft.com...

Quote:

Originally Posted by

Unlike 2003, VS 2005 issues errors when the <bodytag includes the
scroll=
attribute and when asp:Panel or <divtags specify the onscroll event.

What is the preferred 2005 technique to implement this functionality?

TIA


>

0 comments:

Post a Comment