This is a migrated thread and some comments may be shown as answers.

Customize RadBusyContent in RadPdfViewer

4 Answers 139 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Guy
Top achievements
Rank 1
Guy asked on 07 Mar 2012, 04:44 PM
Hi, 

I would like to know how I could customize message shown in RadBusyIndicator when loading or printing RadPdfViewer. I found even when printing the message is not swuitable because is still  "Loading...". How can localize this message because my application is multi-language.

Thanks for your replay.

Guy

4 Answers, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 09 Mar 2012, 01:20 PM
Hi Guy,

You can override the control template of RadPdfViewer and the RadBusyIndicator in it. This can be achieved most easily in Expression Blend. Please, refer to this article for more information on changing the content of RadBusyIndicator.

Kind regards,
Kammen
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Guy
Top achievements
Rank 1
answered on 09 Mar 2012, 04:32 PM
Hi Kammen,

Thank u for your quick replay.  I tried your advice but i  there is something i dont understand. I checked also the demo examples provided online. It seems that event i remove the RadBusyIndicator in the control template i still have RadBusyIndicator when i run the application. I guess there is a built in BusyIndicator in the PdfViewer and i don t know how i can access it to change the busy message depending on the state. Can u give me an idea how i can achieve this.

Thank u 

Guy
0
Iva Toteva
Telerik team
answered on 12 Mar 2012, 10:10 AM
Hi Guy,

Removing the BusyIndicator from the template of the control should be sufficient.

Please find attached a demo which includes the template of RadPdfViewer in which the BusyIndicator has been commented out and is not shown when opening documents or printing them. I have also included the style of the RadBusyIndicator in case you decide to customize it instead of removing it altogether.

Kind regards,
Iva Toteva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Guy
Top achievements
Rank 1
answered on 12 Mar 2012, 04:29 PM
Hi Iva ,
Thanks for your  quick replay and it helps me a lot to customize the PdfViewer's busyIndicator when it is in the loading or printing mode.
Best regards,
Guy

Tags
PDFViewer
Asked by
Guy
Top achievements
Rank 1
Answers by
Kammen
Telerik team
Guy
Top achievements
Rank 1
Iva Toteva
Telerik team
Share this question
or