Rounded rectangle in RDLC Report

烂漫一生 提交于 2019-12-12 01:45:42

问题


I have drawn rectangles and tables in my RDLC report. But I want to show rectangle's rounded corners and Black color of Table cell borders. Is there any way to do it? Or anyway I can use CSS styles in RDLC report elements?


回答1:


You can try to use CSS on the elements. The ID of the ReportViewer Div is usually "1_" whatever the instance name is, meaning if you have something like:

private void Page_Load(object sender, System.EventArgs e)
{
    MyReportViewer.ShowBackButton = false;
    MyReportViewer.ShowCredentialPrompts = false;
}

Then it -should- be given the ID="1_MyReportViewer".

This is from my experiences with ReportViewer2008, so this is an observation and not exact certainty.



来源:https://stackoverflow.com/questions/19011157/rounded-rectangle-in-rdlc-report

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!