Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
ASP.NET
<form id="form1" runat="server">
   <asp:ScriptManager id="ScriptManager1" runat="server"  EnablePartialRendering="true"></asp:ScriptManager>
   <div>
       <rsweb:ReportViewer ID="ReportViewer1"  runat="server" Height="100px" width="100px" visible="true" align="center"></rsweb:ReportViewer>
   </div>
   </form>


How can i add a vertical and horizontal scroll bar and need to align text to center?

What I have tried:

changed the Report viewer following way to achieve the scrollbar as well as center alignment. but did not work
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Height="100px" width="100px" visible="true" align="center" AsyncRendering="true">
Posted
Comments
Sergey Alexandrovich Kryukov 9-May-16 19:02pm    
Aligning anything with a scroll bar is probably the worst idea I even hear of alignment. Better design your UI in a reasonable way. I can imagine where it comes from: you created some layout, and then moved the scroll bar and decided that it "looks better", right? But how about thinking that a user is interactive?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900