Telerik Forums
UI for WPF Forum
3 answers
168 views

Hello,

Tested with the Office 2013 theme.

I have a RadMap control with WrapAround set to True. If I set pin points using the information layer, they are displayed only on the center map: If I move the map to the left or right (full earth view), the pin points are not displayed on the "new" displayed part.

Regards

Vladimir Stoyanov
Telerik team
 answered on 20 Mar 2018
4 answers
490 views

I have an application that is using the Office2013 Implicit theme. 

I need to highlight specific cells in a RadGridView (by changing the background color) and have done so using a custom Style Selector.

The issue is that when the custom GridViewCell style is applied, it does not inherit the Office2013 theme.

 

// CellStyle

<Style x:Key="WarningCellStyle" TargetType="telerik:GridViewCell" BasedOn="{StaticResource GridViewCellStyle}">
    <Style.Setters>
        <Setter Property="Background" Value="LemonChiffon"/>
        <Setter Property="Foreground" Value="Black"/>
    </Style.Setters>
</Style>

 

Am I targetting the right resources? (TargetType, BasedOn)

Any ideas/suggestions on how to do this otherwise?

Happy to provide more code or screenshots if needed.

 

 

Johnny Chung
Top achievements
Rank 1
 answered on 19 Mar 2018
1 answer
218 views

Can you see any reason why the headers on my RadTabControl show in design view but when I run the app they do not show?  I attached a screenshot to show what it looks like.

<Grid Background="LightGray">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="10"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="10"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="1" Grid.Column="1">
            <telerik:RadTabControl Height="400" >
                <telerik:RadTabControl.Items>
                    <telerik:RadTabItem Header="Generate Scripts" Foreground="white">
                        <telerik:RadTabItem.Content>
                            <Border Background="Bisque">
                                <TextBlock Text="The content of tab item 1" FontWeight="Bold" VerticalAlignment="Center" TextAlignment="Center" Foreground="Black"/>
                            </Border>
                        </telerik:RadTabItem.Content>
                    </telerik:RadTabItem>
                   
                    <telerik:RadTabItem Header="Admin" Foreground="white"/>
                    <telerik:RadTabItem Header="Users" Foreground="white"/>
                    <telerik:RadTabItem Header="Program / Hulls" Foreground="white"/>
                </telerik:RadTabControl.Items>
            </telerik:RadTabControl>        
        </StackPanel>
    </Grid>

Sia
Telerik team
 answered on 19 Mar 2018
1 answer
111 views

Hello,

New to the forums so sorry if this is in the wrong spot.

I'm finding that the WPF control "FileBrowserEditTextBox" causes Visual Studio to crash. Reproduction steps are as follows:

  1. Create a C# WPF Application
  2. Add the control to the form
  3. Build solution

Once the solution is done building, the instance of Visual Studio crashes. Starting debugging, instead of building the solution directly, bypasses the problem, but doing a rebuild solution after debugging has stopped causes the crash. Present in Visual Studio 15.6.0 and 15.6.2 with Telerik UI for WPF version 18.1.220.0.

Nick

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Mar 2018
1 answer
198 views

I am enabling mulitpleselection of combobox and using Text field to bind a string value. After I use the multipleSelectionSeparator = "|", there is the null reference exception thrown. The binding field "BindText" has been initialized to empty string. There is no issue if I do not use multipleSelectionSeparator., so I am really confused why null reference is thrown and stack trace image is attached.

<telerik:RadComboBox x:Name="RadComboBox"                             

 IsReadOnly="False"                             

 IsEditable="False"                              

Text="{Binding BindText, Mode=OneWayToSource}"                             

 AllowMultipleSelection="True"                        

ItemsSource="{Binding BindTexts}"                             

 IsEnabled="{Binding IsEnabled}"                                

MultipleSelectionSeparator=";"         

/>

Martin Ivanov
Telerik team
 answered on 19 Mar 2018
1 answer
87 views

Hi,

 

We are trying to create a chart that looks the one shown in the attachment. Of note is the need to have different widths and colors for each bar as well as no gaps between them. Also, the ability to overlay the chart with the dotted lines is essential. We have found a few old forum threads saying that variable bar widths is not supported. Is this still the case?

Martin Ivanov
Telerik team
 answered on 19 Mar 2018
3 answers
107 views

So I dug up and old project that I need to modify however I cannot get it to compile as I appear to be missing references. Both RadRadialMenu and RadRibbonWindow (plus child items such as RadRadialMenuItem) are missing from assemblies. I have the latest WPF components installed. How do I fix this?

 

 

Martin Ivanov
Telerik team
 answered on 19 Mar 2018
2 answers
155 views

Our app doesn't start from a C# application but rather for a C++ app, which means all our WPF code runs from dlls.

That means we can't have an App.xaml file so all the resource dictionaries are declared wherever they're needed.

 

When floating a pane, it crates a ToolWindow but the styling is never applied to it, probably because there's no App.xaml.

How can we apply the styling?

Or
Top achievements
Rank 1
 answered on 18 Mar 2018
1 answer
94 views
Can anyone give me some advice on which Telerik WPF control(s) might be best to implement an interface like this screenshot.    There is a treeview on the left that expands a hierarchy of elements.   Each element has several properties that need to be displayed as columns, and then a schedule of dollar amounts that need to be displayed in a multi-level schedule format.   Thanks in advance for any assistance with this.
Ivan Ivanov
Telerik team
 answered on 16 Mar 2018
3 answers
276 views

I have a RadAutoCompleteBox:

 

<telerik:RadAutoCompleteBox x:Name="CustomerAutoCompleteBox" Grid.Row="10" Grid.Column="1" Margin="3"
    IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
    ItemsSource="{Binding Occurrence.Appointment.AllCustomerResourceTypesForDialog, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
    SearchText="{Binding Occurrence.Appointment.AllCustomerResourceTypesSearchText, BindsDirectlyToSource=True, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
    SelectedItem="{Binding Occurrence.Appointment.Customer, ValidatesOnDataErrors=True, NotifyOnValidationError=True, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
    IsDropDownOpen="{Binding Occurrence.Appointment.IsCustomerDropDownOpen, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
    SelectionMode="Single"
    DisplayMemberPath="DisplayName"
    TextSearchPath="DisplayName"
    MinWidth="218" >
</telerik:RadAutoCompleteBox>

 

The Appointment which is Bound is Created and filled with data like this:

var telerikAppointment = new ExtendedAppointment();
var customerResource = new Resource
                {
                    DisplayName = ((ModelsPath.Customer)appointment.Models[0]).KUNAM1.Trim(),
                    ResourceName = ((ModelsPath.Customer)appointment.Models[0]).CustomerId.ToString().Trim(),
                    ResourceType = Application.Current.FindResource("ResourceName.Customer") as string
                };
 
 
                telerikAppointment.AllCustomerResourceTypesForDialog.Clear();
                telerikAppointment.AllCustomerResourceTypesForDialog.Add(customerResource);
                telerikAppointment.Customer = customerResource;

 

Not my problem is, that the AllCustomerResourceTypesSearchText Property is not Updated when i start the AutoCompleteBox with a CustomerResource in it. When i tyoe some Text in it now to Search for another one the AllCustomerResourceTypesSearchText is not updaten and then my application is not searching for more Customers in the Database.

 

It Works fine if i start the RadBox without a pre selected Customer and AllCustomerResourceTypesForDialog and then try to search

 

Customer is a Resource and AllCustomerResourceTypesForDialog is a ObservableCollection<Resource>

 

I dont know how to fix this Problem so the bound AllCustomerResourceTypesSearchText Property is always updated.

 

 

Vladimir Stoyanov
Telerik team
 answered on 16 Mar 2018
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?