Telerik Forums
UI for WPF Forum
1 answer
60 views
Hi,
I have a little problem, I need to use the scroll bar from code on the gridview. We have 20 columns and I need to be able to move from code the horizontal scroll, for example, move to column five or 10 depending of calculations. Also, I will like to move another horizontal scroll on a different grid depending of another one. I suppose I can do a WPF binding over one property but I dont no which one.
THanks in advance, we appreciate any help.
Francisco.
Vlad
Telerik team
 answered on 04 Jan 2011
2 answers
132 views
Good afternoon!

First of all, I want to wish you all @ Telerik a wonderful 2011: Filled with success.

Second, let me thank you for creating this amazing set of WPF & WinForms controls.

Now, to my issue... I am using the WPF 2010 Q3 radcarousel control as a menu for my app: using images to describe each of the 7 avalaible optios. Now, the problem is that I can not find any method like a "selectedIndex()" one, that would allow me to perform a determined action depending on the user's selection, (tho I have tried in several ways). Is there a way for doing so?

Thank you so much in advance and my best wishes to everybody!

WPF version: 2010 Q3.
OS: Windows 7 Pro.
Preferred programming language is C#

Federico
Top achievements
Rank 1
 answered on 03 Jan 2011
2 answers
604 views
Hello,

I am handling the DropDownOpened event by asking the user about saving changes if need be and setting the IsDropDownOpen property based upon the user feedback.  The problem is that when I set the IsDropDownOpen to false it seems to leave the ComboBox in a strange state.  The very next time that I click on the ComboBox, it highlights but does not dropdown.  In addition all other controls in the application do not respond to anything until I click the combobox again.  Then everything seems to work fine.  Please advise.

Thank,

Jason Munger
Jason
Top achievements
Rank 1
 answered on 03 Jan 2011
2 answers
457 views
Hi,

I have a RadComboBox on my window that gets popuated with about 1400 business objects.  The combo box itself uses a custom data template, so that I can display several different properties in the combo box items at the same time.

I'm populating the Items Source of the combo box in Page_Load.  It's taking about 1/2 a second to get the collection of objects from the data store. 

What I've noticed, however, is that the first time the combo box is clicked by the user, there is about a 6 second delay until it displays its items.  Since the items source has already been populated, I assume that during this time, RadComboBox is drawing all of its items based on the customized data template.  After this initial delay, subsequent clicks of the combobox produce pretty-near instantaneous results.

I'm wondering if there is a way to get the RadComboBox to do this initial work before the UI is drawn, so that the user doesn't have the experience of a non-responsive UI.  They won't mind waiting longer for the inital page to load, as long as it's responsive once it comes up.

Thanks.
Aaron
Top achievements
Rank 2
 answered on 03 Jan 2011
11 answers
193 views
Does anyone have an example of a collection of charts in an ItemsControl?  I created one that renders the charts correctly, but ignores the ChartDefaultView.ChartArea AxisX/Y.

If you pull the ContentControl out of the DataTemplate and bind it to a single item, then the X and Y axes behave correctly.

 

    <ItemsControl Margin="5,20,5,5" ItemsSource="{Binding ChartSeriesViewModelCollection}">  
        <ItemsControl.ItemsPanel> 
            <ItemsPanelTemplate> 
                <UniformGrid Rows="2" Columns="3" /> 
            </ItemsPanelTemplate> 
        </ItemsControl.ItemsPanel> 
        <ItemsControl.ItemTemplate> 
            <DataTemplate> 
                <ContentControl DataContext="{Binding}">  
                    <telerikChart:RadChart Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3"   
                                                   ItemsSource="{Binding ChartSeries}" 
                                                   HorizontalAlignment="Stretch" 
                                                   VerticalAlignment="Stretch" > 
 
                        <telerikChart:RadChart.SeriesMappings> 
                            <telerikCharting:SeriesMapping> 
                                <telerikCharting:SeriesMapping.SeriesDefinition> 
                                    <telerikCharting:BarSeriesDefinition /> 
                                </telerikCharting:SeriesMapping.SeriesDefinition> 
 
                                <telerikCharting:SeriesMapping.GroupingSettings> 
                                            <telerikCharting:GroupingSettings ShouldCreateSeriesForLastGroup="False">  
                                                <telerikCharting:GroupingSettings.GroupDescriptors> 
                                                    <telerikCharting:ChartGroupDescriptor Member="GroupString" /> 
                                                </telerikCharting:GroupingSettings.GroupDescriptors> 
                                            </telerikCharting:GroupingSettings> 
                                        </telerikCharting:SeriesMapping.GroupingSettings> 
 
                                <telerikCharting:SeriesMapping.ItemMappings> 
                                    <telerikCharting:ItemMapping FieldName="Value" DataPointMember="YValue" /> 
                                    <telerikCharting:ItemMapping FieldName="LabelString" DataPointMember="XCategory" /> 
                                </telerikCharting:SeriesMapping.ItemMappings> 
 
                            </telerikCharting:SeriesMapping> 
                        </telerikChart:RadChart.SeriesMappings> 
 
                        <telerikChart:RadChart.DefaultView> 
                            <telerikCharting:ChartDefaultView> 
                                <telerikCharting:ChartDefaultView.ChartArea> 
                                    <telerikCharting:ChartArea > 
                                        <telerikCharting:ChartArea.AxisX> 
                                            <telerikCharting:AxisX TicksDistance="30" LabelRotationAngle="45" Title="X Axis Title" /> 
                                        </telerikCharting:ChartArea.AxisX> 
                                        <telerikCharting:ChartArea.AxisY> 
                                            <telerikCharting:AxisY AutoRange="False" MinValue="100" MaxValue="200" Step="5" 
                                          DefaultLabelFormat="0" Title="Ampere [A]"/>  
                                        </telerikCharting:ChartArea.AxisY> 
 
                                    </telerikCharting:ChartArea> 
                                </telerikCharting:ChartDefaultView.ChartArea> 
                                        <telerikCharting:ChartDefaultView.ChartLegend> 
                                            <telerikCharting:ChartLegend x:Name="chartLegend" Header="Legend"   
                                                                         UseAutoGeneratedItems="True" /> 
                                        </telerikCharting:ChartDefaultView.ChartLegend> 
 
                            </telerikCharting:ChartDefaultView> 
                        </telerikChart:RadChart.DefaultView> 
 
                    </telerikChart:RadChart> 
                </ContentControl> 
                  
            </DataTemplate> 
              
        </ItemsControl.ItemTemplate> 
    </ItemsControl> 
 
Giuseppe
Telerik team
 answered on 03 Jan 2011
1 answer
181 views
Hi there, 

I'm attempting to use RadDock for WPF in a non-standard way. The UI I am working on requires:

  • Top level docking to allow various "always seen" components to be positioned. Think solution explorer, Output window in VS2008
  • A Tabbed area to host documents
  • Within each tabbed document, another docking manager, allowing multiple components to be positioned by the user
(Refer to the attached diagram)

The diagram shows what I'm trying to achieve. I'd like to restrict docking of red items to the dock manager in which they were created and only allow them to be docked as document (not floating, not top, left, right, bottom toolpanes)

The outer components (in blue) Id only like to be repositioned in the outer dock manager (e.g. not in the red area)

Is there any way I can achieve this? The outer components I can restrict by saying "CanDockAsDocument = false" but it is possible in my model to drag the inner components out to the parent docking manager. Doh

Thanks for your time
George
Telerik team
 answered on 03 Jan 2011
8 answers
144 views
Hi Telerik Team,
        I tried to add FilterDescriptor for RadGridView, but it is not adding and shows an error message "The method or Operation is not implemented". Please let me know any other way to add FilterDesriptor or how to overcome this error.. I'll be thankful to you if given any good idea.

This is the code I've written...

For

 

 

Each d As FilterDescriptor In e.Added
          RadGridView1.FilterDescriptors.Add(New FilterDescriptor(d.Member.ToString, d.Operator, d.Value, False))
Next

I have installed Q3 version in my system.. Please Help..

Thanks and Regards,
Azharshah H

 

 

 

 

 

 

 

 

 

 

azhar
Top achievements
Rank 1
 answered on 03 Jan 2011
5 answers
169 views
Thanks for the new TreeListView control. By default the TreeListView loads my collection of data only showing the parent level.  The children levels are collapsed on the grid.  I was wondering if its possible to expand to show the second level rows of my hierarchy data by default.  I don't see anywhere to do this in the API.  Please help.

Thanks
Sharada
Top achievements
Rank 1
 answered on 03 Jan 2011
2 answers
164 views
Hi..
I have function that loads the data and binds the grid.

LoadData();

How can I call this in separate thread.. so I can use the IsBusy indicator..... ?

Do I added IsBusy to the LoadData() and just run the code when the form is loaded?
thanks
Jon
Top achievements
Rank 1
 answered on 03 Jan 2011
1 answer
120 views
how to disable Animate RadWindow When Open or close Window.
Dani
Telerik team
 answered on 03 Jan 2011
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?