Telerik Forums
UI for WPF Forum
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
247 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
165 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
551 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
175 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
60 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
1 answer
81 views
Hi,

I noticed in the WinForms Q1 2010 release notes :
FIXED: CellValidating no longer fires twice if the user shows a message box in the event handler. 

Well, this is still a problem in the WPF grid Q1 2010.

Any news,

Thanks
Rob
Yordanka
Telerik team
 answered on 03 May 2010
1 answer
75 views
Hi,
I need to drag/click(without using navigation arrows) on an item so that it will become active item. I also need to hide the default navigation arrows comes with the carousel.


Please tell me how to achieve this.


Thanks,
John.
Milan
Telerik team
 answered on 03 May 2010
1 answer
63 views
Hello,

I just recently installed RadControls_for_WPF_2010_1_0422_DEV and now VS 2010 crashes and re-starts every time I try to create a new project.  As soon as I hit New Project it hangs.

I tried to reboot and the problem still exists.  Then, I uninstalled RadControls_for_WPF_2010_1_0422_DEV and VS 2010 was working as it should. 

Can anyone tell me why the RadControls_for_WPF_2010_1_0422_DEV might cause such an issue.

Erjan Gavalji
Telerik team
 answered on 03 May 2010
6 answers
137 views
We try to change the RowHeight to 20 or 22. But setting RowHeight for the RadDataView seems to have no effect.
Do we have to make our own RowStyle. Do we have to change the themes?
How do we do this and where are the files?


Kalin Milanov
Telerik team
 answered on 03 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?