Hello
I'm using VS.NET to develop an ASP application. I have a Crystal Report (through the IDE) which works great, my problem is getting the report centered in the ASP page.
I dropped the report viewer on my .aspx page; when I try to center it in the design grid it comes up on the far right in IE. If I place the viewer all the way to the left of the grid it's almost center, but not quite.
When I switch to HTML in the IDE, I can see that it uses absolute position with TOP and LEFT coordinates (as you may tell, I'm no HTML guru). Looks like this:
<CR:CRYSTALREPORTVIEWER id="ReportViewer" style="Z-INDEX: 101; LEFT: 320px; POSITION: absolute; TOP: 158px"
runat="server" Height="50px" Width="350px"></CR:CRYSTALREPORTVIEWER>
Is there any way to just center the thing, without worrying about pixels?
Thanks in advance,
Jason
I'm using VS.NET to develop an ASP application. I have a Crystal Report (through the IDE) which works great, my problem is getting the report centered in the ASP page.
I dropped the report viewer on my .aspx page; when I try to center it in the design grid it comes up on the far right in IE. If I place the viewer all the way to the left of the grid it's almost center, but not quite.
When I switch to HTML in the IDE, I can see that it uses absolute position with TOP and LEFT coordinates (as you may tell, I'm no HTML guru). Looks like this:
<CR:CRYSTALREPORTVIEWER id="ReportViewer" style="Z-INDEX: 101; LEFT: 320px; POSITION: absolute; TOP: 158px"
runat="server" Height="50px" Width="350px"></CR:CRYSTALREPORTVIEWER>
Is there any way to just center the thing, without worrying about pixels?
Thanks in advance,
Jason