Telerik Forums
UI for WPF Forum
1 answer
338 views

Hello,

I am using a RadAutoCompleteBox with multiselecting. 

I would like a user to be able to open the dropdown by clicking on the AutoCompleteBox and to be able to select all needed items in one go.

In general it should have the same behaviour like the StaysOpenOnEdit property of the RadComboBox.

Thanks in advance

 

Regards,

Kai

Martin Ivanov
Telerik team
 answered on 12 Jul 2021
2 answers
140 views

Hello,

I want to use multiselection in a RadCombobox. Is there a way to get the same layout for the Elements as in the AutoCompleteBox?

Best Regards,

Kai

Dinko | Tech Support Engineer
Telerik team
 answered on 12 Jul 2021
1 answer
159 views

Hi Team,

I have the following queries.

1. How to show the gridlines in the GanttView. (see the attached screenshot)

2. How to hide the border line between 2 columns. (see the attached screenshot)

3. How to reduce the MajorTickLine width. I have tried the below.
Here we are showing Days, week, month wise details.

Working Criteria:

Days - 45 to 79 

Week - 80 to 120 

 If the range of days increased more than 79, it will automatically display the week.

Not working while adjusting the range (customized range) for days and week. 

Please help us to sort it out.

Dilyan Traykov
Telerik team
 answered on 09 Jul 2021
1 answer
163 views

Hi Team,

We need to display the multiple different property values in a same column definition. Bind each property in seperate textblock and also have to show the tooltip with respective details. Please refer the attached screenshot, which we are looking for it.

 

Please help us to sort.

 

Thanks,

Sabari.

Vladimir Stoyanov
Telerik team
 answered on 09 Jul 2021
0 answers
152 views

Hello! I am learning an RadDocking example from Telerik Wpf Demo. When I try to unpin (hide) a RadPane I see an System.NullReferenceException. What's the problem?

Here's the code.

 <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <telerik:RadDocking x:Name="radDocking1"
                            RetainPaneSizeMode="DockingAndFloating"
                            CanAutoHideAreaExceedScreen="True"
                            Grid.Row="0" Margin="0 0 0 10"
                            BorderThickness="0"
                            Padding="0">

            <telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup>
                        <telerik:RadDocumentPane Title="Description">
                        </telerik:RadDocumentPane>
                        <telerik:RadPane Header="NotDragable" CanFloat="False">
                            <telerik:RadPane.Content>
                                <TextBlock TextWrapping="Wrap" Text="This pane cannot be dragged, because it has its property CanFloat set 'False'." />
                            </telerik:RadPane.Content>
                        </telerik:RadPane>
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerik:RadDocking.DocumentHost>

            <telerik:RadSplitContainer  MaxWidth="600" telerik:DockingPanel.InitialSize="210,150"
                    Name="LeftContainer" InitialPosition="DockedLeft">
                <telerik:RadPaneGroup x:Name="Group1">

                    <telerik:RadPane x:Name="Pane1" Header="Server Explorer">
                    </telerik:RadPane>

                    <telerik:RadPane x:Name="Pane2" Header="Toolbox">
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>

            <telerik:RadSplitContainer MaxWidth="679" telerik:DockingPanel.InitialSize="210,150"
                                       x:Name="RightContainer" InitialPosition="DockedRight">
                <telerik:RadPaneGroup x:Name="Group2">

                    <telerik:RadPane x:Name="Pane3" Header="Solution Explorer">
                    </telerik:RadPane>

                    <telerik:RadPane x:Name="Pane4" Header="Properties">
                    </telerik:RadPane>

                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>

            <telerik:RadSplitContainer InitialPosition="FloatingDockable"
                    telerik:RadDocking.FloatingLocation="450, 250"
                    telerik:RadDocking.FloatingSize="300, 220">
                <telerik:RadPaneGroup>
                    <telerik:RadPane Header="Not Document Pane" CanDockInDocumentHost="False">

                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>

            <telerik:RadSplitContainer telerik:DockingPanel.InitialSize="200,180"
                    x:Name="BottomContainer" InitialPosition="DockedBottom">
                <telerik:RadPaneGroup x:Name="Group3">

                    <telerik:RadPane x:Name="Pane5" Header="Output">
                    </telerik:RadPane>

                    <telerik:RadPane x:Name="Pane6" Header="Error List">
                    </telerik:RadPane>

                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking>
    </Grid>

Leonid
Top achievements
Rank 1
 asked on 08 Jul 2021
1 answer
116 views

I think to create a contact form created from five different HTML webpages:

Four HTML webpages would prompt the user for various kinds of data and the fifth webpage would include a submit button and a success message in case a submit process went well form JavaScript’s side at least — not involving possible problems in the backend (PHP) routing.

My problem is that I don’t know almost anything about Ajax:
Ajax CRUD operation codes always seemed to me very long and complicated; perhaps since EcmaScript 2021 Ajax CRUD operations could be much simpler.

I seek some guidance about how to generally do this, how to save data prompted from the user in each of the four HTML documents) and so forth.

Martin Ivanov
Telerik team
 answered on 08 Jul 2021
1 answer
493 views

I'm using RadGridView quite a lot. One of the major functionality is column sorting.

This is radGridView definition. RadGridStyle contains set properties as follows:

    <Style x:Key="RadGridStyle" 
           TargetType="{x:Type telerik:RadGridView}">
        <Setter Property="ItemsSource" 
                Value="{Binding Elements}" />
        <Setter Property="AutoGenerateColumns" 
                Value="False" />
        <Setter Property="EnableRowVirtualization" 
                Value="True" />
        <Setter Property="EnableColumnVirtualization" 
                Value="True" />
        <Setter Property="FrozenColumnCount" 
                Value="5" />
        <Setter Property="ClipboardCopyMode"
                Value="All"/>
        <Setter Property="SelectedItem" 
                Value="{Binding SelectedElement}"/>
        <Setter Property="SelectionUnit" 
                Value="FullRow"/>
        <Setter Property="SelectionMode" 
                Value="Extended"/>
        <Setter Property="MinColumnWidth" 
                Value="75"/>
        <Setter Property="CanUserSortColumns"
                Value="True"/>
        <Setter Property="IsReadOnly"
                Value="True"/>
        <Setter Property="RowHeight"
                Value="20"/>
        <Setter Property="DataLoadMode"
                Value="Synchronous"/>
        <Setter Property="ValidatesOnDataErrors"
                Value="None"/>
        <Setter Property="GroupRenderMode"
                Value="Flat"/>
    </Style>
<telerik:RadGridView Style="{StaticResource RadGridStyle}">
            <telerik:RadGridView.Columns>
<!--int--> <telerik:GridViewDataColumn DataMemberBinding="{Binding Index, Mode=OneTime}" Header="{x:Static localization:Resources.Identifier}"/> <!--string--> <telerik:GridViewDataColumn DataMemberBinding="{Binding Name, Mode=OneTime}" Header="{x:Static localization:Resources.Signature}"/> <!--string--> <telerik:GridViewDataColumn DataMemberBinding="{Binding Group, Mode=OneTime}" Header="{x:Static localization:Resources.Group}"/> <!--string--> <telerik:GridViewDataColumn DataMemberBinding="{Binding Code, Mode=OneTime}" Header="{x:Static localization:Resources.Code}"/> <!--string--> <telerik:GridViewDataColumn DataMemberBinding="{Binding Description, Mode=OneTime}" Header="{x:Static localization:Resources.Description}"/> <!--Voltage struct, it implements IComparable/IEquatable--> <telerik:GridViewDataColumn DataMemberBinding="{Binding Data.NominalVoltage, Mode=OneTime}"> <telerik:GridViewDataColumn.Header> <controls:TextBlockForDataGridColumnHeader Text="Un (kV)" /> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!--Voltage struct--> <telerik:GridViewDataColumn DataMemberBinding="{Binding Data.SwitchgearRatedVoltage, Mode=OneTime}"> <telerik:GridViewDataColumn.Header> <controls:TextBlockForDataGridColumnHeader Text="Ur (kV)" /> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!--string, it doesn't work even for this simple type property--> <telerik:GridViewDataColumn DataMemberBinding="{Binding Data.SwitchgearType, Mode=OneTime}" Header="{x:Static localization:Resources.SwitchgearType}"/> <!--Current struct, it implements IComparable, IEquatable--> <telerik:GridViewDataColumn DataMemberBinding="{Binding Data.RatedCurrent, Mode=OneTime}"> <telerik:GridViewDataColumn.Header> <controls:TextBlockForDataGridColumnHeader Text="Ir (A)" /> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> </telerik:RadGridView.Columns> </telerik:RadGridView>

RadGridView can use column sorting only for columns no 1-5. Other columns have no ability to sort. There are no sort indicators on column header for each column. When I'm trying to add DataType or SortMemberPath for each column, inidicator appears, but clicking on indicator has no effect. Filter popup contains just only 0 or [null] value

 

This is definition of model, that I'm binding to radGridView. The collection ItemsSource is of type <IEquipment>.


public class Equipment : IEquipment
    {
        public int Index { get; set; }

        public string Name { get; set; }

        public string Code { get; set; }

        public string Description { get; set; }

        public string Group { get; set; }

        public IData Data { get; }
    }

public class Busbar : IData, 
    {
        public Voltage NominalVoltage { get; set; }
        public Voltage SwitchgearRatedVoltage { get; set; }
        public string SwitchgearType { get; set; }
        public Current RatedCurrent { get; set; }
    }

 

I'm afraid that there are some problems with nested objects binding, because whem I'm trying to bind flatten definition of these two types (Equipment and Busbar), there are no problems.

 

Thank you for your help!

Martin Ivanov
Telerik team
 answered on 08 Jul 2021
2 answers
1.5K+ views

I'm using a RadNavigationView in my application that has an existing theme applied - I want to keep this theme rather than use the Telerik themes.  I've been able to manually style most of the control to match the existing theme, with the exception of the mouse over and selected item color. No matter what I try, it is always the default orange color.

Is there any guidance about that shows an example of how to take a standard RadNavigationView, and adjust the highlight colors of the RadNavigationViewItem?

Thanks in advance!       

        

<telerik:RadNavigationView DockPanel.Dock="Bottom" ItemsSource="{Binding Items}" IsPaneOpen="True" SelectedItem="{Binding Item}" DisplayMemberPath="DisplayName" DisplayMode="Expanded" PaneToggleButtonVisibility="Visible" ExpandedPaneWidth="300" AllowMultipleExpandedItems="True" PaneBackground="{DynamicResource MahApps.HamburgerMenu.Pane.Background}" PaneHeaderBackground="{DynamicResource MahApps.HamburgerMenu.Pane.Background}" ><Style TargetType="telerik:RadNavigationViewItem" > <Setter Property="Background" Value="{DynamicResource MahApps.HamburgerMenu.Pane.Background}"/> <Setter Property="BorderThickness" Value="0" /> <Setter Property="Foreground" Value="{DynamicResource MahApps.HamburgerMenu.Pane.Foreground}" /> <Setter Property="FontSize" Value="16"/> <Setter Property="ItemsSource" Value="{Binding Items}" /> <Setter Property="DisplayMemberPath" Value="DisplayName" /> <Setter Property="Icon" Value="{Binding Icon, Mode=OneWay}" /> </Style>

<telerik:RadNavigationView.ContentTemplate>...

Martin Ivanov
Telerik team
 answered on 08 Jul 2021
1 answer
233 views

Hello.

I am using Telerik UI for WPF.

I want to know if there is way to show the sum of cumulative bar chart values on Chartview.

Such as like this. (Values in Green)

 

 

Thanks.

Martin Ivanov
Telerik team
 answered on 08 Jul 2021
1 answer
133 views

Hello.

I am using Telerik UI for WPF.

I want to know if there is Trellis function in Chartview.

Such as like this.

https://docs.tibco.com/pub/spotfire/6.5.1/doc/html/vis/vis_trellis_visualizations.htm

Thanks.

Martin Ivanov
Telerik team
 answered on 07 Jul 2021
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
FileDialogs
Book
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?