Sometimes the list content is very long and we dont want a very huge page length. iframe dont seem to work because we need a src="", and also use ajax on this page. All we need to do it put a div around the content. Set its dimensions and overflow:auto in its style: < div style ="width:300px;height:250px;overflow:auto;"> your content goes here </ div > if the content is too long,then there will be a vertical scrollbar. If the content is too wide and cannot wrap within div witdh,then there will be a horizontal scrollbar.
C#, VB.NET, SQL Server ,ASP.NET and Crystal Report and Net for Beginner.