Telerik Forums
UI for WPF Forum
5 answers
259 views
Hi all,

I am new to telerik wpf and I want to know if I can make the Combobox work like autocompletebox.

Thanks,
Dona
Shinu
Top achievements
Rank 2
 answered on 21 May 2013
1 answer
141 views
Is there any way to get the RadAutoCompleteBox to stretch vertically to encompass added items, when using in multiple items mode? I'm sure its something simple, but I just can't find it!

Andrew
Top achievements
Rank 1
 answered on 21 May 2013
5 answers
136 views

Hi Telerik Team.

The CandlestickSeries seems to have an odd behavior for negative values. The attached image shows a graph where the candlestick values should decrease linearly from left to right, but they stop at around y=0.


What is a workaround for this?


I use Telerik Version 2012.2.912.40, WPF


Code:

<telerik:RadCartesianChart>
    <telerik:RadCartesianChart.VerticalAxis>
        <telerik:LinearAxis/>
    </telerik:RadCartesianChart.VerticalAxis>
    <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:CategoricalAxis/>
    </telerik:RadCartesianChart.HorizontalAxis>
    <telerik:CandlestickSeries x:Name="Series0" 
                            HighBinding="High"
                            OpenBinding="Open"
                            CloseBinding="Close"
                            LowBinding="Low"
                            CategoryBinding="X">
    </telerik:CandlestickSeries>
</telerik:RadCartesianChart>

public partial class MainWindow : Window
{
    public MainWindow()
    {
        InitializeComponent();
        this.Loaded += new RoutedEventHandler(MainWindow_Loaded);
    }
 
    void MainWindow_Loaded(object sender, RoutedEventArgs e)
    {
        var chartData = new List<MyChartDataClass>();
        for (int i = 0; i < 35; i++)
        {
            var cdc = new MyChartDataClass()
            {
                X = i,
                High = 5 - i,
                Open = 4 - i,
                Close = 3 - i,
                Low = 2 - i,
            };
            chartData.Add(cdc);
        }
        Series0.ItemsSource = chartData;
    }
}
 
public class MyChartDataClass
{
    public int X { get; set; }
    public double Close { get; set; }
    public double Low { get; set; }
    public double Open { get; set; }
    public double High { get; set; }
}
Peshito
Telerik team
 answered on 21 May 2013
2 answers
349 views
Hi everyone,

I would like to open, focus and select all text in editable RadComboBox when my wpf form is opened.

So I set following properties:

OpenDropDownOnFocus="True" SelectAllTextEvent="GotFocus"

and I call the Focus(); on form's constructor.

But the comboBox is closed with no selected text in it.

Could you help me what am I doing wrong?

Thank you for your replies.
Vladi
Telerik team
 answered on 20 May 2013
3 answers
218 views
Using your pdfviewer control.
If I set IsInPanMode = "true" on the contol it doesn't seem to honor that setting. However if i have a toggle button that i bind to the FixedDocumentViewer.IsInPanMode property it seems to work.

I get the same effect with ScaleMode  - except here : if i set it directly on the control it doesn't work, but I also can't seem to get FixedDocumentViewer.ScaleFactor binding to work on other controls like Slider etc.

Any hints at what I'm doing wrong?
Kammen
Telerik team
 answered on 20 May 2013
5 answers
337 views
Hello,

I have been using the Scheduleview for my project. I modified the style of appointmentdialog through EditAppointmentDialogStyle, by changing the subject text block to radcombobox. I wanted to have list of string to be displayed in the combobox so that user can select the subject from the list. But the problem is I am unable to bind the list to the RadCombobox. It is always returning me Binding error. How can i solve this problem?

Thanks in advance,
Dheena
Yana
Telerik team
 answered on 20 May 2013
1 answer
229 views
HI,

I try to use your OrgChart Example from the online help. But there missing some resources to understand the
example . Missing:

Resources.xaml
<ResourceDictionary Source="/Diagrams;component/OrgChart/Resources/Resources.xaml" />

BooleanToVisibilityConverter
 Visibility="{Binding HasChildren, Converter={StaticResource BooleanToVisibilityConverter}}"

Do you have the full example as standalone project?

thanks
best regards
rene
Petar Mladenov
Telerik team
 answered on 20 May 2013
4 answers
164 views
When a list is bound to RadComboxBox, the selected item is showing the type instead of actual value.

<Controls:RadRibbonComboBox x:Name="namesCombo">
            <Controls:RadRibbonComboBox.ItemTemplate>
                <DataTemplate>
                    <Border Background="Transparent">
                        <TextBlock Text="{Binding Name}">
                            <UserControls:TooltipHelper.Tooltip>
                                <ToolTip Template="{StaticResource TextToolTipTemplate}" Content="{Binding Description}"/>
                            </UserControls:TooltipHelper.Tooltip>
                        </TextBlock>
                    </Border>
                </DataTemplate>
            </Controls:RadRibbonComboBox.ItemTemplate>
        </Controls:RadRibbonComboBox>

private void SetWriteableTemplates(bool isUserAdmin)
       {
           if (Templates == null) return;
 
           namesCombo.ItemsSource = Templates.Where(t => isUserAdmin || !t.IsSystem).ToList();
           namesCombo.SelectedIndex = 0;
       }

But the selected item will be the type of the list instead of actual value.

The value for Name wont be displayed in selected value.
for eg : The Name property contains certain values and its type is observable collection. Then the selected value will be displayed as that observablecollection
Rohini
Top achievements
Rank 1
 answered on 20 May 2013
1 answer
425 views
I have multiple InformationLayers inside my RadMap control, each of them showing different MapItems. The objects (MapItems) are bound via ItemsSource.

How can I bringt a MapItem to front?
It seems that there is no ZIndex Property. I managed it by moving an object to the end of the ItemsSource. Is there a better way?

How can I bring a whole InformationLayer to Front?
When moving an object to the end of ItemsSource like said above, it is still covered by MapItems which are part of a "higher" layer. Is there anything like good old "BringToFront()" for InformationLayer?
Andrey
Telerik team
 answered on 18 May 2013
5 answers
142 views
Hi,

I have tried to get the answer to this critical question (for me) but I probably have not stated the question properly.....How do I get a different drop down list in different rows of the same column?  The Below grid example is what i need to do.  The example below is only for descriptive purposes to visually depict what I have not been able to verbally explain.  A simple working example would be greatly appreciated.

Thanks
Rich

Row No Month Column Sales Column
1 Drop Down Combo box 100.00
January
February
March

2 Drop Down Combo box 120.00
April
May
June

3 Drop Down Combo Box  80.00
July
August
September

etc.
Dimitrina
Telerik team
 answered on 18 May 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?