Telerik Forums
UI for WPF Forum
4 answers
283 views

Hi team,

I know it might not be a popular topic about multi select of combobox here. I read a lot of previous threads about multiple select, and finally can make it satisfy my requirement.  However, there is a defect of my implementation. I would try my best to describe my problem as clear as i can.

 I have two comboboxes, say A and B. The items of B are depending on what's selected in A. When the App starts up, I select a item, then the items of B refreshes correctly, and i can also select items in B without problems. Now the defect comes, i unselect the item and select some other items, the items in B still can refresh correctly. But, when i select items in now this time, the selectionBox is not changing any more, with a blank always. I don't know what i've been missing.

 I am creating a repository in github here git@github.com:hobbycamp/multicombobox.git. You guys can run it for real. Thanks for any help.

-Yang

Yang
Top achievements
Rank 1
 answered on 29 Jul 2015
3 answers
103 views
I updated to the service pack, and received a warning about an obsolete reference on the following line of code

Private Sub RadPropertyGrid1_SelectedFieldChanged(sender As System.Object, e As Telerik.Windows.Controls.Data.PropertyGrid.PropertyGridFieldEventArgs) Handles RadPropertyGrid1.SelectedFieldChanged

The message is that 

'Telerik.Windows.Controls.Data.PropertyGrid.PropertyGridFieldEventArgs' is obsolete: 'This type is marked as obsolete. Please, use Telerik.Windows.Controls.SelectionChanged instead'.

Only when I switch to Telerik.Windows.Controls.SelectionChanged, it's not recognized.  Is this a bug, or am I missing a reference.  (I already have Telerik.Windows.Controls referenced in the project.)


Ivan Ivanov
Telerik team
 answered on 28 Jul 2015
6 answers
343 views

Sometimes the Pie section is too small to see the Percentage value so is it possible in this case show the values outer of the circular like in this picture.

Martin Ivanov
Telerik team
 answered on 28 Jul 2015
1 answer
169 views

Hi,

 

I would like to if it's possible to access or to know how many items is present in the history???

 

Thank's

Alain

Tanya
Telerik team
 answered on 28 Jul 2015
6 answers
723 views

Please my PieChart in the attach file.

This is my collection:

Dictionary<string, double> seriesSource = new Dictionary<string, double>();

    this.doughnutSries.ValueBinding = new GenericDataPointBinding<KeyValuePair<string, double>, double>()
    {
        ValueSelector = x => x.Value
    };
 
    this.doughnutSries.ItemsSource = seriesSource;
    this.doughnutSries.Loaded += doughnutSries_Loaded;
 
void doughnutSries_Loaded(object sender, RoutedEventArgs e)
{
    if (this.doughnutSries.DataPoints.Count > 0)
    {
        this.doughnutSries.DataPoints[0].IsSelected = true;
    }
}

 

 

XAML:

<telerik:RadPieChart Palette="Windows8">
    <telerik:RadPieChart.Behaviors>
        <telerik:ChartSelectionBehavior />
        <telerik:ChartTooltipBehavior />
    </telerik:RadPieChart.Behaviors>
 
    <telerik:DoughnutSeries x:Name="doughnutSries" InnerRadiusFactor="0.25" SelectedPointOffset="0.07">
        <telerik:DoughnutSeries.TooltipTemplate>
            <DataTemplate>
                <Border Background="#B1E154" CornerRadius="3" TextElement.Foreground="#FFFFFF" Padding="5">
                    <StackPanel>
                        <TextBlock>
                            <TextBlock Text="IP Address: " />
                            <TextBlock Text="{Binding DataItem.Key}" />                                   
                        </TextBlock>
                        <TextBlock>
                            <TextBlock Text="Value: " />
                            <TextBlock Text="{Binding Value}" />                                   
                        </TextBlock>
                    </StackPanel>
                </Border>
            </DataTemplate>
        </telerik:DoughnutSeries.TooltipTemplate>
    </telerik:DoughnutSeries>
</telerik:RadPieChart>

 So i want to add:

 1. Legend that will show me the IP Address and when mouse over i want also to highlight the pie section:

Please see this: http://docs.telerik.com/devtools/wpf/controls/radchart/features/chart-legend

2 I want to be able to copy the IP Address with mouse right click. 

Martin Ivanov
Telerik team
 answered on 28 Jul 2015
1 answer
202 views

<telerik:RadComboBox Name="Sample" DisplayMemberPath="Text" CanAutocompleteSelectItems="True" IsFilteringEnabled="True" HorizontalAlignment="Left" IsEditable="True" OpenDropDownOnFocus="True" VerticalAlignment="Top" Width="250">

When you enter text to filter the results the scroll bar acts very strangely. As you move it down it shrinks then finally re-expands as you scroll

Included a sample app that demonstrates this

http://screencast.com/t/GJXNhxEGGy3 and screen cast to demo it

https://dl.dropboxusercontent.com/u/6295901/WpfApplication3_2015-07-27%2014-36-51Z.zip Included Sample

Created using UI for WPF Q2 2015

 

Nasko
Telerik team
 answered on 28 Jul 2015
2 answers
103 views

Hi,

I use the autocompletebox, which have a list of country as ItemsSource. From this autocompletebox, I would have the possibility to add a new country, which is not in the current list. To do that, I want to have a custom item in the filtered list, which do something special and is selectable as an other item of the list.

I have the idea to add a special item in the ItemsSource and change the template of this special item with a TemplateSelector, but I would like to know if it exists a best way to do that?

I have attached a picture to illustrate what I would like to do.

Thanks for your help!

Alex

Alexandre
Top achievements
Rank 1
 answered on 28 Jul 2015
1 answer
565 views

Hi, I am trying to use a RadDropDownButton inside a RadToolBar control.

 

I need to display an image on the RadDropDownButton, the same way I can with a regular button like the example below:

 

<Button Name="btn_ONLINE">
                <StackPanel Orientation="Horizontal">
                    <Image Source="/Images/OnLine2Red24.png" />
                    <TextBlock Text="Offline" Margin="5,0,0,0" />
                </StackPanel>

</Button>

 

Is there any way I can achieve the same result?

 

Thanks,

 

Sia
Telerik team
 answered on 28 Jul 2015
2 answers
455 views

Hi, I have three horizontaly tiled RadSplitContainers inside another RadSplitContainer and I want to set the width of each one in percentage terms for the space available.

For example:

RadSplitContainer1 width should be 2/10 of available horizontal space

RadSplitContainer2 width should be 5/10 of available horizontal space

RadSplitContainer3 width should be 3/10 of available horizontal space

 

I am a bit confused with the documentation on how to achieve this. Anyone to kindly suggest a practical example?

 

Regards,

 

George

Nasko
Telerik team
 answered on 27 Jul 2015
7 answers
402 views

I have the following XAML.

<telerik:RadDocking>
    <telerik:RadPaneGroup>
        <telerik:RadPane Header=”Pane1” />
        <telerik:RadPane Header=”Pane2” />
    </telerik:RadPaneGroup>
</telerik:RadDocking>

Both Pane1 and Pane2 are docked by default and contained within the same pane group so at startup I see two tabs at the bottom and one pin/unpin button at the top. When I click the unpin button at the top I would expect the whole pane group (and thus all its RadPanes) to become undocked and slide to the left but I only see one slide to the left and the other remains open and pined.

This does not seem to be the normal behavior for a dock control, like the one used in Visual Studio itself. Is there a way to configure the Telerik dock control to behave like the dock control used by Visual Studio where when a pane group unpinned it unpins all its sub panes?

Kalin
Telerik team
 answered on 27 Jul 2015
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
InlineAIAssistant
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?