Telerik Forums
UI for WPF Forum
1 answer
131 views
Hi Telerik Team,

I am using the RadRichTextBox in my WPF application. When I tried to enter text the text disappears, it shows the spell check error inside the editor in the place where the text disappeared. Please let me know if there is any fix available for this. We are currently using 2013.3.1127.40. 
Also find the screen shot describing this issue.

Please get back to me on this issue as soon as possible.

Thank you,
Praveena
Svetoslav
Telerik team
 answered on 29 Jan 2015
1 answer
125 views
Hi All

We needed a row number column in our radGridView hence we followed a suggestion wherein we create a custom column type like this --

Public Class RowNumberColumn
    Inherits Telerik.Windows.Controls.GridViewDataColumn

    Public Overrides Function CreateCellElement(ByVal cell As GridViewCell, ByVal dataItem As Object) As FrameworkElement
        MyBase.CreateCellElement(cell, dataItem)

        Dim col = cell.Column
        Dim textBlock1 As TextBlock = cell.Content

        If (textBlock1 Is Nothing) Then
            textBlock1 = New TextBlock()
        End If

        Dim t As IList = DataControl.ItemsSource
        textBlock1.Text = (t.IndexOf(dataItem) + 1).ToString()
 
       Return textBlock1
    End Function
End Class


And then use this new column as --

        <reservingUi:RowNumberColumn Header="#" IsFilterable="True" IsSortable="True"/>



Can you please advise on how to enable column filtering and sorting based on the value in the textBlock ?

Thanks !

​
Maya
Telerik team
 answered on 29 Jan 2015
6 answers
131 views
Hi there

After updating my RadGridView to the latest (for me available) Version 2013.1.403.45. The touch input behaves differently from previous versions (2012.XX)
When I open the RadGridView on touch devices, I always need to "DoubleTab" to select an Item. I have bound the grid to the SelectedItem property.
The first tab seems to focus the row, the second to select it. The same occurs when trying to sort on headers. The first tab does nothing, a double tab will sort.
This is kind of frustrating, because I use the Win8Touch Theme which implies the Control should work great on touch devices.

Is there a setting I'm missing out?

You may suggest to update to a newer version - we are thinking about it - but we first must be sure this is going to work.

Thank you Travis
Nick
Telerik team
 answered on 29 Jan 2015
1 answer
201 views
Hi,

I work in XAML and I have a RadGridView with a GridViewComboBoxColumn in it. If i change the item selected in the ComboBox, it display some informations and hide some others (depends on which item is selected).

This behaviour works, but the problem is, if i change the selected item in ComboBox, i have to click somewhere else or press tab before it raise an event. I tryed with almost all the event possibly raised by a RadGridView and the result's the same. How can i know the exact moment when the user clicks on an item in the ComboBox ?

I can provide the code if needed.

Thanks.
Robin.
                                           
Stefan
Telerik team
 answered on 29 Jan 2015
7 answers
460 views
I am using the latest version of RadCartesianChart.
In my application, the chart has a LinerAxis (AutoRange) as vertical axis and it works very well.

Now I am going to add annotation to the chart programmatically at the beginning. So an event handler was created to handle chart's Loaded event, and then the annotation accesses the ActualRange in the event handler by using the below code: 

var vAxis = (LinearAxis)chart.VerticalAxis;
annotation.VerticalValue = vAxis.ActualRange.Maximum;

But unfortunately in this scenario, it seems the ActualRange doesn't get initialized and returns zero as result.
Could you please show me which chart event needs to be hooked, in order to get the ActualRange? Many thanks.
Petar Marchev
Telerik team
 answered on 29 Jan 2015
9 answers
247 views
Hi,

in a medical context, I use a GridView to display on the first row the current exam data of the patient and on the others rows, the historicals exams data. When the user scroll through the historical, I need to have always the current exam visible on the first row. How it's possible???

Thank's
Alain
Maya
Telerik team
 answered on 29 Jan 2015
5 answers
658 views
  1. How can one disable the busyIndicator that pops up when a PDF is loading. 
  2. Also, how can one change the color of the canvas behind the PDF to black?  I used the following style setter from elsewhere on the forum but it only takes affect after the PDF is loaded.  Meanwhile the gray background is visible while the busy indicator spins.
  3. Finally I'd like to get rid of the margins around the sides of the page so the PDF is 100% full screen.

<Style TargetType="telerik_ui:FixedDocumentPagesPresenter">
    <Setter Property="Background" Value="Black" />
    <Setter Property="BorderBrush" Value="Black" />
    <Setter Property="BorderThickness" Value="0" />
    <Setter Property="Padding" Value="0" />
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="telerik_ui:FixedDocumentPagesPresenter">
                <Grid>
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <ContentPresenter Margin="{TemplateBinding Padding}" />
                    </Border>
                </Grid>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>
Todor
Telerik team
 answered on 29 Jan 2015
3 answers
333 views
Hello,
I created a word document with use of the Telerik Editor - example.( Telerik\UI for WPF Q3 2014\Binaries.NoXaml\WPF40)
It's a very simple document: one line 'Hello World' 
and a bullet list with some items in 3 levels.
When I validate this in the "OpenXML SDK 2.5  Productivity Tool for Microsoft Office" I got a lot of errors.
59 errors when validating with Office 2007 formats and 31 when validating with Office 2013 formats.

What's the reason of this?
And which version of OpenXml is Telerik using?
Todor
Telerik team
 answered on 29 Jan 2015
5 answers
488 views
So, i have radGridView with child 
  <telerik:RadGridView x:Name="radGridView" Grid.Row="5" Grid.ColumnSpan="2"  CanUserFreezeColumns="False" ItemsSource="{Binding ParentCollection}" IsFilteringAllowed="False" AutoGenerateColumns="False" ShowGroupPanel="False" IsReadOnly="True">
                <telerik:RadGridView.ChildTableDefinitions>
                    <telerik:GridViewTableDefinition/>
                </telerik:RadGridView.ChildTableDefinitions>
                <telerik:RadGridView.Columns>
                    <!--some columns -->
                </telerik:RadGridView.Columns>
                <telerik:RadGridView.HierarchyChildTemplate  >
                    <DataTemplate>
                        <telerik:RadGridView x:Name="nestedRadGridView" CanUserFreezeColumns="False" AutoGenerateColumns="False" ItemsSource="{Binding ChildCollection}" IsFilteringAllowed="False" ShowGroupPanel="False" IsReadOnly="True">
                            <telerik:RadGridView.Columns>
                     <!--some columns -->
                            </telerik:RadGridView.Columns>
                        </telerik:RadGridView>
                    </DataTemplate>
                </telerik:RadGridView.HierarchyChildTemplate>
            </telerik:RadGridView>

need to hide expander of parent grid in rows which have empty child collection. Where i can set style of this togglebutton, tried HierarchyExpandButtonStyle but seems like my style is not applied.
Boris
Telerik team
 answered on 29 Jan 2015
1 answer
175 views
Is it possible to zoom the RadMap control so it shows a rectangular area that the user has selected by drawing a rectangle over it?

That is, the user:

1. Pushes the left mouse button down, but does not lift it up, at one corner of the area which they wish to zoom.
2. Drags the mouse to the opposite corner.  A drag rectangle is drawn showing the area that will be displayed when they release the mouse button.
3. Releases the left mouse button when they have selected the area they are interested in viewing.

At that point, the map is centered on the point in the middle of the rectangle they drew and the zoom level is changed to include the area they selected.

If the control itself doesn't have this functionality, can it be implemented using custom code?
Tony
Top achievements
Rank 1
 answered on 28 Jan 2015
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?