Telerik Forums
UI for WPF Forum
4 answers
467 views

Hello Telerik,

We came across a scenario which we need to add a tooltip containing a UserControl to a tooltip of a grid's cell.

Can you please point me to the right direction?

 

Thank you

Martin
Telerik team
 answered on 02 Dec 2016
5 answers
123 views
Hi there,

I'm having trouble moving with direction key in edit mode.
On the spread sheet, I can't move to another cell without two times of esc key event.
Is there any method to move out of a cell with only direction key event?
please reply it.
Martin Ivanov
Telerik team
 answered on 02 Dec 2016
2 answers
251 views

I always see CategoricalAxis being used on the X-Axis, however, I would like to plot multiple series based on Categories on the Y-Axis and have DateTime on the X-Axis.

How would I go about plotting:

var points = new ObservaleCollection<MyPoint>()

{

  (new MyPoint(){ Category = "ID1", Time = now }),

  (new MyPoint(){ Category = "ID2", Time = now }),

  (new MyPoint(){ Category = "ID3", Time = now + 1 }),

  (new MyPoint(){ Category = "ID1", Time = now + 1 }),

  (new MyPoint(){ Category = "ID2", Time = now + 2 }),

  etc, etc

};

 

I attached an image that shows what I'm trying to accomplish.

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Dec 2016
2 answers
145 views

Hi,

I have a gridview that I have marked as readonly because I *only* want the user to be able to edit/add data via my rowdetails editor. According to the doc if I have the gridview marked as readonly they can't add a new row. I'm stuck. I need a way to add a row and have the user enter the new info via the rowdetails datattemplated editor. Any ideas?

 

Thanks ... Ed

 

Randy Hompesch
Top achievements
Rank 1
 answered on 01 Dec 2016
1 answer
197 views

I am trying to use a Labeltemplate on a DateTimeContinuousAxis but the texts are not located correctly on the axis. I am using the following WPF:

<telerik:RadCartesianChart.HorizontalAxis>
    <telerik:DateTimeContinuousAxis MajorStep="{Binding CategoryAxisMajorStep}"
                                    MajorStepUnit="{Binding CategoryAxisMajorStepUnit}"
                                    LabelFitMode="Rotate">
        <telerik:DateTimeContinuousAxis.LabelTemplate>
            <DataTemplate>
                <TextBlock>
                    <TextBlock.Text>
                        <MultiBinding Converter="{StaticResource DateTimeToStringTelerikChartMultiConverter}">
                            <Binding/>
                            <Binding Path="DataContext.DateTimeFormat"
                                RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}"/>
                        </MultiBinding>
                    </TextBlock.Text>
                </TextBlock>
            </DataTemplate>
        </telerik:DateTimeContinuousAxis.LabelTemplate>
    </telerik:DateTimeContinuousAxis>
</telerik:RadCartesianChart.HorizontalAxis>

The chart looks as the attached file.

Can you help me to correctly display the labels.

 

 

Martin Ivanov
Telerik team
 answered on 01 Dec 2016
3 answers
136 views

Hello,

each time I click a link on the offline documentation, there is an error message that says:

 

This page can’t be displayed
Make sure the web address //ieframe.dll/dnserrordiagoff.htm# is correct.
Look for the page with your search engine.
Refresh the page in a few minutes.

Patrick
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 01 Dec 2016
1 answer
217 views
I am using RadGridViewCommands.TogglePinnedRowState to "toggle" the pinned value of a GridView row.  However,there are case where I don't know the initial state of the row, so I don't know whether it needs to be "toggled" to pin it or whether it is already pinned (in which case toggling would have the opposite effect of what I want).  How can I retrieve the "pinned" state of a row?
Dilyan Traykov
Telerik team
 answered on 01 Dec 2016
2 answers
368 views

Hello,

In my project,the font of shape shown wrong in windows7,but in windows10,it shown right.

So I want to change the FontFamily list of the setting pane,how can I do it?

 

Wang
Top achievements
Rank 1
 answered on 01 Dec 2016
2 answers
333 views

I am trying to show a ToolTipTemplate for LineSeries but don't get it to work.

If I try with Bar series instead it works just fine.

Code in xaml.cs file

        private CartesianSeries CreateLineSeries(List<GraphPointDto> items, Brush brush)
        {
            var series = new LineSeries()
            {
                ItemsSource = items,
                Stroke = brush,
                ValueBinding = new PropertyNameDataPointBinding("Value"),
                CategoryBinding = new PropertyNameDataPointBinding("DateTime"),
                TooltipTemplate = this.Resources["MyToolTipTemplate"] as DataTemplate,
            };
            return series;
        }

 

 

 

Code in xaml

 

Magnus
Top achievements
Rank 1
 answered on 01 Dec 2016
1 answer
175 views

Hi,
below is a stripped down version of my rowdetail editor using a raddataform with a rowdetails template.
I tried adding CommandButtonsVisibility="All" but it did nothing. I want to show add, delete, edit etc. I'm only getting the edit button.

Some more issues.

1. The OK and Cancel Buttons are not picking up the global button style I have set in app.xaml.

2. Is it possible to have the OK button fire the RowEditEnded event?

3. The cancel button does not cancel the changes made in the dataform. Changes made to the form are immediately reflected in the
     RadGridView. I would have expected the cancel button to set things back to their original values. Am I missing something?

4. How do I get the radform to default to edit mode so that the user does not have to hit the edit button in the upper right corner first?

I've attached a screen shot.

Any help would be GREATLY appreciated.

Thanks ... Ed

 


<Grid.Resources>
    <DataTemplate x:Key="RowDetailsTemplate">
        <telerik:RadTabControl x:Name="SamplesTab"   HorizontalAlignment="Left"
                                    Margin="8" VerticalAlignment="Center">
            <telerik:RadTabItem Header="Sample Details" DataContext="{Binding}">

                <Grid Width="Auto" HorizontalAlignment="Stretch">
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="auto" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>

                    <telerik:DataFormDataField    Grid.Row="0" Grid.Column="0"
                                                    Label="Client Sample Id:"
                                                    DataMemberBinding="{Binding Sample.ClientSampleID, Mode=TwoWay }"
                                                    VerticalAlignment="Top"  />

                    <telerik:DataFormComboBoxField Grid.Row="1" Grid.Column="0" Label="Priority:"
                                                    ItemsSource="{Binding RelativeSource={RelativeSource FindAncestor,
                                                            AncestorType={x:Type UserControl} },
                                                            Path=DataContext.Priorities}"
                                                    DisplayMemberPath="Value"
                                                    SelectedValuePath="Key"
                                                    DataMemberBinding="{Binding Sample.PriorityID, Mode=TwoWay }">

                    </telerik:DataFormComboBoxField>
                </Grid>
            </telerik:RadTabItem>
        </telerik:RadTabControl>

    </DataTemplate>
</Grid.Resources>



<telerik:RadGridView.RowDetailsTemplate>
    <DataTemplate>

        <telerik:RadDataForm CurrentItem="{Binding}" AutoGenerateFields="False"
            EditTemplate="{StaticResource RowDetailsTemplate}"
            NewItemTemplate="{StaticResource RowDetailsTemplate}"
            ReadOnlyTemplate="{StaticResource RowDetailsTemplate}"
                />
    </DataTemplate>
</telerik:RadGridView.RowDetailsTemplate>

 

Dilyan Traykov
Telerik team
 answered on 30 Nov 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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?