Telerik Forums
UI for WPF Forum
1 answer
61 views
Hi,

the first question is: Is there a two level compass support over the document host, that allows to dock a pane exactly beneath the document host (not inside it and not at the root element?) See visual studio. Just try to move a control bar over their document host area. There you get the possibility to dock on each side inside the document host and outside of it.

This is needed for scenarios like here http://www.telerik.com/help/wpf/media/RadDocking_GettingStarted_GettingStarted_110.png

Assume the ErrorList pane does not exist and you float the Output pane and want to redock it at the same location again. This would be easy in Visual Studio. Just hover over the document host and select the "outside document host" option.

I assume the answer will be: Not supported
So here is the second question: Is it possible to write an own template for the compass?

Vladi
Telerik team
 answered on 29 May 2014
1 answer
116 views
Hi,

if I save a Diagram, I get this "<Title>Diagram [27.05.2014 14:54:20]</Title>" in the saved XML-File. How
do I set a different text her and can I get this text on loading the diagram?

<RadDiagram Version="2013.1">
  <Metadata Type="Telerik.Windows.Controls.RadDiagram" Id="eec698bd-3ac2-43bc-8c6e-f9e82a919886" Zoom="1" IsSnapEnabled="true" SnapX="20" SnapY="20">
    <Title>Diagram [27.05.2014 14:54:20]</Title>
    <Description></Description>
  </Metadata>
  <Groups />
...

Thanks
Best Regrads
Rene
Martin Ivanov
Telerik team
 answered on 29 May 2014
2 answers
365 views
I have a radlistbox bound to an observable collection that I can reorder
using drag and drop, but cant seem to find an event that fires when the
item is reorders.

Thanks
Mahdi
Top achievements
Rank 1
 answered on 29 May 2014
1 answer
111 views
Hi,

I get an error when I try to Export a RadDiagram.

Error in HTMLExportHelper Class:
private static string LoadStringFromFile(string path)
        {
            string javaScript = string.Empty;
 
            using (var stream = ExtensionUtilities.GetStream(path))
            {
                if (stream != null)
                {
                    using (var reader = new StreamReader(stream))
                    {
                        javaScript = reader.ReadToEnd();
                    }
                }
            }
 
            return javaScript;
        }

Var stream is allways null. How should string path looks like? for example "public const string JSFilePath = @"Common/ExportToHTML/JavaScript.js";" ist
wrong. The JavaScript.js file is Applicationpath + Common + ExportToHTML Folder.

Thanks
Best Regards
Rene
Pavel R. Pavlov
Telerik team
 answered on 29 May 2014
2 answers
1.0K+ views
Hi,

Is it possible to make the GridView auto scrolls to the selected item? I'm doing everything in MVVM and avoid any code behind.

Thanks,, 
Ahmed
Top achievements
Rank 1
 answered on 28 May 2014
3 answers
212 views
Hi,

I have a Date field which I split in three columns:

                                <telerik:GridViewDataColumn DataMemberBinding="{Binding StartDate, StringFormat='yyyy'}" Header="Year"/>
                                <telerik:GridViewDataColumn DataMemberBinding="{Binding StartDate, StringFormat='MMM'}" Header="Month"/>
                                <telerik:GridViewDataColumn DataMemberBinding="{Binding StartDate, StringFormat='dd'}" Header="Day"/>

Happens that when I try to filter the rows via the GridView filters I get duplicate entries there:


Is there a way to remove those duplicates?

Thanks
Boris
Telerik team
 answered on 28 May 2014
2 answers
181 views
Hi,

I need to display incoming packets from communication ports, in a time line, along with other informations (for example a port “Mode”, representing the actual state of the port).

I made with Expression Blend’s Sketchflow a prototype to illustrate what I want. See attached file to fond how it looks like.

Is it possible to use the RadTimeLine control to display incoming packets as shown in the prototype? And to have packets’ details when hovering or clicking it ? (in a tooltip or side window).
Also is it possible to have different ItemTemplates, one for each line ?

Finally, the full period I'd like to display is several hours, and the duration of a packet is about 10ms. Does the radTimeLine offers great zoom capabilities to be able to see each packet ?

Regards,
Sebastien

Sebastien
Top achievements
Rank 1
 answered on 28 May 2014
3 answers
188 views
In reference to the ArrangeOverride method the documentation says:

The rectangle occupied by the element. Usually finalSize.
Should you return different size, the Layout system will restart
measuring and rearraning the items. That could lead to infinite
recursion.

I am occasionally seeing this. I have a grid that contains a single hierarchical child grid.

Type A
Type B
related on A.Foo, B.Foo

I don't know how to troubleshoot the root cause, but I can see that ArrangeOverride is being called in an infinite loop.

WTF?

Thanks.

- Jay
Ivan Ivanov
Telerik team
 answered on 28 May 2014
6 answers
308 views
I'm trying to implement a property editor control for an application using the RadPropertyGrid. The user will select from a list of objects and the propertygrid editor needs to change based on the object type. That would be perfectly fine if we were giving access to ALL properties of each object, but we only want to display specific subset of each object to the end user, and that subset will vary based on each object type. For example, an object of type Circle we may want to display the center point coordinates and a radius, while a Rectangle we want to display lower-left coordinates and a width and height. These object classes are defined in a 3rd party library, and each of them have many other properties we don't want to expose.

Ideally it would be great if we could set AutoGeneratePropertyDefinitions to false and define a different set of RadPropertyGrid.PropertyDefinitions for each type, then switch that set of definitions based on the object type. I've used converters to change controls' style properties based on object types before, but since since the PropertyDefinitions isn't a property itself, I can't use that same technique.

Any suggestions?

Thanks!
Mahdi
Top achievements
Rank 1
 answered on 28 May 2014
1 answer
130 views
Hi, 
   how to find the single span between HyperlinkRangeStart and HyperlinkRangeEnd?


Thanks!

Petya
Telerik team
 answered on 28 May 2014
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
ProgressBar
Sparkline
LayoutControl
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
Rating
Accessibility
Callout
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
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?