Telerik Forums
UI for WPF Forum
8 answers
386 views
I don't need the border-less cells but I need to really merge two footer cells. Is it possible to merge footer cells of two consecutive columns?

I need to enter some text in the footer cell but width of the column is too short to display that text. This is why I need to merge the footer cells.

Any suggestions?
Maya
Telerik team
 answered on 24 Jan 2013
2 answers
221 views
I have a TreeView in my UserControl and when I tab into it from the previous control, the focusvisual shows on the TreeView as a whole, and I can't seem to get access to the TreeViewItems.  How can I make the first (or selected) TreeViewItem be the one that has the focus so I can navigate the Tree?

Thanks in advance,
Steve
Steve
Top achievements
Rank 1
 answered on 23 Jan 2013
0 answers
113 views
Hi Telerik,

I have a RadGridView with a DataTable dt as ItemsSource. Since dt is dynamic, I cannot define the columns in XAML. As a result, I set AutoGenerateColumn to true.

One trouble I have, however, is that a few of these columns are foreign keys and I would like to set those columns to be GridViewComboBoxColumns instead of the standard GridViewBoundColumn for strings. Unfortunately, it appears that GridViewComboBoxColumns (along with others like GridViewHyperLinkColumns, etc) are never actually autogenerated regardless of data type.

Is there any way I can hijack the column generation process to ensure a GridViewComboBoxColumn is generated when needed? All I really need is a combo box that lets me choose the value for cells in particular columns.

Thanks.
New
Top achievements
Rank 1
 asked on 23 Jan 2013
7 answers
198 views
I'm testing out the pivot grid control and adapted the sample to use adomd.

The problem is when I run it, I get no fields in the picker. Everything is empty. No errors, no extended errors in VS when debugging.

I can verify my connection string is working because I can create an AdomdConnection using Microsoft's API and successfully connect to the SSAS server and see the connection metadata/properties while it's open when debugging with VS.

SASS is 10.50.1600.1,
Microsoft.AnalysisServices.AdomdClinet is v 10.0
WPF 4.0

Not sure why I'm not getting anything using the telerik control.
Rosen Vladimirov
Telerik team
 answered on 23 Jan 2013
4 answers
374 views
Hi,

I am trying to build a rad grid view dynamically and I have a slight issue with the column groups.

When the table is shown not all of the groups are shown but when I scroll they appear (only the first 10 get drawn when the grid is first loaded).

I have tried tow different approaches to make this work;
  1. Extending RadGridView and building the table based on a dependency property that contains the details of what columns/groups need to be added and,
  2. Moving the dependency property up a level and working with an out of the box RadGridView.

Do you have any suggestions of what I can do to get all of the column groups to be drawn when the grid view is first loaded?

Thanks,

Steven
Steven
Top achievements
Rank 1
 answered on 23 Jan 2013
0 answers
102 views
Hi,

is there any easy way to set DropVisual using DragDropManager?

I mean something similar to

DragInitializeEventArgs.DragVisual

 

 

 

 

Daniel
Top achievements
Rank 1
 asked on 23 Jan 2013
5 answers
121 views
I just updated to the newest version and went through the release note. The change "Column aligned aggregates" in GridView caught my interest, but I seem to be unable to find anything usefull when I search for that term anywhere (also in the documentation).

There were no link in the release note to take me to a detailed description of this change.

How and where do I find the documentation of this?

Thanks
Dimitrina
Telerik team
 answered on 23 Jan 2013
1 answer
292 views
Hey there, I'm creating a project where I want to display attributes of specific objects in a chart. For example, I have 2 different loan objects (Current Loan and Proposed Loan) and I want to display each one of those object's "Tax Savings" in a bar chart. I am trying to do something EXACTLY like this:

http://www.telerik.com/help/wpf/radchartingkit-series-barseries.html 

But I want the properties themselves to be properties on my objects. I've tried basic bindings and I can't seem to get it to work. The objects bind find throughout my app it's just not functioning here. The code I've got is:

                            <telerikChart:RadCartesianChart Width="500" >

                                <telerikChart:RadCartesianChart.HorizontalAxis>
                                    <chartView:CategoricalAxis/>
                                </telerikChart:RadCartesianChart.HorizontalAxis>
                                
                                <telerikChart:RadCartesianChart.VerticalAxis>
                                    <chartView:LinearAxis/>
                                </telerikChart:RadCartesianChart.VerticalAxis>

                                <telerik:BarSeries>
                                    <telerik:BarSeries.DataPoints>
                                        <telerik:CategoricalDataPoint  Value="{Binding Path=CurrentLoan.TaxSavings}"
                                                  Category="Proposed Loan"/>
                                        <telerik:CategoricalDataPoint  Value="{Binding Path=ProposedLoan.TaxSavings}"
                                                  Category="Current Loan"/>
                                    </telerik:BarSeries.DataPoints>
                                </telerik:BarSeries>

                            </telerikChart:RadCartesianChart>

When It loads, it actually blanks out my entire "View" that the charts are supposed to be in. Any suggestions? Thank you
Ves
Telerik team
 answered on 23 Jan 2013
3 answers
196 views
I'm currently evaluating TreeListViews from various vendors and am trying to determine if what I'm looking for is possible. We are using an MVVM model for our code. That being said I have a view model that has a collection of items. Each item has a collection of children and a collection of additional properties. Below is some sample code:

public class PsuedoClass
{
    public IObservableCollection<IBaseClass> Parents { get; set; }     
}
 
public class Parent : IBaseClass
{
    public String Name { get; set; }
    public IObservableCollection<IBaseClass> Children { get; set; }
    public IDictionary<string, string> OtherData { get; set; }
}
 
public class Child : IBaseClass
{
    public String Name { get; set; }
}
 
public interface IBaseClass
{
    String Name { get; set; }
}

Now obviously this code isn't complete, but I wanted to give you an idea of the basic structure. Now I want to display this in a TreeListView where each row has a choice of a couple templates, one template for if its a Parent, the other if its a child. And then I want the columns to be bound to the "OtherData" in the Parents class (Meaning, I want the Header to be the "Key" in the dictionary and the data to be the "Value" of the dictionary, or some similar structure).

What I would like to be able to do is something like this:
<UserControl ... >
    <UserControl.Resources>
        <DataTemplate x:Key="ChildItemTemplate">
            <TextBlock Text="{Binding Name}"/>         
        </DataTemplate>
     
        <HierarchicalDataTemplate x:Key="ParentItemTemplate"
                                  ItemsSource="{Binding Children}"
                                  ItemTemplate="{StaticResource ChildItemTemplate}">
            <TextBlock Text="{Binding Name}"/>
             
            <SomeHowDisplayTheRestOfTheColumns/>
             
        </HierarchicalDataTemplate>
    </UserControl.Resources>
 
    <telerik:RadTreeListView ItemsSource="{Binding Parents}"
                             Columns="{Binding SomePropertyThatExposesOurColumns}"
                             ItemTemplate="{StaticResource ParentItemTemplate}">   
    </telerik:RadTreeListView>
</UserControl>


Any insight into if this is possible with examples would be greatly appreciated. Thanks in advance.
Dimitrina
Telerik team
 answered on 23 Jan 2013
7 answers
212 views

Hi,
Jag have an existing Custom Theme for RadGridView which is not entire correct because in
<ControlTemplate x:Key="GridViewGroupPanelItemTemplate" TargetType="grid:GridViewGroupPanelItem">
Content
="{Binding Path=DisplayContent}" doesn't get any value. I think it something is missing in our GridViewTheme.xaml. Would be very grateful for any tip.
Best regards
Elena


<ControlTemplate x:Key="GridViewGroupPanelItemTemplate" TargetType

="grid:GridViewGroupPanelItem">

 

  <StackPanel x:Name="PART_GroupPanelItemStackPanel" Orientation="Horizontal"
    VerticalAlignment="{TemplateBinding VerticalContentAlignment}" 
        Background="Transparent">
    <Grid HorizontalAlignment="{TemplateBinding HorizontalContentAlignment }"> 

        <Grid.RowDefinitions>
            <RowDefinition MinHeight="4" Height ="Auto" /> <RowDefinition />
        </Grid.RowDefinitions>

        <Path Name="PART_InsertionPoint" Grid.Row="0" Visibility="Collapsed"
        
Fill="{StaticResource GridView_IndicatorPrimaryColor}" Stretch="Fill" 
        
VerticalAlignment="Top" HorizontalAlignment="Center" Width="6.414" 
        Height
="4.677" 
        Data
="M206.66812,170.31108 L212.08199,170.31108 209.36058,173.98834 z" />
        
<Grid x:Name="PART_ConnectingLine" Visibility="Visible" Grid.Row="1" 
        Margin
="{TemplateBinding Padding}">
            <Path Fill="{StaticResource GridView_IndicatorSecondaryColor}" 
            Stretch
="Fill" Stroke="{x:Null}" Width="4" Height="7"  Margin="1,2,0,0"
            Data
="M0,0 L1,0 1,1 2,1 2,2 3,2 3,3 4,3 4,4 3,4 3,5 2,5 2,6 1,6 1,7 0,7 z"/>

            <Path Fill="{StaticResource GridView_IndicatorPrimaryColor}" Stretch="Fill"
            Stroke="{x:Null}" Width="4" Height="7" 
            Data
="M0,0 L1,0 1,1 2,1 2,2 3,2 3,3 4,3 4,4 3,4 3,5 2,5 2,6 1,6 1,7 0,7 z"/>

        </Grid>
    </Grid>
    <Border BorderBrush="{StaticResource GridView_HeaderInnerBorder}"
       Background
="{TemplateBinding Background}" BorderThickness="1" CornerRadius="3" 
        
Margin="5,0">
        <grid:GridViewGroupPanelCell Background="Transparent" BorderThickness="0" 
       
Content="{Binding Path=DisplayContent}" Foreground="Black" Padding="12,0,12,2" 
       
SortDirection="{Binding Path=SortDirection}"/>
    
</Border>
</StackPanel>
</ControlTemplate

>

 

 

 

 

Oliver
Top achievements
Rank 1
 answered on 23 Jan 2013
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?