Telerik Forums
UI for WPF Forum
1 answer
1 view

Hey,

as in the titel is there a event or workaround to know if a userer startet to type inside a pdf text field. I just need it to set a bool true to inform the user that there is a possibility to lose data.

 

Thanks

Dominik

Dimitar
Telerik team
 answered on 28 Mar 2024
1 answer
8 views

As in the title it doesnt work so the movement on the document isnt great.

 

Thanks for the help

Dominik

Dimitar
Telerik team
 answered on 12 Mar 2024
0 answers
17 views

As in the title some charactes are getting not displayed in some pdfs.

If I import this pdf: https://jmp.sh/s/mdWM2qNDL2Oi6Yd825s0

Im getting this result its right if you click inside the field but its not getting displayed correct when not inside the field

 

Maybe its something with the font, thats the only thing i could think of.

 

Thanks for the help

Dominik

 

 

Dominik
Top achievements
Rank 1
Iron
Iron
 updated question on 21 Feb 2024
1 answer
24 views

Hey im using the telerik PercentComboBox and i want to change language of the FitToPage and FitToWidthto be displayed in german.

 

  <telerik:PercentComboBox DataContext="{Binding DataContext, RelativeSource={RelativeSource AncestorType={x:Type local:DialogControl}}}"
                           Value="{Binding ScaleFactor,ElementName=pdfViewer, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                           RadPdfViewer="{Binding ElementName=pdfViewer}" ShowFitToWidth="True" ShowFitToPage="True"
                           telerik:Windows11ThemeSizeHelper.EnableDynamicAnimation="True" Language="de-DE">
      <telerik:PercentComboBox.PercentValues>
          <telerik:Percent Value="200"/>
          <telerik:Percent Value="150"/>
          <telerik:Percent Value="125"/>
          <telerik:Percent Value="110"/>
          <telerik:Percent Value="100"/>
          <telerik:Percent Value="90"/>
          <telerik:Percent Value="75"/>
          <telerik:Percent Value="50"/>
          <telerik:Percent Value="30"/>
      </telerik:PercentComboBox.PercentValues>
  </telerik:PercentComboBox>

 

Hope there is a way. Thanks

Dominik

Stenly
Telerik team
 answered on 12 Dec 2023
1 answer
33 views

Hey,

I have set my TextField to ReadOnly but the RadPdfViewer doesnt react to it. Im getting a pdf File that im importing using the telerik PdfFormatProvider after that im trying to set some of the fields to readOnly like this: 

if (formField is TextBoxField textBox)
{
	if (field is not null)
	{
	
		textBox.Value = field.ViewValue(viewMode);
		if (field.VarType != 0)
			formField.IsReadOnly = true;
			
	}
}

 

Im sure its setting it because if i export it to a pdf the fields are set to ReadOnly but not in the Telerik PdfViewer

 

Thanks

Dominik

Martin Ivanov
Telerik team
 answered on 01 Dec 2023
0 answers
27 views

We updated our WPF Telerik controls from 2021.3.1109 to 2023.3.1114 and now our RadPDFViewer is not displaying text on some PDF documents. Please see before and after images. 

Before:

After:

The file is a form fill PDF document that has been flattened. This displays correctly in Acrobat, Acrobat Reader, Chrome and Edge. 

We also opened the file the 2023.3.1114 PDFViewer demo with the same results.

Roger
Top achievements
Rank 1
 asked on 30 Nov 2023
1 answer
24 views

Hello all,

I'm using Telerik in WPF application and there are some pdf files that are not shown, the specificity of the files is that they are scanned .

 

Please can any one has this pb before?

 

Thank

Dimitar
Telerik team
 answered on 20 Nov 2023
0 answers
23 views

So I've got an application that has been working for the last 2 years with no issue. All of a sudden on some machines the radPdfViewer will not load or display PDFs. I've updated the code to the most recent version of the Telerik WPF UI controls but nothing different. The application works fine on my dev machine and a handful of others, but there are 3 machines specifically that it fails to load on. No errors just does not load. Has anyone else encountered this issue?

Here is the relevant code snippet:
Uri documentSourceUri = new Uri("https://www.somedomain.com/printables/paview.php?get_permitNumber=" + permitNumber);
PdfDocumentSource documentSource = new PdfDocumentSource(documentSourceUri);
pdfViewer.DocumentSource = documentSource;

Clint
Top achievements
Rank 1
 asked on 02 Nov 2023
1 answer
29 views

Hey,

as in the title the event doesnt trigger. It does work with the Widget "WidgetContentType = TwoStatesContent".

Im using a custom form for testing: https://pdfhost.io/v/xQU.fKEP6_24_anlage01_bauantrag_2021https://pdfhost.io/edit?doc=5b66dfdd-fafc-4589-bad0-c1608a8ecf1c

Thanks

Dominik


Dimitar
Telerik team
 answered on 24 Oct 2023
1 answer
27 views

Hey,

I want to create a custom command that fills the selected field with text.

I don't want to use the context menu that you can add to the PDFViewer because, as far as I know, you can't select the field you want the data to be in. If I'm wrong here, please feel free to correct me.

You can see the context menu I'm referring to in the attached screenshot (Context Menu).

I hope you understand my intentions. If not, please ask, and I can clarify.

Thanks.

Dimitar
Telerik team
 answered on 17 Oct 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?