Telerik Forums
UI for WPF Forum
3 answers
263 views
Does RadRichTextBox supports or provides print preview?
Tanya
Telerik team
 answered on 17 May 2019
1 answer
166 views

Hi,

I am using the Telerik KeyTipService for putting up AccessTexts on RadRibbonButtons. The Access Text positions are getting overlapped for some of the RabRibbonButtons.

Please have a look at the attachments.

In the attachment("AccessTextsOverlap.png"), The AccessText for "ZoomOut" is getting hidden under the Access Text for "Pan".

The code snippet is given in the attachment("Code.PNG").

Is there a way to control the position or placement of the access texts?  

Dinko | Tech Support Engineer
Telerik team
 answered on 16 May 2019
5 answers
762 views

I have  this user control view.

 

<UserControl x:Class="TelerikWpfApp1.Views.MainMenuUserControlPanelBarStyle"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:TelerikWpfApp1.Views"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
             mc:Ignorable="d" 
             d:DesignHeight="500" d:DesignWidth="250">
    <UserControl.DataContext>
        <Binding Mode="OneWay" Path="MainMenuUserContentPanelBarStyle" Source="{StaticResource Locator}"/>
    </UserControl.DataContext>
    <UserControl.Resources>
        <HierarchicalDataTemplate x:Key="Entity" ItemsSource="{Binding Randuri}">
            <StackPanel Orientation="Horizontal">
                <Label x:Name="btn" Content="{Binding Titlu}" 
                           Margin="0,0,0,0"
                           />
            </StackPanel>
        </HierarchicalDataTemplate>
    </UserControl.Resources>

    
    <Grid>
                             <!--ItemDoubleClick  ="{Binding PanelBarItemDoubleClick}"-->

        <telerik:RadPanelBar x:Name="radPanelBar"
                             Margin="0,0" 
                             ExpandMode="Multiple" 
                             ItemsSource="{Binding UserMeniu}"
                             ItemTemplate="{StaticResource Entity}"  
                             SelectedItem="{Binding PanelBarSelectedItem, Mode=TwoWay}"
                             
                             >
        </telerik:RadPanelBar>

    </Grid>
    
</UserControl>

 

And the code for ItemDoubleClick ...:

        private void PanelBarItemDoubleClick(object sender,  Telerik.Windows.RadRoutedEventArgs e) {
            MessageBox.Show("It's working...");
        }

When I run the project I get the error message "Unable to cast object of type 'System.Reflection.RuntimeEventInfo' to type 'System.Reflection.MethodInfo'."

What can I do ?

Thanks.

 

Vladimir Stoyanov
Telerik team
 answered on 15 May 2019
1 answer
190 views

Hi Telerik, 

 

We are having some difficulty using a RadVerticalLinearGuage. Within a VerticalLinearScale, we are binding the Min and Max properties to ViewModel properties called UpperBound and LowerBound. Most of the time, when these values are updated in the viewmodel, the Marker we are using to position at a "current value" gets drawn in our UI correctly. Occasionally, however, these appear to not be updated, and the chart marker that points to the current value of the series ends up flying way outside the range. Is Telerik aware of any silent errors or race conditions associated with updating of the min and max range of our chart. I am wondering if there is a requirement to update the range before the property that is bound to the Value of the Marker. Your help is much appreciated. 

Vladimir Stoyanov
Telerik team
 answered on 15 May 2019
1 answer
186 views

Hello,

I'm using a RadChartView, with a spline series. I can get the index of the datapoint I'm interested in and I can set the point's IsSelected to True. I then expect that point will then scroll into view, if not already, but it doesn't. What am I missing? Is there another way to do it?

Thanks.

Alan

Dinko | Tech Support Engineer
Telerik team
 answered on 15 May 2019
1 answer
97 views

I want to set BackgroundColor of  all cells in the GridView dependent not on the propery of the RowItem but on the property bound to whole GridView.

The Bound Property is Called but nothing is changed. What is the easiest way to do it?

 

                <telerik:RadGridView.Style>
                  <Style TargetType="telerik:RadGridView">
                    <Style.Triggers>
                      <DataTrigger Binding="{Binding IsAuthenticated}" Value="True">
                        <Setter Property="Background" Value="{StaticResource W Grey}"/>
                      </DataTrigger>
                      <DataTrigger Binding="{Binding IsAuthenticated}" Value="False">
                        <Setter Property="Background" Value="{x:Null}"/>
                      </DataTrigger>
                    </Style.Triggers>
                  </Style>
                </telerik:RadGridView.Style>

 

Is it something bad here?

 

Dinko | Tech Support Engineer
Telerik team
 answered on 15 May 2019
2 answers
3.5K+ views

Hello,

The code in the attached image is used to display a table.

I want to add a new column in which each row has a button. 

Upon click, the handler will "know" the line and act accordingly.

Is it possible ?

Thank you,

Z.V

 

gaurav
Top achievements
Rank 1
 answered on 15 May 2019
5 answers
235 views
We are loading data dynamically from a System.DataTable with typed columns.  DateTime columns types do not have the common operators like:
Is less than, Is less than or equal to, ... and so on..., that are usually found on numeric style columns types.  Only operators available are: Is equal to and Is not equal to.

String data does contain what we expect: Is equal to, Is not equal to, Starts with. .. and so on...
and the numeric values have the other operators: Is less than,  Is less than or equal to, ... and so on...

The version of the Telerik.Windows.Controls dll is 2011.2.920.35.  Would the Q3 version have these operators?  Or can we use the new Q3 FilterOperatorsLoading event handler to add them?
Dilyan Traykov
Telerik team
 answered on 14 May 2019
0 answers
244 views
Here our radgridview we have added few validations to the properties of the view model.in one particular scenario even though the errors are cleared by the user theUI still displays the invalid edit template. Upon looking further we found that the GridViewRow.isValid  property is not being updated only in this scenario.Which was resulting in indicating the row still to be invalid.

Can you please help me with this. 
Harish
Top achievements
Rank 1
 asked on 13 May 2019
8 answers
252 views

Hello,

I am writing a desktop application using WPF and RadGridView. I need to be able to operate 100% of the application without a mouse (keyboard navigation to every aspect of the application).

 

Is it possible to access column headers via keyboard navigation? If so, how do you do it?

 

Thanks.

Vladimir Stoyanov
Telerik team
 answered on 13 May 2019
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?