Telerik Forums
UI for WPF Forum
3 answers
138 views
Hi,

on my control, I set a readonly slot under each visible spot to prevent any creation, edition and deletion and I realize I don't have any mouseover effect and I need it so how I can achieve it???

Thank's
Alain
Yana
Telerik team
 answered on 16 Jan 2014
1 answer
227 views
Hi,

When a Shape is rotatet the cursor of the ResizeTool is not following the shapes rotation angle. Is it possible to change the cursor so it does?

When a shape is not rotatet the Resize cursor is diagonal on the shape. But when the shape is rotatet to 45 degress the Resize cursor is parallel with the shapes edges.

Regards,

Anders
Pavel R. Pavlov
Telerik team
 answered on 16 Jan 2014
9 answers
392 views
Hi, 

I have updated to version 2013.2 (2013.2.611.40) and the first time I started my application everything looked fine.

But after changing my *theme the RadRibbonWindow won't start up in "Maximized" state !
(* logic in the app allows users to change theme, but requires a restart)

I set the WindowState="Maximized" for the RadRibbonWindow in the xaml and this worked fine before I upgraded to 2013.2.

But now, with the new version, it will not open up maximized.
It looks like the window thinks it's maximized because the restore button is not shown...

Are there some new/additional properties in the new version I have to set to get the window to start up as maximized?

please advice

Regards
 Terje

Tina Stancheva
Telerik team
 answered on 16 Jan 2014
1 answer
65 views
Hello,
Here is  a  DiagramShape without connectors:
 I would draw a line on this DiagramShape;
then ,i used this :" this.diagram.ActiveTool = MouseTool.ConnectorTool;"
here throw a exception: The Shape has no connectors defind !

How can I solve this problem so that  I can draw a line on the Shape ?

Thank you !

Pavel R. Pavlov
Telerik team
 answered on 16 Jan 2014
5 answers
153 views
<Grid>
    <Grid.RowDefinitions>
        <RowDefinition Height="auto"/>
        <RowDefinition Height="*"/>
        <RowDefinition Height="auto"/>
    </Grid.RowDefinitions>
 
    <Button Content="test1" />
     
    <GroupBox Grid.Row="1" Header="test2"/>
     
    <Button Grid.Row="2" Content="test3"/>
</Grid>
When you use the code above, you have a nice header, footer, middle structure (the middle is stretched).
When you place this inside the DataTemplate of a RadDataForm, the middle doesn't get stretched.
How is it possible to stretch the middle inside a RadDataForm?

Thank you!
Vanya Pavlova
Telerik team
 answered on 16 Jan 2014
3 answers
253 views
Hello,

I have a view with x RadRichTextBoxes (x is dynamic) and want to access the content of each from my viewmodel. I know the DataProviders but I need more then binding just a string. E.g. I want to copy the selection from one RadRichTextBox to another one; including all the styles.
I tried a way via code-behind and it worked as expected:

            var editor1 = new RadDocumentEditor(radRichTextBox.Document);
            var editor2 = new RadDocumentEditor(radRichTextBox1.Document);

            editor1.Cut();
            editor2.Paste();

But I want to do all this in my viewmodel without code-behind.

Do you have any suggestions how I can do this?

Kind regards,
Philipp
Petya
Telerik team
 answered on 16 Jan 2014
4 answers
1.7K+ views
I switched to the NuGet RadControls for WPF package and now non of the Telerik controls render at all. They simply don't appear. White spaces where they should be. Not sure what additional info to give you. There's no output messages that appear to be in error. Simply, none of the controls appear.

Any idea? I tried disabling the Theme I was using in case that was it, and still nothing.
Petar
Telerik team
 answered on 16 Jan 2014
11 answers
285 views
at Telerik.Windows.Controls.GridView.AggregatesToGroupFooterAggregatesConverter.<>c__DisplayClass4.<Convert>b__1(AggregateResult f)
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at MS.Internal.Data.EnumerableCollectionView.LoadSnapshotCore(IEnumerable source)
   at MS.Internal.Data.EnumerableCollectionView.LoadSnapshot(IEnumerable source)
   at MS.Internal.Data.EnumerableCollectionView.RefreshOverride()
   at System.Windows.Data.CollectionView.Refresh()
   at Telerik.Windows.Controls.GridView.GridViewFooterCell.AggregateResults_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.RadObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.RadObservableCollection`1.ResumeNotifications()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.CreateAggregateResults()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.CalculateAggregates()

I have two GridViews both host in a DockPane and with sumfuction aggregation footers, the itemsource is ObservableCollection, Everything works well until I dragged one of the panes and docked somewhere in the RadDocking, the NullReferenceException occrured. the stacktrace (as above shown) is my subscription method on propertychanged called the GridView's CalculateAggregates. I also tried the refresh method and rebind method, both got the same exception.
This only happened after I updated to 2011 Q2 SP1.
Christian
Top achievements
Rank 1
 answered on 16 Jan 2014
1 answer
37 views
Hi,

We have to Print RadTreeListView. Please suggest me the best solution. 

We have tried with some samples using creating FixedDocument and using Document Viewer. I am able to see the content in Document Viewer, while printing only Header content alone printed. 

Please suggest the best appraoch to print TreeListView

Thanks
Dimitrina
Telerik team
 answered on 16 Jan 2014
1 answer
114 views
Hi,

We have to Print RadTreeListView. Please suggest me the best solution. 

I have tried with some samples using creating FixedDocument and using Document Viewer. I am able to see the content in Document Viewer, while printing only Header content alone printed. 

Please suggest the best appraoch to print TreeListView

Thanks
Dimitrina
Telerik team
 answered on 16 Jan 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?