Telerik Forums
UI for WPF Forum
1 answer
228 views

Hi,

I need to find out if a selected range is a merged cell. For a merged Cell the Property IsSingleCell is false.

In my application scenario I need to know whether the FromIndex-cell is part of a merged cell. If it is part of a merged cell, then I need to know which cells belong to that range since I need to handle them if it was a single cell. If it's not merged than I have to handle it as a range.

 

There's some documentation about how to do it with RadSpreadProcessing, but unfortunately not in the RadSpreadSheet. Though there's stated that merging is supported.

 

Thanks,

Michael

Tanya
Telerik team
 answered on 26 Feb 2016
13 answers
236 views
Hi,

I have in my screen a RadGridView and a MaskedNumericInput, there is an option to add new rows in the grid, when i add a new row/change cell which is required, you cannot take the focuse out of the grid while there are validation errors, BUT - if there is a MaskedNumericInput which value is zero - when i try clicking it in the prevous situation, all UI freezes! 
please advise! it is URGENT!
I put bellow the code and xaml:




Thanks,
Rachel.
Petar Mladenov
Telerik team
 answered on 26 Feb 2016
1 answer
139 views
I know gridview can highlight the row by selection. Is that possible to highlight some rows based on some conditions(for example name==john will be hightlight) when create the data grid view and this will not related with the selection. How should I set this? Thanks very much for anyone can help
Dilyan Traykov
Telerik team
 answered on 26 Feb 2016
3 answers
77 views

Hello,

when using the Office2013 theme, the control looks the same, whether IsReadOnly is set to True or False...

Yana
Telerik team
 answered on 26 Feb 2016
3 answers
198 views
Hello Telerik team,

I am using a RadCartesianChart to display several series of data. These series are BarSeries created and added in code-behind, which have their ItemsSource set to a ChartDataSource. The ChartDataSources are created programmatically for each BarSeries. The ItemsSource of these ChartDataSources are set to Business objects.

My problem is now that the tooltip, which is defined in XAML, is no longer able to show information that was bound inside the ToolTipTemplate using <TextBlock Text={Binding DataItem.value} />. This was only possible when I assigned each BarSeries a Business object as ItemsSource, instead of using a ChartDataSource (which is necessary for sampling the data).

Can you give me the possibly super-easy solution? Is it only the Binding path that needs to be fixed?

Thanks,
Sven
Martin Ivanov
Telerik team
 answered on 26 Feb 2016
1 answer
183 views

Hello,

in the RibbonView_style.xaml source file, starting at line 5, there are the following trigger is defined:

<MultiDataTrigger>
    <MultiDataTrigger.Conditions>
        <Condition Binding="{Binding RelativeSource={RelativeSource AncestorType=telerikRibbonView:RadRibbonWindow}, Path=IsWindowsThemeEnabled}" Value="True" />
        <Condition Binding="{Binding RelativeSource={RelativeSource AncestorType=telerikRibbonView:RadRibbonWindow}, Path=IsTitleVisible}" Value="False" />
    </MultiDataTrigger.Conditions>
    <Setter Property="Foreground" Value="Black" />
</MultiDataTrigger>

 

If the RibbonView control is not inside a RadRibbonWindow, running the application in debug mode generates a binding error in the output window.

Worse, if the RadRibbonWindow is inside a window that inherits from RadRibbonWindow, it is also not found.

Conclusion: you had better setting this trigger by code, traversings the UI tree to look for the right control...

Milena
Telerik team
 answered on 26 Feb 2016
1 answer
364 views

I need to create radpane dynamically control this code except me and what I read does not support ItemSource property. As I can implemetar this solution using dynamic loaded radpane a collection of data.

<code>

 

<StackPanel Grid.Row="3" Grid.ColumnSpan="2" HorizontalAlignment="Center" Orientation="Horizontal">

            <Grid ScrollViewer.VerticalScrollBarVisibility="Auto">
                <StackPanel>
                    <Grid Name="gridMenu">
                        <Border Name="bordeMenu" />
                            <telerik:RadDocking x:Name="radDocking" ItemsSource="{Binding ElementoInvasivosVigentes}"  Width="355" Height="250" BorderBrush="White" BorderThickness="3" HorizontalAlignment="Left">
                                <telerik:RadSplitContainer  Orientation="Horizontal" InitialPosition="DockedLeft" Width="350" BorderBrush="Black" BorderThickness="2">
                                    <telerik:RadPaneGroup TabStripPlacement="Left" TabOrientation="Horizontal">
                                        <ItemsControl ItemsSource="{Binding ElementoInvasivosVigentes}" BorderBrush="LightGray" BorderThickness="2" Margin="5" Width="1180" Height="500">
                                            <ItemsControl.ItemTemplate>
                                                <DataTemplate>
                                                    <telerik:RadPane Header="EI" PaneHeaderVisibility="Collapsed">
                                                        <Grid>
                                                            <Grid.RowDefinitions>
                                                                <RowDefinition Height="50"/>
                                                                <RowDefinition Height="Auto" MinHeight="25"/>
                                                            </Grid.RowDefinitions>
                                                            <StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center" Margin="0 0 0 0" Height="50">
                                                                <CheckBox
                                                               Content="{Binding NombreInvasivo}"
                                                               HorizontalAlignment="Left"
                                                                    Width="300"
                                                               Margin="10,0,0,0"                                     
                                                               VerticalAlignment="Center"/>

                                                                <telerik:RadButton x:Name="PART_show_menu" Grid.Column="1" Click="showMenuFlotante_Click"  Margin="0 0 0 0" HorizontalAlignment="Right" Height="22"
           Tag="{Binding}">
                                                                    <telerik:RadButton.Style>
                                                                        <Style TargetType="telerik:RadButton">
                                                                            <Setter Property="ContentTemplate">
                                                                                <Setter.Value>
                                                                                    <DataTemplate>
                                                                                        <Path Margin="2,0" HorizontalAlignment="Center" VerticalAlignment="Center" Data="M0,0L5,0 5,1 4,1 4,2 3,2 3,3 2,3 2,2 1,2 1,1 0,1 0,0z"
                                                                                                    Fill="#FF282828" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.5" SnapsToDevicePixels="True" />
                                                                                    </DataTemplate>
                                                                                </Setter.Value>
                                                                            </Setter>
                                                                        </Style>
                                                                    </telerik:RadButton.Style>
                                                                    <telerik:RadContextMenu.ContextMenu>
                                                                        <telerik:RadContextMenu>
                                                                            <telerik:RadMenuItem CommandParameter="{Binding}" Header="Retirar Elemento Invasivo" />
                                                                            <telerik:RadMenuItem CommandParameter="{Binding}" Header="Editar Elemento Invasivo" />
                                                                            <telerik:RadMenuItem  CommandParameter="{Binding}" Header="Pasar a Error de registro" />
                                                                            <telerik:RadMenuItem  CommandParameter="{Binding}" Header="Trasladar con Elemento Invasivo" />
                                                                            <telerik:RadMenuItem  CommandParameter="{Binding}" Header="Imprimir etiqueta" />
                                                                            <!--<telerik:RadMenuItem Command="{Binding Data.PlantillasCommand, Source={StaticResource proxy}}" CommandParameter="{Binding}" Header="Plantillas" />-->
                                                                        </telerik:RadContextMenu>
                                                                    </telerik:RadContextMenu.ContextMenu>
                                                                </telerik:RadButton>
                                                            </StackPanel >
                                                            <Border Grid.Row="1" BorderBrush="Black" BorderThickness="2" Margin="10" >
                                                                <Grid>
                                                                    <Grid.RowDefinitions>
                                                                        <RowDefinition Height="Auto" MinHeight="25"/>
                                                                        <RowDefinition Height="Auto" MinHeight="25"/>
                                                                        <RowDefinition Height="Auto" MinHeight="25"/>
                                                                        <RowDefinition Height="Auto" MinHeight="25"/>
                                                                        <RowDefinition Height="Auto" MinHeight="25"/>
                                                                        <RowDefinition Height="Auto" MinHeight="25"/>
                                                                    </Grid.RowDefinitions>
                                                                    <StackPanel Grid.Row="0" Orientation="Horizontal" Background="Gray">
                                                                        <TextBlock Text="Fecha Instalación:" VerticalAlignment="Center" Margin="5 0 0 0" />
                                                                        <TextBlock Text="{Binding FechaInstalacion}" VerticalAlignment="Center" Margin="25 0 0 0" />
                                                                    </StackPanel>

                                                                    <StackPanel Grid.Row="1" Orientation="Horizontal" Background="LightGray">
                                                                        <TextBlock Text="Sitio de Acceso:" VerticalAlignment="Center" Margin="5 0 0 0" />
                                                                        <TextBlock Text="{Binding SitioDeAcceso}" VerticalAlignment="Center" Margin="25 0 0 0" />
                                                                    </StackPanel>

                                                                    <StackPanel Grid.Row="2" Orientation="Horizontal" >
                                                                        <TextBlock Text="Unidad de Instalación:" VerticalAlignment="Center" Margin="5 0 0 0" />
                                                                        <TextBlock Text="{Binding UnidadDeInstalacion}" VerticalAlignment="Center" Margin="25 0 0 0" />
                                                                    </StackPanel>

                                                                    <StackPanel Grid.Row="3" Orientation="Horizontal" Background="LightGray" >
                                                                        <TextBlock Text="Nro días:" VerticalAlignment="Center" Margin="5 0 0 0" />
                                                                        <TextBlock Text="{Binding NroDias}" VerticalAlignment="Center" Margin="25 0 0 0" />
                                                                    </StackPanel>

                                                                    <StackPanel Grid.Row="4" Orientation="Horizontal">
                                                                        <TextBlock Text="Vinculación con I. Médica" VerticalAlignment="Center" Margin="5 0 0 0" />
                                                                        <TextBlock Text="{Binding VinculacionMedica}" VerticalAlignment="Center" Margin="25 0 0 0" />
                                                                    </StackPanel>

                                                                    <StackPanel Grid.Row="5" Orientation="Horizontal" Background="LightGray">
                                                                        <TextBlock Text="Notas" VerticalAlignment="Center" Margin="5 0 0 0" />
                                                                        <TextBlock Text="{Binding Nota}" VerticalAlignment="Center" Margin="25 0 0 0" />
                                                                    </StackPanel>
                                                                </Grid>
                                                            </Border>
                                                        </Grid>
                                                    </telerik:RadPane>
                                                </DataTemplate>
                                            </ItemsControl.ItemTemplate>
                                        </ItemsControl>
                                    </telerik:RadPaneGroup>
                                </telerik:RadSplitContainer>
                            </telerik:RadDocking>
                    </Grid>
                </StackPanel>
            </Grid>
        </StackPanel>

 

</code>

Yana
Telerik team
 answered on 26 Feb 2016
1 answer
169 views

Hi Team,

I need to automate a Desktop application developed on C++. Is it possible to automate the application using Telerik Test Studio.

--

Thanks,

Siva.

Boyan Boev
Telerik team
 answered on 26 Feb 2016
1 answer
95 views

Hello! I've been trying to highlight some rows in my grid that that indicates the start of a group of elements.
Problem is, when i use the RowLoaded event, it works right, changing the row i need but also changing other rows of the grid, that doesn't match the condition.

I want to change the background color in the rows where a string property is null or empty.

Is there any better way to approach it?

private void GridPer_RowLoaded(object sender, RowLoadedEventArgs e)
        {
            if (e.DataElement != null && string.IsNullOrEmpty(((e.DataElement as ClassifPeriods).Classificacao.CodMae)))
                e.Row.Background = (SolidColorBrush)(new BrushConverter().ConvertFrom("#CC0000"));
        }

Yoan
Telerik team
 answered on 26 Feb 2016
1 answer
533 views
The "Clear Formatting" button in the RichTextBox editor menu is not removing things like the strike-through style, or margin properties from text pasted in from Microsoft Word.  Is there a simple way to have it do that?  I noticed that the "Reset All" button in the Paragraph dialog does clear the formatting better.  Is there a way to trigger the "Reset All" option when the "Clear Formatting" button is clicked?  Thanks, Jim
Svetoslav
Telerik team
 answered on 25 Feb 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
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?