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

I think it is not a difficult question but I'm searching now since hours and I'm really not able to find the answer.

I've an outer Grid and in the RowDetailsTemplate a RadTabControl and another Grid defined in the TabControl.
OuterGrid -> RowDetailsTemplate -> RadTabControl -> RadTabItem -> InnerGrid
My problem is now, how can I get a reference to the "child" Grid? At the moment can I access the outer grid with "this.outerGridName". The RadTabControl and the inner Grid have both unique names.

My questions are now:
1. How can I get a reference to the inner Grid.
2. Is it possible to navigate from the outer Grid with the RowDetailTemplate to the inner TabControl and Grid? If yes, how?

Thanks in advance
Walter
Ivan Ivanov
Telerik team
 answered on 12 Oct 2011
3 answers
85 views
Dear Telerik,

I am looking for alert feature in schedule view. Is it built in schedule view or I need to customize that one. If need to customize pls provide me a guide line.

Regards

Animesh
Rosi
Telerik team
 answered on 12 Oct 2011
4 answers
87 views
How do you get rid of the pointmark entirely?

thanks,
Jas
Nikolay
Telerik team
 answered on 12 Oct 2011
1 answer
138 views
We've just started a new WPF project, using the .NET Framework 4.0.  And we're new to using Telerik tools.  Without realizing it, I installed the .NET 3.5  Framework version of the RAD Controls from Telerik, and have started a project using those controls.  So far we haven't actually placed any controls on any window/page, but the project itself refernces the 3.5 RAD Controls.  Well, we don't want to use the 3.5 version, we want to use the 4.0 version.  My colleague has downloaded the 4.0 version, and we're going to install it on both of our development machines.

Bottom line: how do I migrate our project from the RAD Controls 3.5 .NET Framework to RAD Controls 4.0 .NET Framework?
Vlad
Telerik team
 answered on 12 Oct 2011
7 answers
242 views
I'm trying to change the spellchecker language.
I downloaded a nb-NO.tdf file and put it in the Resources.
I use your example..


InitializeComponent();
...
...
     ((DocumentSpellChecker)editor.SpellChecker).AddDictionary(new RadEn_USDictionary(), CultureInfo.InvariantCulture);
            LoadDictionary();
        }

        private void LoadDictionary()
        {
            var culture = new CultureInfo("nb-NO");
            var res = Properties.Resources.nb_NO;
            var tdfFileStream = new MemoryStream();
            tdfFileStream.Write(res, 0, res.Length);
            var dictionary = new RadDictionary();
            dictionary.Load(tdfFileStream);
            ((DocumentSpellChecker)editor.SpellChecker).AddDictionary(dictionary, culture);
            Thread.CurrentThread.CurrentCulture = culture; 
        }

But it does not work.
Do I call LoadDictionary() from the right place?
How should I tell the editor to use the new language?
Kotte
Top achievements
Rank 1
 answered on 12 Oct 2011
3 answers
172 views
Hello,

i got a problem when using the RadPropertyGrid with a template. When i set the property AutoGeneratePropertyDefinitions to false and use the RadPropertyGrid inside a DataTemplate, the property seems to be ignored and i see all properties of the class object.

<Window ... >
  
    <Window.Resources>
  
        <local:TemplateSelector x:Key="templateSelector">
  
            <local:TemplateSelector.TemplateA>
  
                <DataTemplate>
  
                    <rad:RadPropertyGrid AutoGeneratePropertyDefinitions="False" Item="{Binding }">
                         
                        <rad:RadPropertyGrid.PropertyDefinitions>
  
                            <rad:PropertyDefinition DisplayName="The only property displayed" />
                              
                        </rad:RadPropertyGrid.PropertyDefinitions>
 
                    </rad:RadPropertyGrid>
  
                </DataTemplate>
  
            </local:TemplateSelector.TemplateA>
  
        </local:TemplateSelector>
  
    </Window.Resources>
 
 <Grid>
 
    <ContentPresenter  ContentTemplateSelector="{StaticResource templateSelector}"  Content="{Binding }" />
                  
 </Grid>
  
</Window>

With kind regards,

Sebastian
Ivan Ivanov
Telerik team
 answered on 11 Oct 2011
1 answer
75 views
When I have a TextBox editing element for a cell in edit mode, pressing Tab causes the next cell to become current and enter edit mode. I am having difficulty achieving the same behavior for more complex controls, such as ComboBox (not RadComboBox). I know how to customize ComboBox key handling so that Tab will select an item and hide the dropdown. But no matter what I do, I can't get it to move to the next cell. Instead focus moves to some control outside of the RadGridView, even when the drop down was not open.
Ivan Ivanov
Telerik team
 answered on 11 Oct 2011
2 answers
105 views
Hello ,
By Default rad chart shows y axis point as annotations .
Is there any way to show x axis points as annoattions?
Thanks for any help.....

One correction :I meant Point labels.
Evgenia
Telerik team
 answered on 11 Oct 2011
3 answers
132 views
I need to group a property that does not implement IComparable. I'd expect it to simply do a ReferenceEquals. It's not. It's erroring.

I cannot alter the class being grouped without serious effort, it's a WCF Data Services entity (they do not implement IComparable).
Vlad
Telerik team
 answered on 11 Oct 2011
1 answer
162 views
Hi,

I'm using a TileView and have a RadHorizontalBulletGraph that I only display when the TileView item is in the maximized state. When I maximize an item, the bullet graph displays correctly, but when I go to minimize the item, I get a NullReferenceException. There's not much of a stack trace, but here it is:

   at System.Windows.StyleHelper.FindNameInTemplateContent(DependencyObject container, String childName, FrameworkTemplate frameworkTemplate)
   at System.Windows.TemplateNameScope.System.Windows.Markup.INameScope.FindName(String name)
   at System.Windows.FrameworkElement.FindName(String name)
   at Telerik.Windows.Controls.ChildrenOfTypeExtensions.GetChildByName(FrameworkElement element, String name) in c:\TB\117\WPF_Scrum\Release_WPF_40\Sources\Development\Core\Controls\Extensions\ChildrenOfTypeExtensions.cs:line 42
   at Telerik.Windows.Controls.BulletGraph.RadBulletGraphBase.ToggleAxis() in c:\TB\117\WPF_Scrum\Release_WPF_40\Sources\Development\Controls\DataVisualization\BulletGraph\Base\RadBulletGraphBase.cs:line 925
   at Telerik.Windows.Controls.BulletGraph.RadBulletGraphBase.SynchronizeFeaturedMeasures() in c:\TB\117\WPF_Scrum\Release_WPF_40\Sources\Development\Controls\DataVisualization

Here's a simplified version of my XAML. Any ideas?
<DataTemplate x:Key="MachineTileLarge">
<Grid>
    <Grid.RowDefinitions>
        <RowDefinition/>
        <RowDefinition/>
        <RowDefinition/>
        <RowDefinition/>
    </Grid.RowDefinitions>
    <telerik:RadHorizontalBulletGraph Grid.Row="1" Maximum="100"
        ComparativeMeasureBrush="CornflowerBlue" FeaturedMeasureBrush="SeaGreen"
        ComparativeMeasure="32" FeaturedMeasure="75" />
</Grid>
</DataTemplate>
<DataTemplate x:Key="MachineTemplate">
    <telerik:RadFluidContentControl ContentChangeMode="Manual" TransitionDuration="0:0:.5"
        State="{Binding State, Converter={StaticResource tileConverter}}"
        SmallContentTemplate="{StaticResource MachineTileSmall}"
        ContentTemplate="{StaticResource MachineTileNormal}"
        LargeContentTemplate="{StaticResource MachineTileLarge}" />
</DataTemplate>
 
<Style TargetType="telerik:RadTileView">
    <Setter Property="PreservePositionWhenMaximized" Value="True" />
    <Setter Property="telerik:TileViewPanel.IsVirtualized" Value="True" />
    <Setter Property="IsAutoScrollingEnabled" Value="True" />
    <Setter Property="TileStateChangeTrigger" Value="SingleClick" />
    <Setter Property="MinimizedColumnWidth" Value="200" />
    <Setter Property="MinimizedRowHeight" Value="225" />
    <Setter Property="RowHeight" Value="330" />
    <Setter Property="ColumnWidth" Value="290" />
    <Setter Property="ContentTemplate" Value="{StaticResource MachineTemplate}" />
    <Setter Property="ItemTemplate" Value="{StaticResource MachineTileHeader}" />
</Style>
 
<telerik:RadTileView ItemsSource="{Binding Path=MachineStatusItems}"                                    
     TileStateChanged="tileView_TileStateChanged"
     TileStateChangeTrigger="SingleClick"
     MaximizeMode="ZeroOrOne"
     IsItemDraggingEnabled="True"
     PreservePositionWhenMaximized="True"/>
Yavor
Telerik team
 answered on 11 Oct 2011
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?