Telerik Forums
UI for WPF Forum
3 answers
100 views
Hello there,

Do the gridview support making a six level hierarchy in an easy way? 

Right now I'm setting my top data set as ItemsSource and then do a lot of child table definitions. To be able to remove GroupPanel and ColumnHeaders in my child nodes I'm listening on the DataLoading event casting the sender to a GridViewControl. For getting all the child column I have set the AutoGenerateColumns property to true. But I need to remove some of them so I also listening for AutoGeneratingColumn event. Doing this seems a little bit odd!

Another question is if I'm able to update the data at the bottom node in the gridview from a database without destroying the expanded hieararch made by the user?

Am I correct in my assumption that the gridview only support a two level hierarchy in a good manner.

Best wishes from Johan
Vlad
Telerik team
 answered on 20 May 2010
5 answers
177 views
Hello all.

I'm using RadChart and i want to hide values from chart.
Also there is grey background and i cannot change it. I've tried to change it, but it still remains grey. See attached image, please.
Chart's dimensions are 170x130.
Thank you in advance.
    Nenad
Nikolay
Telerik team
 answered on 20 May 2010
3 answers
82 views
Fix yo' code. :P
Pavel
Telerik team
 answered on 20 May 2010
1 answer
234 views
Hello,

I have an MVVM application.
In this application I use RadMap control with search engine via BingSearchProvider class.
If I binding result of work BingSearchProvider as ObservableCollection<Location> all works perfectly,
<telerik:InformationLayer x:Name="informationLayer"  
    ItemsSource="{Binding Path=LocationData.SearchResult}"
 <telerik:InformationLayer.ItemTemplate> 
.... 
 
 
public ObservableCollection<Location> SearchResult { getprivate set; } 
 
private void geoHelper_SearchCompleted(object sender, LocSearchCompletedEventArgs e) 
    SearchResult.Clear(); 
 
    var searchResult = e.Locations as ObservableCollection<MyMapItem>; 
    foreach(MyMapItem loc in searchResult) 
        SearchResult.Add(loc.Location); 

but if I try to wrap result in MyMapItem and try binding ObservableCollection <MyMapItem>
the map refuses to display search result positions on InformationLayer.
<telerik:InformationLayer x:Name="informationLayer"  
    ItemsSource="{Binding Path=LocationData.SearchResult.Location}"
 <telerik:InformationLayer.ItemTemplate> 
.... 
 
public class MyMapItem 
    public Location Location 
    { 
        get
        set
    } 
 
    public string Title 
    { 
        get
        set
    } 
 
    public string Description 
    { 
        get
        set
    } 
 
public ObservableCollection<MyMapItem> SearchResult { getprivate set; } 
 
private void geoHelper_SearchCompleted(object sender, LocSearchCompletedEventArgs e) 
    SearchResult.Clear(); 
 
    var searchResult = e.Locations as ObservableCollection<MyMapItem>; 
    foreach(MyMapItem loc in searchResult) 
       SearchResult.Add(loc); 

How i can solve this problem? How i can use custom class for display position on Radmap control? I don't want use buffer object list =(

Here is located the simple project which demonstrate a problem 

Vladimir Milev
Telerik team
 answered on 20 May 2010
1 answer
125 views
Hello all.

I'm working on stacked bar and i have one question about negative values.
Is it possible to show them on chart? Is it supported by <telerik: RadChart> control?
I have 5 vertical bars with 5 segments. See attached image, please.
You will be able to see that grey part from first bar is missing.
that one has negative value.
Is there any way / property which says to graph that it must be moved a little bit to the top and to show segnemt with negative value?
Nenad Djukic
Top achievements
Rank 1
 answered on 20 May 2010
1 answer
119 views
I cannot seem to find any documentation at all that shows how to use a WPF RadSplitButton. How do I add drop down items to the list?
Dimitrina
Telerik team
 answered on 20 May 2010
1 answer
108 views
On the Loaded event of the control am adding my custom labels by assigning custom values to the  Y-Axis Tickpoint.Label property
when i scroll the scroll bar in the y-axis, all the custom tickpoint label disappears and am viewing my default numeric values in ticklabel????
how to slove this,
Vladimir Milev
Telerik team
 answered on 20 May 2010
2 answers
109 views
Hello all.

I have a problem with chart data within stacked bar chart.
Some data is not visible.
ItemSource of chart is List<decimal[5]>.
Image is attached.
Each column contains segments woth values from 30-70 from bottom to the top.
Bottom segments with value 30 are not visible at all.
I put AxisY.AutoRange to false and AxisY.MaxValue to 300 (sum of all segments from one solumn is 250).

Could you please help me about this?
Thanx in advance.
    Nenad
Nenad Djukic
Top achievements
Rank 1
 answered on 20 May 2010
4 answers
157 views
Hi ... I have a child grid for which I would like to show the IsExpandable button only if there is data in the objects child collection. I have tried the following XAML
        <Style TargetType="{x:Type Controls:GridView.GridViewRow}">
            <Setter Property="IsExpandable" Value="{Binding DeviceBehaviours.Count, Converter={StaticResource IntegerToBooleanConverter}, Mode=OneWay}" />
        </Style>
The converter returns a boolean if the child collection has a count. This collection is asynchronous and returns a only result after the RowLoaded event has already run. 

Weirdly this same Xaml works for the Expanded property.

Hope you can help
John .


John
Top achievements
Rank 1
 answered on 20 May 2010
3 answers
83 views

i have got a combobox which has set the RadComboBox.ItemTemplate to a combined string

 

<telerik:RadComboBox x:Name ="blah" HorizontalAlignment="Left" Margin="0,26.04,0,0" VerticalAlignment="Top" Width="167.54" d:LayoutOverrides="HorizontalAlignment" ItemsSource="{Binding Source={StaticResource respondentViewSource}}" >

so how can i have a search text area that actually searches the "displaymember" or "itemtemplate"
i think it's to do with telerik:TextSearch.TextPath, but i don't what value is expected in that attribute.

Valeri Hristov
Telerik team
 answered on 20 May 2010
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?