Telerik Forums
UI for WPF Forum
3 answers
206 views

I am facing point adsorption issues on RadCartesianChart.

When moving the mouse in chart, there is a line adsorption with the related data. But as in customer data, there are many very similiar data in one abscissa, so I want to change the line adsorption to point adsorption when mouse is moved on it, and at the same time, the point style can be changed, for example, change color and enlarge. 

Please see the png and suggest me some ideas to rectify this problem. Thanks!

Martin Ivanov
Telerik team
 answered on 06 Sep 2017
2 answers
120 views

Hi ,

 

I have enclosed multiple textboxes and drop down controls inside RadExpander control. Some of the controls have Required filed attached.

I have RadExpander collapsed by default. When i expand RadExpander ,Validation errors for these controls are not getting displayed.

But once i expand the RadExpander control and go to a different tab and come back i see the validation errors. I tried to call a command explicitly on expanding the RadExpander control , validations are firing but messages are displayed against the controls. 

 

Let me know if any faced this kind of issue and solution for this.

 

Regards,

Prasad.

Prasad
Top achievements
Rank 1
 answered on 05 Sep 2017
1 answer
83 views

Dear Telerik Admin Team

I would like to style  RibbonView with Blend for VS 2013.

I create new window application project and add a RibbonView, but once I tried to edit template, I found that edit copy command was not enabled. 

So is there any other way to edit copy template for RibbonView?

Vladimir Stoyanov
Telerik team
 answered on 05 Sep 2017
0 answers
66 views

Hello,

Upon application launch I want to display all my RadPaneGroup like in the attached figure. 

Each group contains only one RadPane. 

I want that each RadPane will have Height\Width according to the user control it is holding. 

Is it possible ?

Thank you,

Zvika 

Zvi
Top achievements
Rank 1
 asked on 04 Sep 2017
4 answers
241 views

Hi,

I have a problem to define an animated texture to my RadDiagramConnection. If i define the texture inside style on my window, that's work but if i define texture in Resources, texture doesn't load.

This is my files :

Controls
|_ Entity
|   |_ Resources.xaml
|_ View
|    |_ Editor.xaml
|_ img
    |_ water.gif

 

This is my code who's working in Editor.xaml :

<telerik:RadDiagram x:Name="diagram2" Grid.Column="1" Grid.Row="1">
    <controls1:UniqEntity x:Name="container01" Position="150,150" />
    <telerik:RadDiagramContainerShape x:Name="container02" Position="500,150" />
    <telerik:RadDiagramConnection x:Name="connection01" Source="{Binding ElementName=container01}" Target="{Binding ElementName=container02}" Loaded="Connection01_OnLoaded" StrokeThickness="20">
        <Setter Property="Stroke">
            <Setter.Value>
                <VisualBrush>
                    <VisualBrush.Visual>
                        <Image gif:ImageBehavior.AnimatedSource="../img/water.gif" />
                    </VisualBrush.Visual>
                </VisualBrush>
            </Setter.Value>
        </Setter>
    </telerik:RadDiagramConnection>
</telerik:RadDiagram>

 

but if i define the style in Resources.xaml dictionnaries, the texture doesn't load :

    <Style x:Key="RadDiagramConnectionStyle" TargetType="telerik:RadDiagramConnection" />
    <Style BasedOn="{StaticResource RadDiagramConnectionStyle}" TargetType="telerik:RadDiagramConnection">
        <Setter Property="StrokeThickness" Value="10" />
        <Setter Property="Stroke">
            <Setter.Value>
                <VisualBrush>
                    <VisualBrush.Visual>
                        <Image gif:ImageBehavior.AnimatedSource="../../img/water.gif" />
                    </VisualBrush.Visual>
                </VisualBrush>
            </Setter.Value>
</Setter>
...

 

Can you help me please ?

Thanks !

Nicolas

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Sep 2017
5 answers
181 views

How can I change the foreground color of the TimeSpanPickerComponent?

I've tried customizing my own RadTimeSpanPicker but unable to go pass the ItemsControl in the XAML (which contains a list of RadTimeSpanPickerComponents, e.g. hour/min/sec/etc picker, but not exposed via copied template. 

-----------------------------------------

                        <telerik:RadDropDownButton x:Name="PART_DropDownButton"

. . .
                            >
                            <telerik:RadDropDownButton.DropDownContent>
                                 . . .
                                    <ItemsControl
                                        ItemContainerStyle="{TemplateBinding TimeSpanComponentStyle}"
                                        Foreground="Red"
                                        Padding="3,0" Focusable="False" 
                                        >
                                        <ItemsControl.ItemsPanel>
                                            <ItemsPanelTemplate>
                                                <DockPanel Background="Transparent" IsItemsHost="True"/>
                                            </ItemsPanelTemplate>
                                        </ItemsControl.ItemsPanel>
                                    </ItemsControl>
                                   

---------------------------------------

I've also tried to set the Foreground via TimeSpanComponentStyle

TimeSpanComponentStyle="{DynamicResource TimeSpanComponentStyle1}"

 

I'd appreciate some assistance. Thanks.

-Elon

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Sep 2017
1 answer
364 views

I used telerik WPF Radspreadsheet. 

I have a question that why you didn't make some excel formulas like SUBTOTAL, SUMIFS. (but in KENDO UI, they are already built in. )

 

Can I use these formulas another way in Radspreadsheet or Are you have any plans to built in those formulas in WPF Radspreadsheet? 

Tanya
Telerik team
 answered on 01 Sep 2017
1 answer
333 views

I am attempting to insert rows between existing rows within a worksheet. Each newly inserted row should have the cells within merged and have a text value.

I am basically calling the following in a loop on a very small spreadsheet (only 12 rows and 4 columns) and it is very slow. The spreadsheet originates from a call to grid.ExportToWorkbook().

 

 

worksheet.Rows.Insert(rowIndex, 1);

worksheet.Cells[rowIndex, 0].SetValueAsText("haha");

worksheet.Cells[new CellIndex(rowIndex, 0), new CellIndex(rowIndex, 3)].Merge();

 

Two issues:

Issue 1: This is very slow. Each call to insert takes a long time to execute. The entire operation takes several seconds despite only inserting 12 rows. I have suspended layout, put everything in a single undo group. The control isn't even visible at this point.

 

Issue 2: The cells do not seem to be merging correctly. Some of the values of non inserted rows are removed. If I comment out the call to merge, all values appear to be correct

 

Thanks in advance.

 

Tanya
Telerik team
 answered on 01 Sep 2017
8 answers
157 views

Hi,

I am trying to set the orientation of the minimized items in the bottom panel, so instead of being horizontally oriented I want them to be vertically oriented.

(see attached PNG file)

 

I though that the best approach would be to edit a copy of the TileViewPanel template/style and change it but I am unable to create a copy of it neither using Blend nor Visual Studio. 

 

So, is there any easy way to set the orientation of the minimized panel? If not, could you please provide me with a copy of the TileViewPanel template?

 

Thanks in advance.

Martin Ivanov
Telerik team
 answered on 01 Sep 2017
5 answers
356 views
I've managed some fairly complicated controls, using RadDataForm, but now I'm trying something very simple, and it's not working.

The issue: I'm trying to create a user control that contains a RadDataForm that edits one object.  There's no readonly, no newitem, no selection of previous or next, there's one single object that should always be displayed in edit mode.

So, I declare a RadDataForm, and bind CurrentItem, but don't bind ItemsSource, and set AutoEdit="True":
<telerik:RadDataForm
    x:Name="radDataForm"
    CurrentItem="{Binding Path=DataContext.recordData,
                    RelativeSource={RelativeSource AncestorType=UserControl},
                    Converter={StaticResource debugBindingConverter}}"
    EditTemplate="{StaticResource editTemplate}"
    ReadOnlyTemplate="{StaticResource readonlyTemplate}"
    AutoEdit="True"
    AutoGenerateFields="False"
    />

The two templates at this point simply contain labels, declaring "EditItemplate" and "ReadonlyTemplate", so I can see which is being loaded. The code-behind is simple:
public partial class MyUserControl : KorUserControl
{
    public MyUserControl()
    {
        InitializeComponent();
        this.DataContext = new MyUserControlVM();
    }
}
 
public class MyUserControlVM
{
    public RecordData recordData
    { get; set; }
 
    public MyUserControlVM()
    {
        this.recordData = new RecordData();
    }
}
 
public class RecordData : INotifyPropertyChanged, IDataErrorInfo, IEditableObject
{
    public string aTestField
    { get; set; }
         
    #region INotifyPropertyChanged Members
    ...
    #endregion
 
    #region IDataErrorInfo Members
    ...
    #endregion
 
    #region IEditableObject Members
    ...
    #endregion
}

My problem? The form loads the readonly template, instead of the edit template.

Why?
Stefan
Telerik team
 answered on 31 Aug 2017
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?