I am writing a report that translates well to PDF. However, it is not exported to a Word document (.doc) properly.
(Fields are ignored in the header area, which randomly breaks page breaks, missing footer text, etc.)
To get around this, I want to disable, enable and / or resize several elements in my report, depending on whether it will appear as a PDF or Word Document.
Is there a way to set the properties of elements depending on how the report is rendered?
, : Globals.ReportServerUrl. ( , ..) URL-. , , - , URL-, .
URL : http://technet.microsoft.com/en-us/library/ms154040.aspx
, , asp.net. , , (PDF, Excel - , ).
- "RenderType = HTML". , PDF, , , ServerReport.Render() "PDF RenderType, Excel".
// .
Webcontrol / , .., , ( css ). , , - , x, , .
, .
Source: https://habr.com/ru/post/1702804/More articles:Limit the number of exits in a Hibernate request - frameworksWhat is a more efficient way to remove all children of an HTML element? - javascriptКак написать строку в текстовый файл без удаления/замены любого слова в исходном файле? - cocoaКак удалить точки восстановления Windows в С#? - c#Using GDI + Bitmap - visual-studio-2008Declaring a JNDI variable in JBoss 4.0.5 - jbossXML parsing containing XML in elements, can this be done - javaIs PubDate / Guid important for RSS? How to create good RSS in Yahoo! Pipes, if the source does not provide different dates for the elements? - guidHow to get a hint irb (main): 001: 0> "instead of" >> "- ruby | fooobar.comIs there a downloadable document that encapsulates the basic rules that StyleCop applies? - c #All Articles