Telerik Forums
UI for WPF Forum
1 answer
130 views
I derived out my class based on SerializableGraphSourceBase.

When I add shape to diagram using AddNode, and I try to undo, the shape still exists on the diagram.

How do i specify so as to consider the AddNode action for undo redo ?
Milena
Telerik team
 answered on 08 Sep 2014
5 answers
221 views
Hello,
I want to extend the diagram functionality to have a Template, containing a set of write-protected shapes which can be inserted into multiple diagrams.

Is there a way to separate the template shapes (which should be not editable) from the user-added shapes (which are editable)?

Alex
Alexander
Top achievements
Rank 1
 answered on 08 Sep 2014
3 answers
206 views
Hi,

I have a Rad Grid with data columns and one Image column.

for printing the grid, creating the doc by exporting, so, while exporting image column is exporting as path of the Image instead of printing the image.

I am using WPF RAD Grid.

Please provide solution.

Thanks
Raj
Petya
Telerik team
 answered on 08 Sep 2014
2 answers
72 views
Editing a single row by showing a RadWindow with the data of a row on its fields. I want to do that by double clicking a row of RadGridView.

Here is my code snippet for EventHandler when double clicking:

1.private void grdProducts_MouseDoubleClick(object sender, MouseButtonEventArgs e)
2.{
3.  Product product = (sender as "not-sure-what-to-use-here-as-sender") as Product;
4.  ShowProductWindow(product);
5.}


Here is my code snippet for calling the RadWindow:
01.private void ShowProductWindow(Product product)
02.{
03. if (product != null)
04.    {
05.   ProductWindow productWindow = new ProductWindow(product, amazonContext);
06.   productWindow.Closed += ProductWindowClosed;
07.   productWindow.ShowDialog();
08. }
09.}


Can anyone help me to accomplish this? It would be a great help.

Regards,
RPM
Robert Peter
Top achievements
Rank 1
 answered on 08 Sep 2014
1 answer
86 views
It is possible to modify the "Print Settings Dialog" on the RadPrintPreviewDialog
after configuring a print, I would like to be able to save that configuration,
so that the next print is made with the pre-set settings.

Similarly, during the configuration of the GridView component,
when I open the Form with GridView so it includes
the settings previously selected in "Column Header Context Menu".

How can I write and read those parameters?
Dimitrina
Telerik team
 answered on 08 Sep 2014
1 answer
126 views
Hello,
I am working on integrating the RadRichTextBox into our product, the integration went very well up until I hit the FindReplaceDialog. I've tried applying default styles to RadWindow, FIndReplaceDialog, and everything else I can think of but I am unable to change the pop-up header color to match our product's theme. Our product uses Unity and Prism and currently does not use MEF so I am trying to avoid having to create a custom FindReplaceDialog and use the dialog via MEF. Is there any way that I can get a style to apply to the pop-up window? Any advice would be greatly appreciated! Thanks,

Below are some small snippets of the styles I've been attempting to use:

1.<Style x:Key="RadWindowStyleABC" TargetType="{x:Type telerik:RadWindow}">    
2.<Setter Property="Foreground" Value="{StaticResource WindowForeground}"/>    
3.<Setter Property="Background" Value="{StaticResource WindowBackground}"/>

1.<Style TargetType="{x:Type dialogs:FindReplaceDialog}" BasedOn="{StaticResource RadWindowStyleABC}">
2.    <Setter Property="Header" Value="find/replace"/>
3.</Style>
4. 
5.<Style TargetType="{x:Type telerik:RadWindow}" BasedOn="{StaticResource RadWindowStyleABC}"/>

Masha
Telerik team
 answered on 08 Sep 2014
5 answers
228 views
Hello,

While exporting data from Pivot Grid into Excel, always we are getting OOM (Out Of Memory) exception. Even the Pivot Grid contains of 20000 records.

And if we export 4000-5000 records, the excel export is very very slow.

If we increase the number of records then we are getting OOM exception.

The data binding and other things are working fine as we expected with this Pivot Grid. Only thing we are facing the issue is Pivot Grid Excel export.


Actually we have implemented the code based on the below link provided by Telerik. In the Telerik SDK browser also the Pivot Grid is not exporting well. There also we are getting OOM exception if the Pivot Grid contains more than 20000 records.

http://www.telerik.com/help/wpf/radpivotgrid-features-export.html


Please help me resolve the Pivot Grid - Excel export OOM and performance issues.


Thanks,
Shahrooz 
Kalin
Telerik team
 answered on 08 Sep 2014
1 answer
70 views
Hi,
I try to preform UI Automated tests using Microsoft UI Automation Tests Library.
I would like to find shapes that I placed on the Map using this library.
The deepest I can get is RadMap Control.
Is it possible to go deeper and find shapes in the map?

Regards,
Rafał
Peshito
Telerik team
 answered on 08 Sep 2014
1 answer
179 views
I have a every simple RadTreeview with 2 level deep children and a wrap panel to mimic explorer list view style.
The root level is showing fine, but beyond root level is NOT showing the children nodes.  It is, however, only showing the place holder (radtreeview.png).

It works fine if I use System.Windows.Controls.TreeView(TreeView.png), but I need to use RadTreeview.

Any help would be much appreciated.

    <Grid Margin="10" >
           <telerik:RadTreeView x:Name="trvMenu" 
                             ScrollViewer.VerticalScrollBarVisibility="Disabled">

            <telerik:RadTreeView.ItemsPanel>
                <ItemsPanelTemplate >
                    <telerik:RadWrapPanel Orientation="Vertical" />
                </ItemsPanelTemplate>
            </telerik:RadTreeView.ItemsPanel>
           
            <telerik:RadTreeView.ItemTemplate>
                <HierarchicalDataTemplate DataType="{x:Type MenuItem}" ItemsSource="{Binding Items}" >
                    <TextBlock Text="{Binding Title}" />
                </HierarchicalDataTemplate>
                
            </telerik:RadTreeView.ItemTemplate>
        </telerik:RadTreeView>
    </Grid>






Petar Mladenov
Telerik team
 answered on 08 Sep 2014
1 answer
139 views
I'm using the Telerik DragAndDrop in some of our applications and in general this works awesome. But at this point I'm testing my application with some touch devices. In the application is a Scrollviewer wich has PanningMode turned on, he DragAndDrop-controls are in this scrollviewer. 
At first it was like dragging these controls wasn't working. But later I noticed there was a visual shown on drop but it is just blocked when dragging the control around. I adjusted my scrollviewer to only scroll when there are two fingers used. But this didn't change the fact that the visual of the dragging is still blocked.

Also I have tried some tricks with the OnPreviewTouchDown- and OnPreviewTouchUp events of the scrollviewer. Till now I haven't found a good solution.

Is there anyone around here that tried the same or that has an option to try?

Thanks,
Alek
Telerik team
 answered on 08 Sep 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?