Telerik Forums
UI for WPF Forum
5 answers
184 views

Hello,

I'm trying to have a custom DataFormDataField. Therefore I followed the tutorial on

https://docs.telerik.com/devtools/wpf/controls/raddataform/getting-started/defining-custom-datafields

since my own approach didn't work, I just started over and tried exactly the code from the documentation. It is still not working. 

I tried autogeneratedfields and with datatemplate. In Both cases the custom datafield didn't show. The Visiual Tree is showing the Object as a Child of the RadDataForm but not as a DataFormdataField.

After a while I realized that GetControl() is not called. Can you confirm the Problem for Assembly Telerik.Windows.Controls.Data, Version 2017.3.913.45?

 

Thanks in advance.

sincerely,

Michael

 

rick
Top achievements
Rank 1
 answered on 21 Mar 2018
3 answers
191 views

Hi Telerik,

I would like to request that you add a "Finder" style view for selecting files and folders.  Specifically, one that looks similar to the following:

http://cdn.osxdaily.com/wp-content/uploads/2010/03/set-column-view-size-default-mac-os-x-finder.jpg

So that each level of a path is displayed as a vertical column.  This makes navigating multiple hierarchies much easier.

 

Also, I'd like to request that you also expose the dialogs as controls so that I can use them in different ways in my app.

 

 

Martin
Telerik team
 answered on 20 Mar 2018
2 answers
78 views

Hi,

I'm currently working on a project that has a telerik TimeLine within a TimeBar.  The data is presented in groups.

I'm not sure at which point it happened, maybe when we embedded the TimeLine in the TimeBar (?), but I'm going in circles trying to find out how to reclaim the unused-space between the time markers and the groups.

Attached is a screenshot of the TimeBar.  I added a yellow border to show that the "lost space" is at the top of the TimeLine, above the "Input" group.  I think this is the space where the TimeLine's time-markers used to be -- now we only see the TimeBar time-markers.

Is there a property I can set to push all the data upward, so that it comes flush with the top of the TimeLine's upper-border?

Thank you for any help you can provide,

Seb

PS: Using Dev-Studio's debugger, I got the timeline's "PART_TimelineItemContainer"... and found that setting "EffectiveValueCountainer" to 1 makes the unused space disappear... but I'm sure this is not the way to do it !

Stefan
Telerik team
 answered on 20 Mar 2018
1 answer
76 views

Hi !

 

I  have a problem with the Diagram and Load (Serialize/Deserialize).

If I create a diagram on my computer with a Culture (FR for example) but setting additionnal Parameters :

- Decimal Separator : "." and List Separator : ","

I can create a diagram, open it, save it, ... No problem.

 

Now, I keep the same Culture (FR) but I change the additionnal Parameters :

- Decimal Separator : "," and List Separator : ";"

If I try to Load the previous created Diagram I have an error from the Load Method:

"Index was outside the bounds of the array."

This happens when the method :public Sub Load(serializationValue As String) Member of Telerik.Windows.Controls.RadDiagram is called.

The Serialized XML loaded is exactly the same if I create the diagram with different additionnal parameters of the culture. So, I think it's a problem from the Load method... Maybe...

 

Could you please help me ??

 

 

 

Lise
Top achievements
Rank 1
 answered on 20 Mar 2018
14 answers
368 views

I'm trying to create a custom orthogonal router that acts much like a schematic capture program.  If you look at the youtube video in the link below, starting at 4m28s you will see what I am trying to achieve.

1. I need a custom router to make right angles when I add connections.  I have listed the code below to show what I have so far, which basically adds two points to the middle of the connection, but it does not handle complex routing situations where it needs to route around other shapes.

2. Also, I would like the connection to start on a mouse click (press+release) and start routing as I move my mouse, then finally completing the connection with another mouse click (press+release).  Any thoughts on how to achieve these two items?

public class OrthogonalRouter : IRouter
    {
        public System.Collections.Generic.IList<Point> GetRoutePoints(IConnection connection, bool showLastLine)
        {
            List<Point> pointList = new List<Point>();
            Point start = connection.StartPoint;
            Point end = connection.EndPoint;
 
            pointList.Add(new Point(start.X + (end.X - start.X) / 2, start.Y));
            pointList.Add(new Point(start.X + (end.X - start.X) / 2, end.Y));
 
            return pointList;
        }
    }


http://youtu.be/JutQuq1vFYY?t=4m28s
Petar Mladenov
Telerik team
 answered on 20 Mar 2018
2 answers
315 views

Hello,

Is it possible to achieve this like on the attached file ?

Thanks in advance.

Regards.

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Mar 2018
3 answers
125 views

Hello,

Tested with the Office 2013 theme.

I have a RadMap control with WrapAround set to True. If I set pin points using the information layer, they are displayed only on the center map: If I move the map to the left or right (full earth view), the pin points are not displayed on the "new" displayed part.

Regards

Vladimir Stoyanov
Telerik team
 answered on 20 Mar 2018
4 answers
440 views

I have an application that is using the Office2013 Implicit theme. 

I need to highlight specific cells in a RadGridView (by changing the background color) and have done so using a custom Style Selector.

The issue is that when the custom GridViewCell style is applied, it does not inherit the Office2013 theme.

 

// CellStyle

<Style x:Key="WarningCellStyle" TargetType="telerik:GridViewCell" BasedOn="{StaticResource GridViewCellStyle}">
    <Style.Setters>
        <Setter Property="Background" Value="LemonChiffon"/>
        <Setter Property="Foreground" Value="Black"/>
    </Style.Setters>
</Style>

 

Am I targetting the right resources? (TargetType, BasedOn)

Any ideas/suggestions on how to do this otherwise?

Happy to provide more code or screenshots if needed.

 

 

Johnny Chung
Top achievements
Rank 1
 answered on 19 Mar 2018
1 answer
189 views

Can you see any reason why the headers on my RadTabControl show in design view but when I run the app they do not show?  I attached a screenshot to show what it looks like.

<Grid Background="LightGray">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="10"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="10"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="1" Grid.Column="1">
            <telerik:RadTabControl Height="400" >
                <telerik:RadTabControl.Items>
                    <telerik:RadTabItem Header="Generate Scripts" Foreground="white">
                        <telerik:RadTabItem.Content>
                            <Border Background="Bisque">
                                <TextBlock Text="The content of tab item 1" FontWeight="Bold" VerticalAlignment="Center" TextAlignment="Center" Foreground="Black"/>
                            </Border>
                        </telerik:RadTabItem.Content>
                    </telerik:RadTabItem>
                   
                    <telerik:RadTabItem Header="Admin" Foreground="white"/>
                    <telerik:RadTabItem Header="Users" Foreground="white"/>
                    <telerik:RadTabItem Header="Program / Hulls" Foreground="white"/>
                </telerik:RadTabControl.Items>
            </telerik:RadTabControl>        
        </StackPanel>
    </Grid>

Sia
Telerik team
 answered on 19 Mar 2018
1 answer
91 views

Hello,

New to the forums so sorry if this is in the wrong spot.

I'm finding that the WPF control "FileBrowserEditTextBox" causes Visual Studio to crash. Reproduction steps are as follows:

  1. Create a C# WPF Application
  2. Add the control to the form
  3. Build solution

Once the solution is done building, the instance of Visual Studio crashes. Starting debugging, instead of building the solution directly, bypasses the problem, but doing a rebuild solution after debugging has stopped causes the crash. Present in Visual Studio 15.6.0 and 15.6.2 with Telerik UI for WPF version 18.1.220.0.

Nick

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Mar 2018
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
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?