Is it possible to use Panel control(Asp.net) with scrolling in MVC3 Razor? If not what will开发者_StackOverflow社区 be the alternative for this control?
I found it as very simple one. Thanks Sternr. I used div instead of Panel
coding
CSS will be
{
width:180px;
height:584px;
background-color:#CCCCCC;
float:left;
overflow:auto;
}
And if you don't need horizontal / vertical scroll specifically
You can give like
overflow-x:Hidden; Or
overflow-y:Hidden.
I didn't check compatibility for all browser versions. But it works fine on Chrome 13.0.782.107, Firefox 5.0 and IE 9
For IE8: -ms-overflow-y: hidden;
Thanks
精彩评论