Telerik Forums
UI for WPF Forum
0 answers
161 views

Dear Admin

Current project telerik library version is 2014.1.411.45, and I cannot use PercentComboBox control integrated with RadPdfViewer, in this case I tried to construct PercentComboBox class through decompiling latest telerik library and copying required codes as a simple testing. Everything looks well,but after running WPF application, the percentComboBox cannot appear as expected, and I checked the textBox value is null.

So how to make it work as same as demo shown?

Ning
Top achievements
Rank 1
 asked on 12 Jul 2017
2 answers
240 views

Dear Admin

I would like to view pdf files with RadPdfViewer in RadDocumentPane.

The user control xaml is shown in attachment of "XAML OF USERCONTROL", and this is copied from telerik demo of "Thumbnails pdfviewer example".

I tried to new my user control and set binding in code-behind shown in attachment of "Set Content for RadDocumentPane".

And there was no content shown in pdfviewer.

Any help I do appreciate.

Ning
Top achievements
Rank 1
 answered on 12 Jul 2017
2 answers
243 views

I'm getting the following Warning, preceded by a Stack Overflow Exception whenever I click on any of the items in my TreeView, which is inside a DropDownButton.

System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='55034768'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Media.Animation.Storyboard'; TargetElement.HashCode='55034768'; TargetElement.Type='System.Windows.Media.Animation.Storyboard'

 

And my XAML:

<telerik:RadDropDownButton.DropDownContent>
                    <telerik:RadTreeView ItemsSource="{Binding ProjAreaPaths}"
                                         SelectedItem="{Binding Path=AreaPath, Mode=TwoWay}"
                                         ItemContainerStyle="{StaticResource RedStyle}">
                        <telerik:RadTreeView.ItemTemplate>
                            <HierarchicalDataTemplate ItemsSource="{Binding ChildNodes}"
                                                      ItemContainerStyle="{StaticResource GreenStyle}">
                                <TextBlock Text="{Binding Name}"/>
                            </HierarchicalDataTemplate>
                        </telerik:RadTreeView.ItemTemplate>
                    </telerik:RadTreeView>
                </telerik:RadDropDownButton.DropDownContent>
            </telerik:RadDropDownButton>

george
Top achievements
Rank 1
 answered on 12 Jul 2017
1 answer
45 views

Hi;

I'm currently overriding the labeldefinition property in ChartSeries with a template. So if I change the value of this property for the first time it will not be updated(shown). Unless I close the view and reopen it again, Then it will be Triggered and updated normally. is It a Telerik bug? and how to make it updated correctly

Thanks :)

Martin Ivanov
Telerik team
 answered on 12 Jul 2017
6 answers
656 views
I'm binding a richtextbox to a viewmodel property, not exporting.
I need to format the output HTML, I don't want the document declaration and I don't want style sheets, I want the styles inline.
How do I get access to the formater to setup those options?

Thanks.
Birgit
Top achievements
Rank 1
 answered on 11 Jul 2017
1 answer
773 views

Hello,

I have a RadGridView and I would like that the details for one row to be opened on double clicking on them and that several rows could be open on the same time.

Here is a sample of code :

 <telerik:RadGridView x:Name="rdGrid"
                                                 ShowGroupPanel="False"
                                                 SnapsToDevicePixels="True"
                                                 BorderThickness="0"
                                                 RowDetailsVisibilityMode="VisibleWhenSelected"
                                                 RowDetailsStyle="{StaticResource simpleRowDetailsStyle}"
                                                 ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                                                 ItemsSource="{Binding CompartmentsAnalysis, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                 AutoGenerateColumns="False"
                                                 SelectedItem="{Binding Path=SelectedCompartmentAnalysis, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True, NotifyOnTargetUpdated=True}">
                            <telerik:RadGridView.Columns>
                                <telerik:GridViewDataColumn Header="Name"
                                                                DataMemberBinding="{Binding xxxx.Name, IsAsync=True}"
                                                                IsReadOnly="True"
                                                                Width="*" />
                            </telerik:RadGridView.Columns>
                        </telerik:RadGridView>



Dilyan Traykov
Telerik team
 answered on 11 Jul 2017
1 answer
259 views
I am using the telerik Gridview control to display hierarchial data. Wrote the program as per details provided at 
http://docs.telerik.com/devtools/wpf/controls/radgridview/hierarchical-gridview/how-to/access-child-gridview
(used ChildTableDefinitions & HierarchyChildTemplate)

The data displayed in the grid is as follows -

Parent columns -
* Parent Name
* Current Status

Child columns -
* Timestamp
* Status

Requirement -
Parent Grid's last column ("Current Status") width is set to * so that it can take the full available width of the page.
When we click on the "+" sign near the parent, the child grid view gets expanded.
In the child grid view, the last column ("Status") width  should be equal to last column ("Current Status") width of the parent.
Currently the column width of the last column ("Current Status") is set to *.


Observed behavior -
The child grid view's last column ("Status") width is set to a large value more than the laset column width of the parent.
Due to this large width, a scroll bar gets added at the bottom to scroll to the end.
Note that the data in the last column ("Status") of child grid is very less, so no idea why its creating the column width of such large value.
Please check attached file "child_grid_expanded_with_comments.png".

Can you please let me know how to solve this problem.
Stefan
Telerik team
 answered on 11 Jul 2017
5 answers
244 views

Hi, I hava a diagram, and want to export. The code is as follows:

FileStream fs = File.Open("D:\\a.png", FileMode.Create);
pair.Diagram.Zoom = 1;
pair.Diagram.ExportToImage(fs, null, new Rect(minX, minY, ww, hh));
fs.Close();

Now, the problem is that the exported image a.png is clear in my notebook PC(Screen resolution:1366*768). But it is fuzzy in my friend's(Screen resolution:1920*1080) by using the same code.
Why? Hope answer, thanks. 

Jonathan
Top achievements
Rank 1
 answered on 11 Jul 2017
5 answers
489 views

Hello! I am using the Windows8 theme throughout my WPF application, however I would like to exclude a ListView from the styling. Is this possible? I have searched a bit and have looked at this guide:

 

http://docs.telerik.com/devtools/wpf/styling-and-appearance/stylemanager/common-styling-themes-mscontrols

 

But I am not sure if I am able to 'null' out a style and let it take on the default styling while still having all other elements use the theme of my choice. 

Thank you!

Regards,

Joel

Russell
Top achievements
Rank 1
 answered on 10 Jul 2017
6 answers
330 views
I have 2 questions about this event.

1. How can I cancel pane closing in this event (or any other way)?
2. What this event is designed for?

Regards,
Adrian
Kalin
Telerik team
 answered on 10 Jul 2017
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?