Formatted ReportViewer Toolbar

I used ReportViewer in VS2012 on an asp.net page, and the toolbar does not display well (see image) thats how the toolbar for reportviewer appears in design modeand on the production machine it appers like this. . Please, help!

+4
source share
1 answer

To fix this problem, follow these steps, but do not forget to make a backup copy of the file, because it will affect the site style if you use the Microsoft style.

1- find the css file and open it in the project folder \ content \ site.css. 2 - find the following text (input, text field) and delete the setting between {} from

input, textarea { border: 1px solid #e2e2e2; background: #fff; color: #333; font-size: 1.2em; margin: 5px 0 6px 0; padding: 5px; width: 300px; } 

to

 input, textarea { } 

3- change td, which under the table is similar to this From

 td { padding: 0.25em 2em 0.25em 0em; border: 0 none; 

}

For

 td { padding: 0px 0px 0px 0px; border: 0 none; 

}

Now your life seems good.

+2
source

Source: https://habr.com/ru/post/1501695/


All Articles