Saturday, March 24, 2012

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

Unlike 2003, VS 2005 issues errors when the <body> tag includes the scroll=
attribute and when asp:Panel or <div> tags specify the onscroll event.
What is the preferred 2005 technique to implement this functionality?
TIAYou 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.com> wrote in message
news:666DB34E-5A35-4836-834B-3E121B52CD00@.microsoft.com...
> Unlike 2003, VS 2005 issues errors when the <body> tag includes the
> scroll=
> attribute and when asp:Panel or <div> tags specify the onscroll event.
> What is the preferred 2005 technique to implement this functionality?
> TIA
>
>
On Apr 10, 10:42 pm, Dedge <D...@.discussions.microsoft.com> wrote:
> Unlike 2003, VS 2005 issues errors when the <body> tag includes the scroll
=
> attribute and when asp:Panel or <div> tags 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
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:

> 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.com> wrote in message
> news:666DB34E-5A35-4836-834B-3E121B52CD00@.microsoft.com...
>

0 comments:

Post a Comment