Telerik Forums
UI for WPF Forum
5 answers
108 views
Hi,

When using the Windows7 theme on a Rad Ribbon Bar, there is a solid dark blue block (very noticable) just before the first tab.

Thanks,
Rob
Vladislav
Telerik team
 answered on 05 May 2010
4 answers
1.0K+ views
Hi,

For a while now I've been using a TreeView inside of a ComboBox that I got from the Telerik blog here http://blogs.telerik.com/valerihristov/posts/09-08-27/treeview_in_combobox_take_3_silverlight_3_wpf_and_radcontrols.aspx

It was working fine up until recently when we updated to the latest version of the Telerik WPF controls (Q1 2010). Now what happens is the ComboBox will no longer display the text of the chosen item, it remains blank and I can't figure out why.

Any help is greatly appreciated, thanks!

Joe,
Joseph LeBlanc
Top achievements
Rank 1
 answered on 04 May 2010
2 answers
109 views
Hi,

I've migrate the toolkit:DataGrid to telerikGridView, it's bound to a collection of type BindingList<T>. I've noticed that when I click on Add a new item the grid does not call AddNew (this is the reason my AddNewCore method overload does not get called).

Is there a work around for this ? Do you need some sample code to prove this ?

Thank you,
Nedyalko Nikolov
Telerik team
 answered on 04 May 2010
5 answers
139 views
I know this is a basic question. I just can't find the answer. Please poiunt me in the right direction

i have 2 tables
Customer and towms

how do I get the townName to display in a datagrid view rather thatn the TownID

you now what I mean. I don't want to see townID  but TownName (from the towns table)
Pavel Pavlov
Telerik team
 answered on 04 May 2010
13 answers
1.1K+ views
Hi team,

My RadGridView's columns are bound to a List. Even after placing EXPLICIT  code to rebind the grid after a record in inserted, the record fails to show up 1 out of 10 times. 

After i go to another page and come back to my grid, the record is there! What should i do?

Regards,
Jimit
Ujjwal Lahoti
Top achievements
Rank 1
 answered on 04 May 2010
16 answers
240 views
Hi, I need to make a drill down gridview (witch can have X many levels) with aggregations on  each level.

Is there an easy way to do this in codebehind with WPF RadGridView ?

Regards
Kristján.
Kristjan Einarsson
Top achievements
Rank 1
 answered on 04 May 2010
8 answers
162 views
Hi all,

I am interested in buying the SL/WPF RAD controls (just downloaded the trial), however have a question about the chart component. 

I am part of a team developing a financial application and I'm looking for a chart component that can do the following: 

  • Candlestick, Bar (Open, High, Low, Close), Line, Mountain (Area) and Column chart types
  • Ability to mix chart types on one pane, for instance, Candlestick overlaid with line graphs
  • Ability to zoom/pan quickly via the mouse
  • High performance - nothing spectacular but ability to display plots with tens of thousands of datapoints and zoom/pan at interactive framerates
  • Abililty to databind to collections / datasets etc
  • Ability to draw over the chart both programatically and via user click. For instance
    • Trendlines/channels, fibonnacci retracements, text, custom markets such as buy/sell arrows
    • Any user drawn trendlines as the chart moves/zooms around must move with the chart
  • Ideally generate point and figure charts. 

Now I realise the telerik chart will not do all this, but in the case of OHLC (Open High Low Close) charts, point and figure or drawing trendlines, does anyone know if it is possible to write our own code to display these series types and constructs on the chart? 

Has anyone used the telerik chart in such an application and could provide feedback on them for this use?

I am also interested in the docking manager, ribbon bar and other controls that RAD provide, but for the chart to meet our needs would also be a nice bonus. 

Thanks for your time,
Cheers,
Andrew
Vladimir Milev
Telerik team
 answered on 04 May 2010
3 answers
535 views
Hi, I'm willing to use an Enum as source of a combo box, so I can handle the selection using something like this:

public enum MyEnum: byte { Normal , Diff }
    public partial class Dialog : Window
    {
          
        public Dialog()
        {
            InitializeComponent();       
        }

        private void OKButton_Click(object sender, RoutedEventArgs e)
        {
            MyEnum x = (MyEnum)myComboBox.SelectedItem;
            switch ( x ){
                case MyEnum .Normal : // do something
                         break;
                case MyEnum .Diff : // do somethiing
                         break;
            }
        }
   }

Thanks
David Lino
Top achievements
Rank 1
 answered on 04 May 2010
4 answers
171 views
Hi,

I am trying to show a set of selectable items and I want to ensure that the display contents of each item varies as the item is resized.  Because RadTileView doesn't support selection, I created a ListBox and set the ItemTemplate to a data template that includes a RadFluidContentControl.  My demo code is below.  I find that when I resize the listbox is and its items, the RadFluidContentControl does not change its display state; the small contents always display.  When I use the same data template in a simple ContentControl (see demo code), I find that I do get the behavior I expect.  Question is: how do I use RadFluidContentControl in a ListBox?

Thanks,
Kristy


<Window x:Class="RadControlsWpfApp.Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" xmlns:radDock="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking" xmlns:System="clr-namespace:System;assembly=mscorlib" Title="Window1" Height="300" Width="300">  
  <Window.Resources> 
 
    <x:Array x:Key="ComposerList" Type="{x:Type System:String}">  
      <System:String>Mozart, Wolfgang Amadeus</System:String> 
      <System:String>Górecki, Henryk Mikolaj</System:String> 
      <System:String>Massenet, Jules</System:String> 
    </x:Array> 
      
    <System:String x:Key="Composer">Mozart, Wolfgang Amadeus</System:String> 
      
     <DataTemplate x:Key="listboxItemTemplate">  
      <telerik:RadFluidContentControl  
          Margin="2" 
          SmallToNormalThreshold="190, 40" 
          NormalToSmallThreshold="190, 40" 
          NormalToLargeThreshold="300, 160" 
          LargeToNormalThreshold="300, 160">  
        <!--Small--> 
        <telerik:RadFluidContentControl.SmallContent> 
          <Border  
            BorderBrush="LightBlue" 
            BorderThickness="1">  
            <StackPanel Orientation="Horizontal">  
              <TextBlock Text="Small" Margin="3" FontSize="12" /> 
              <TextBlock Text="{Binding}" Margin="3" FontSize="12" /> 
            </StackPanel> 
          </Border> 
        </telerik:RadFluidContentControl.SmallContent> 
        <!--Normal--> 
        <telerik:RadFluidContentControl.Content> 
          <Border  
            BorderBrush="Blue" 
            BorderThickness="1">  
            <StackPanel Orientation="Horizontal">  
              <TextBlock Text="Medium" Margin="3" FontSize="18" /> 
              <TextBlock Text="{Binding}" Margin="3" FontSize="18" /> 
            </StackPanel> 
          </Border> 
        </telerik:RadFluidContentControl.Content> 
        <!--Large--> 
        <telerik:RadFluidContentControl.LargeContent> 
          <Border BorderBrush="DarkBlue" BorderThickness="1">  
            <StackPanel Orientation="Horizontal">  
              <TextBlock Text="Large" Margin="3" FontSize="24" /> 
              <TextBlock Text="{Binding}" Margin="3" FontSize="24" /> 
            </StackPanel> 
          </Border> 
        </telerik:RadFluidContentControl.LargeContent> 
      </telerik:RadFluidContentControl> 
    </DataTemplate> 
 
  </Window.Resources> 
 
    <Grid> 
      <Grid.RowDefinitions> 
        <RowDefinition Height="*"/>  
        <RowDefinition Height="*"/>  
      </Grid.RowDefinitions> 
          <ListBox  
            Grid.Row="0" 
            HorizontalContentAlignment="Stretch" 
            VerticalContentAlignment="Stretch" 
            ItemsSource="{StaticResource ComposerList}" 
            ItemTemplate="{StaticResource listboxItemTemplate}"/>  
      <ContentControl   
        Grid.Row="1"   
        Content="{StaticResource Composer}"   
        ContentTemplate="{StaticResource listboxItemTemplate}"/>  
    </Grid>           
 
</Window> 
 
Kristy Saunders
Top achievements
Rank 1
 answered on 03 May 2010
1 answer
57 views
Hi,

v 2010

I have a grid in which I have some cells set to particular styles, row and column virtualisation a set to off.  When I issue a BeginInsert the styles dissappear.  Is this bug or am I doing somthing wrong?

Thanks
Rob
Yordanka
Telerik team
 answered on 03 May 2010
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?