Telerik Forums
UI for WPF Forum
3 answers
190 views

Hi Team,

We are developed WPF application and used the telerik Rad PivotGrid to display and formats based on the needs. We have one issue upon groping the data on string columns. Our issue is if we group the data on string columns, it is considering the small letters and capital letters are treating it as different due to that values are totaling inaccurately. 

Following is the way we implemented to bind the data to grid.

1) We will prepare the query to fetch the data from DB based on the criteria selected by the user.

2) Data will be saved in VB.Net data table, from their we will bind it to pivot grid to do format the data as per customer needs.

3) In this case if we group the data on string columns, gird shows multiple rows based on data.

4) Suppose if we have column state, if it contains value as "CT" in one row and in another row if value is "ct", and if we group on state column. Grid shows two rows instead of one row.

5) We don't want to consider the casing(i.e case sensitive) of data in grid, please suggest us to implement the changes in application.

Thanks

Chakradhar

Martin Ivanov
Telerik team
 answered on 17 May 2019
1 answer
257 views
     I have a timeline showing events at a millisecond granularity.  I have min zoom set to 1 seconda and max set to 30 seconds. I am able to use the scroll wheel to zoom in on this graph, but the zoom is very very slow.  Is there a way to set the speed of the zoom?  For instance i would like to be able to get from the min zoom to the max zoom or vice versa in ~20 mouse wheel clicks (right now the zoom is so slow it would probably take 1000).
Martin Ivanov
Telerik team
 answered on 17 May 2019
3 answers
252 views
Does RadRichTextBox supports or provides print preview?
Tanya
Telerik team
 answered on 17 May 2019
1 answer
153 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
732 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
172 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
168 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
85 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.4K+ 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
215 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
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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?