Telerik Forums
UI for WPF Forum
9 answers
93 views

Dear Admin

I just have a RadGridView with two columns, and I have already set these column read-only to be 'True' , users are not allowed to do any change for these two columns' value. But if users would like to copy value in these two columns, how to implement such request? I tried to use Ctrl+C and no effct finally.

Ning
Top achievements
Rank 1
 answered on 13 Jul 2017
2 answers
117 views

I'm trying to access some metada features of the image selected by user. I'm using following code to read metadata of the image once user selects it. However, it always returns null. 

var metadata = ImageEditorUI.ImageEditor.Image.Bitmap.Metadata; 

 

Does telerik imageEditor erases all metadata when loaded?

Martin Ivanov
Telerik team
 answered on 12 Jul 2017
0 answers
151 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
232 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
234 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
44 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
619 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
736 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
247 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
238 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?