Search the Wiki

Viewing 364 to 366 of 408 items

How To…Refresh the Report After a Drawcommand Click

Question “How can I refresh/redraw the report after I click a “hot” component on my report?” Solution Inside the OnDrawCommandClick event of a report component, reset the report and report engine.  Then set the DrawCommand.RedrawPage property to True. This is very similar to the way the AutoSearch feature functions and can also be done with  Full Article…

0

How To…Manually Add a Watermark to a Page

Question “How can I add a watermark to a page in code without using the PageStyle band?” Solution Use the Report.OnEndPage event to create the drawcommands needed and manually add them to the page. Note: If you would like the watermark to appear behind the rest of the report components, create a Page Style and  Full Article…

0

How To…Format Text With Ellipse

Question “How can I append a ‘…’ to the end of text that is too wide to fit the bounds of a control?” Solution ReportBuilder 12 introduced the TppCustomText.Ellipsis property to automatically truncate text too wide to fit in a given area.  Below is an example of performing this task for versions earlier than RB  Full Article…

0