Telerik Forums
UI for WPF Forum
1 answer
100 views

Hello Team,

I have updated the latest Telerik Version(2016 Q3) and after update I am seeing "True" value instead of "And/Or" in the Filter. Please look at the Screenshot for more information. 

Stefan Nenchev
Telerik team
 answered on 17 Oct 2016
4 answers
171 views
Hi,
if I place a Docking control in another Docking control i recive (only at runtime) this error:
"Placing Docking control in another Docking control is not supported in the current version. You can disable this error by setting the AllowUnsafeMode property of the inner RadDocking control."

When are you planning to implement and release this feature?

Thanks.
Nasko
Telerik team
 answered on 17 Oct 2016
4 answers
232 views
The problem that we're having is that we have context menus for individual tree items and a context menu for the tree itself.

A right-click on the empty highlighted area next to a selected item in the tree brings up the tree view context menu instead of the item context menu, which is a bit confusing to the user.

We'd prefer to be able to have the selection highlight only cover the actual item contents, not the empty space to the right of the item.

Jason D
Top achievements
Rank 1
Veteran
 answered on 14 Oct 2016
5 answers
110 views

Hi,

I added a GridColumn in binding with byte property, when I try to filter with value greater thant 255 I receive an exception.

Thi is my grid, my column "Ultima Revisione" is a byte,

When I try to filter (for example "106", see attached screenshot), it's all ok, but if I add "8", I receive an overflow exception, because byte can't compare with a value 1068.

I thought the filter handles all types of primitive variables....

How can I resolve this issue? (Do not tell me to do a string variable alternative ...)

<telerik:RadGridView x:Name="radGridView"  Style="{StaticResource ListStyle}"
                     ItemsSource="{Binding Items}" MouseDoubleClick="RadGridViewMouseDoubleClick"
                     SelectedItem="{Binding SelectedItem,Mode=TwoWay}"
                     IsLocalizationLanguageRespected="False">
<telerik:RadGridView.Columns>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Codice}" Header="Codice"/>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Descrizione}" Header="Descrizione"/>
    <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding Ricambio}" Header="Ricambio"/>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding CodiceValuta}" Header="Valuta"/>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding UltimaRevisione}" Header="Ultima Revisione"/>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding UltimaRevisioneReference.InizioValidità, StringFormat=\{0:d\}}" Header="Inizio Validità"/>
</telerik:RadGridView.Columns>

Dilyan Traykov
Telerik team
 answered on 14 Oct 2016
4 answers
161 views

Hi 

   I want ComboBoxes with CheckBoxes. I have use the code in this Post. I am able to get the combobox Items with Checkboxes.But If I Check multiple Items,it is not reflecting in the ComboBox. I  think  I am doing wrong binding in the SelectionDataBoxTemplate.Could you please help me to resolve this.

<DataTemplate x:Key="SelectionBoxTemplate">
          <TextBlock Text="{Binding UserCtrlSelectedValue, RelativeSource={RelativeSource AncestorType=local:ComboBoxEditor}}"   Loaded="ControlCombo_Loaded"/>
      </DataTemplate>
 
<Grid>
      <telerik:RadComboBox  Name="ControlCombo" ItemsSource="{Binding ItemsSource, RelativeSource={RelativeSource AncestorType=local:ComboBoxEditor}}"  ItemTemplateSelector="{StaticResource dataTemplateSelector}" SelectionBoxTemplate="{StaticResource SelectionBoxTemplate}" />      
  </Grid>

The code above shown is for datatemplate and RadCombobox in UserControl. In DataTemplate I am binding the Text Property of textblock with one of the dependencyProperty on the usercontrol and the datacontext of combobox is not the usercontrol another viewmodel. 

I have tried the code in this post also.

Regards,

Nagasree.

 

Stefan Nenchev
Telerik team
 answered on 14 Oct 2016
1 answer
47 views

Hi everyone , I'm novice using Telerik so I wanted to ask what Telerik Controls (for WPF purposes) do I need to use to export database (MYSQL) information (or simple text) to Excel format and what Exactly do I need to use or do in order PRE format the excel cells? For example , how to make my exported excel files have a pre defined background color , foreground color , alternate cell background colors , fonts , font size , etc

Right now I have zero knowledge in this topic so if you can explain me what to do with detail I'd really grateful :-)

Tanya
Telerik team
 answered on 14 Oct 2016
1 answer
158 views

How can I custom the theme of RadSchudeView like the way it is in RadScheduler as this page:

http://www.telerik.com/support/kb/wpf/scheduleview/details/creating-and-applying-a-custom-theme-for-radscheduler-for-wpf

Yana
Telerik team
 answered on 14 Oct 2016
2 answers
609 views

Hello Télérik,

 

I'm using a RadTreeView, and in my RadOutlookBarItem, when I added a StackPanel or a Grid, my Vertical and Horizontal ScrollBar are disabled. I can't use them, and the bottom of the Tree is going to infinity... (I can't see the last items)

 

Do you know where come from this problem ?

 

My code :

<telerik:RadSplitContainer InitialPosition="DockedLeft" x:Name="splitContainerMain">
                <telerik:RadPaneGroup x:Name="radPaneArbo">
                    <telerik:RadDocumentPane PaneHeaderVisibility="Visible" Header="Navigateur" IsEnabled="True" CanFloat="True" CanUserClose="False">
                        <telerik:RadOutlookBar x:Name="navigationBar">
                            <telerik:RadOutlookBarItem  x:Name="navigationStationVariables" Header="Stations et Variables">
                                <!--<StackPanel Orientation="Vertical">-->
                                    <!--<Grid VerticalAlignment="Top" Height="50px">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="*" />
                                            <ColumnDefinition Width="Auto" />
                                        </Grid.ColumnDefinitions>
                                        <telerik:RadAutoCompleteBox Name="autocomplete" ItemsSource="{Binding Stations}"
                                                                    TextSearchPath="Code" SelectionMode="Single" WatermarkContent="Entrée une variable de test.."
                                                                    DropDownItemTemplate="{StaticResource StationsSearchAutoComplete}" BorderBrush="#FF25A0DA" BorderThickness="1" Height="30"
                                                                    SelectionChanged="autocomplete_SelectionChanged"
                                                                    />
                                    </Grid>-->
                                    <!--<Grid VerticalAlignment="Top" Height="950px">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto" />
                                        </Grid.ColumnDefinitions>-->
                                        <telerik:RadTreeView
                                        Name="treeViewStationsVariables"
                                        ItemTemplateSelector="{StaticResource ArboStationFinalTemplateSelector}"
                                        BorderThickness="1" Background="White"  PreviewMouseRightButtonUp="treeViewStationsVariables_PreviewMouseRightButtonUp"
                                        ScrollViewer.VerticalScrollBarVisibility="Visible"  >
                                            <telerik:RadTreeView.ContextMenu>
                                                <ContextMenu x:Name="treeViewNavigateurVisualisation" Placement="Left">
                                                    <ContextMenu.PlacementTarget>
                                                        <UIElement />
                                                    </ContextMenu.PlacementTarget>
                                                    <MenuItem x:Name="treeViewMenuItemVisualiserAjouterGraphique" Header="Ajouter au Graphique" Click="treeViewMenuItemVisualiserAjouterGraphique_Click"/>
                                                    <MenuItem x:Name="treeViewMenuItemVisualiserNouveauGraphique" Header="Nouveau Graphique" Click="treeViewMenuItemVisualiserNouveauGraphique_Click"/>
                                                </ContextMenu>
                                            </telerik:RadTreeView.ContextMenu>
                                            <telerik:RadTreeView.Resources>
                                                <HierarchicalDataTemplate DataType="{x:Type business:Repertoire}" ItemTemplateSelector="{StaticResource ArboStationFinalTemplateSelector}">
                                                    <HierarchicalDataTemplate.ItemsSource>
                                                        <MultiBinding Converter="{StaticResource RepertoireStationConverter}">
                                                            <Binding Path="Stations" />
                                                            <Binding Path="SousRepertoires" />
                                                        </MultiBinding>
                                                    </HierarchicalDataTemplate.ItemsSource>
                                                    <StackPanel Orientation="Horizontal">
                                                        <Image Source="/SIGT.EVEm.Client;component/Images/Navigateur/folder.png"  Width="20" Height="20" />
                                                        <TextBlock Text="{Binding Path=Code}"/>
                                                    </StackPanel>
                                                </HierarchicalDataTemplate>
                                                <HierarchicalDataTemplate DataType="{x:Type business:Station}" ItemsSource="{Binding Variables}" ItemTemplateSelector="{StaticResource ArboVariableTemplateSelector}">
                                                    <TextBlock Text="{Binding Code}"/>
                                                </HierarchicalDataTemplate>
                                            </telerik:RadTreeView.Resources>
                                        </telerik:RadTreeView>
                                    <!--</Grid>-->
                                <!--</StackPanel>-->
                            </telerik:RadOutlookBarItem>
                        </telerik:RadOutlookBar>
                    </telerik:RadDocumentPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>

 

 

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 14 Oct 2016
5 answers
408 views

Hi,

I want to make a custom theme like the green theme with a dark and a light color variation but with different colors. For example RedTheme or BlueTheme.

What is the best way to achieve this?

 

Thanks

Martin
Telerik team
 answered on 14 Oct 2016
3 answers
187 views

I am using DataFilter and its source is Bind to the Grid, I don't want to use the unbound mode because then I will have to populate everything. I am using rest service to get all the data and I want to do the filtering also on the server side.

- User open the window

- I make a rest request to get the data and populate the grid

- User add a filter

- I am listening for the collection changed and item changed event

- I loop through all the filters and send a request to get the filtered data

The problem is that DataFilter also filters the grid on the client side, so If my rest request takes time the grid items source is updated twice, one from the data filter and another one when rest returns the data

Is there any preview event or any other way to tell datafilter ot not filter the grid

Martin
Telerik team
 answered on 14 Oct 2016
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
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?