Hello, again!
If pdf annotations on rotated pages have the flag /Rotate with the same angle as page angle, they will be displayed wrong.
I attached file with this trouble: http://u.pc.cd/A71rtalK
And 2 screens: Correct.png and Incorrect.png
Annotation "Test2" looks incorrectly
Reason for this may be the using 'apprearance stream', which is trying to rotate on an already rotated page. But I am not sure.
We are using the RadFilePathPicker and we can set the theme of the picker control but how do we set the theme of the resulting dialog when the control is opened? The theme does not seem to carry over.
<telerik:RadFilePathPicker DialogType="SaveFile" FilePath="{Binding SaveLocation, Mode=TwoWay}" Margin="0"
WatermarkContent="No File Selected" VerticalAlignment="Center" Height="30" Grid.Row="4" Grid.Column="1"
telerik:StyleManager.Theme="Office2016Touch"/>
Hello!
If Pdf file contains page with relocated mediabox and cropbox, there are annotations on that page will be in the wrong position.
I attached 2 files:
Sample_Correct.pdf - http://u.pc.cd/PCVrtalK
Sample_Incorrect.pdf - http://u.pc.cd/dEI
and 2 screens:
Sample_Correct.png and Sample_Incorrect.png
Difference between these files, that incorrect file has moved media and crop boxes.
Hello!
I use PdfViewer and in some pdf files I have annotations (comments) to show them for users. But sometimes these annotations are not displayed in the Viewer. In particular we use /FreeText annotations.
I can read these annotations through Annotations property in RadFixedPage, but I can't see them in the Viewer. And if I open the same file in Adobe Reader, I can watch these annotations.
I noticed, that if annotation dictionary (/Annot) doesn't contain "appearance stream" in itself (/AP), it won't be displayed in the Viewer.
For /FreeText annotation, key /AP is Optional and it annotation also contains other keys in annotation dictionary for display itself, such as /DA, /DS and /RC.
Key /DA is "Required" key and should be used like the default appearance if there is no /AP entry.
What should we do to display annotations if there aren't appearance streams for annotations? Because pdf files could be created not only Adobe software.
I attached 2 files:
"Before.png" on which you can see text 'Hello'
"After.png" on which you can't see that text.
Difference between these files, that in the "After.png" there is no /AP key in annotation dictionary.
You can see this on other screens: "After_behind.png" and "Before_behind.png".
Hello,
I recently updated from WPF R3 2019 to R3 WPF 2020 and I am having an issue with a custom animation attached to a RadNavigationView. It worked fine under WPF R3 2019, but is now behaving differently. Now, the menu does not always expand horizontally when the pane toggle button is pressed, and when it does, it expands instantly, ignoring the duration time. The number of times the page toggle button needs to be pressed before it expands is not consistent. The same thing happens when trying to collapse the menu, except that it does not collapse instantly. I also tried using your example here, but I get the same behavior. Is there anything I am missing here?
RadNavigationView:
<
telerik:RadNavigationView
Name
=
"navigationView"
Style
=
"{DynamicResource MainNavigationViewStyle}"
IsPaneOpen
=
"{Binding IsPaneOpen, RelativeSource={RelativeSource AncestorType=UserControl}, Mode=TwoWay}"
ItemsSource
=
"{Binding SubPages}"
SelectedIndex
=
"{Binding NavigationToken.SelectedSubPageIndex, Mode=TwoWay}"
Background
=
"Transparent"
BorderThickness
=
"0"
AutoChangeDisplayMode
=
"False"
DisplayMode
=
"Expanded"
PaneHeaderHeight
=
"0"
PaneToggleButtonVisibility
=
"Collapsed"
ItemContainerStyle
=
"{DynamicResource MainNavigationViewItemStyle}"
>
Style:
<
Style
x:Key
=
"MainNavigationViewStyle"
TargetType
=
"telerik:RadNavigationView"
BasedOn
=
"{StaticResource RadNavigationViewStyle}"
>
<
Setter
Property
=
"telerik:AnimationManager.AnimationSelector"
>
<
Setter.Value
>
<
telerik:AnimationSelector
>
<
telerik:ResizeAnimation
AnimationName
=
"ResizePaneAnimation"
TargetElementName
=
"PaneGrid"
Duration
=
"0:0:0.4"
ResizeMode
=
"Horizontal"
>
<
telerik:ResizeAnimation.Easing
>
<
ExponentialEase
EasingMode
=
"EaseIn"
/>
</
telerik:ResizeAnimation.Easing
>
</
telerik:ResizeAnimation
>
<
telerik:SlideAnimation
AnimationName
=
"MinimalPaneOpenAnimation"
TargetElementName
=
"PaneGrid"
Duration
=
"0:0:0.2"
PixelsToAnimate
=
"250"
Orientation
=
"Horizontal"
Direction
=
"In"
/>
<
telerik:SlideAnimation
AnimationName
=
"MinimalPaneCloseAnimation"
TargetElementName
=
"PaneGrid"
Duration
=
"0:0:0.2"
PixelsToAnimate
=
"250"
Orientation
=
"Horizontal"
Direction
=
"Out"
/>
</
telerik:AnimationSelector
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Hello, again!
I have document with incorrect display data on the page. I cann't undestand what the problem is, because of this document has just titul page with Stream (/FlateDecode filter) and some fonts.
I attached two screens:
'CorrectView.png' in different pdf viewers
'IncorrectView.png' in PdfViewer
Link for the document: http://u.pc.cd/tUortalK
Hi,
I have a problem with visualizating images, which was signed by component (SecureBlackBox).
The final document (which is signed by this component) has image, which is shown vertically mirrored in Telerik component RadPdfViewer as shown in attached file "current.png". I am currently using version 2018.2.1912.45.
In any other pdf viewer (webBrowser, acrobat reader) it looks normal. In newest version of "Demos - Telerik UI for WPF" the PDFViewer showing created pdf normally too, shown in attached file: "demo.png".
PS: I don't know, if it has anything to do with it, but it seems widget, which is connected to created PDF, is using transformation matrix (MatrixPosition) which has attribute hasInverse set on True. But it seems like the value of this matrix doesn't change anything.
I wanted to ask, if this problem was solved/patched in newer version then 2018.2 or If is there some property which is managing this kind of behaviour?
Thanks.
Best regards
Martin.
The requirement is to have a dropdown of string collection which can be different from row to row. So I used ItemsSourceBinding according to the document. But the combox didn't show up when I clicked the cell.
<telerik:GridViewComboBoxColumn Header="Reason"
DataMemberBinding="{Binding MyReason}"
HeaderCellStyle="{StaticResource GridHeaderStyle}"
ItemsSourceBinding="{Binding ValidReasons}"
IsComboBoxEditable="True"
EditTriggers="CurrentCellClick"
IsReadOnly="False"
GroupMemberPath="Check"
/>
"GroupMemberPath" was there before. I added "IsComboBoxEditable", "EditTriggers" and "IsReadOnly" and found nothing changed. I assumed that IsComboBoxEditable can be used if the reason is not found in "ValidReasons".
Hello,
I updated to the newest version of Telerik UI for WPF last Friday, and ever since I have been receiving this issue. Any control where I set a property for a GridView, or some GridView component, using a style, I now receive this error:
"The property 'CanUserSelectColumns' is not a DependencyProperty. To be used in markup, non-attached properties must be exposed on the target type with an accessible instance property 'CanUserSelectColumns'. For attached properties, the declaring type must provide static 'GetCanUserSelectColumns' and 'SetCanUserSelectColumns' methods."
This error occurs even when I set styles on GridViewCell, but not all GridView components. See attached images for example. The project still builds and runs correctly, but this prevents me from using the designer, and also adds a lot of noise to my errors list.
Please let me know if there is a solution.
Thanks
Hello,
We are
using RadListBox as part of UserControl. Control consists of couple of data
templates one of which contains list box:
<
telerik:RadListBox
Grid.Row
=
"2"
x:Name
=
"DocumentListBox"
ItemsSource
=
"{Binding ItemsView}"
BorderThickness
=
"0"
ItemTemplateSelector
=
"{Binding TemplateSelector}"
SelectedItem
=
"{Binding SelectedItem, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Background
=
"Transparent"
HorizontalContentAlignment
=
"Stretch"
SelectionMode
=
"Single"
ScrollViewer.VerticalScrollBarVisibility
=
"Auto"
ScrollViewer.HorizontalScrollBarVisibility
=
"Disabled"
ScrollViewer.IsDeferredScrollingEnabled
=
"{Binding IsDeferredScrollingEnabled}"
>
<
telerik:EventToCommandBehavior.EventBindings
>
<
telerik:EventBinding
EventName
=
"MouseDoubleClick"
Command
=
"{Binding OpenItemCommand}"
CommandParameter
=
"{Binding SelectedItem}"
/>
</
telerik:EventToCommandBehavior.EventBindings
>
<
telerik:RadListBox.ItemContainerStyle
>
<
Style
TargetType
=
"telerik:RadListBoxItem"
BasedOn
=
"{StaticResource {x:Type telerik:RadListBoxItem}}"
>
<
EventSetter
Event
=
"MouseMove"
Handler
=
"DocumentListBox_OnMouseMove"
/>
</
Style
>
</
telerik:RadListBox.ItemContainerStyle
>
<
telerik:RadListBox.InputBindings
>
<
KeyBinding
Key
=
"Delete"
Command
=
"{Binding DeleteItemCommand}"
CommandParameter
=
"{Binding SelectedItem}"
/>
<
KeyBinding
Modifiers
=
"Control"
Key
=
"O"
Command
=
"{Binding OpenItemCommand}"
CommandParameter
=
"{Binding SelectedItem}"
/>
</
telerik:RadListBox.InputBindings
>
</
telerik:RadListBox
>
Control always used with the same view model. Most of the times SelectedItem binding works fine. But in two places it doesn't.
There is no binding related errors in the output, RadListBox is correctly populated with items and RadListBox.SelectedItem has correct value.
But in this two problematic cases SelectedItem property of the view model does not get updated.
We suspect that the problem might have something to do with the initialization order, but could not detect any specific pattern.
In one case the control used in the tab in the other in dialog window.