Telerik Forums
UI for WPF Forum
6 answers
464 views
How can I be sure that PDFViewer has finished loading a document when using the ReadOnDemand mode?

I've setup a small sample app and the OnDocumendLoaded event does not fire.

Is this event already part of the documentation and/or is there some sample code available?

Kind regards,
Victor
Kammen
Telerik team
 answered on 07 Jun 2012
0 answers
132 views
RadPanes be default always appear on top of the RadDocking window.
Is it possible to send them to the back after the RadDocking window?
Pieter
Top achievements
Rank 2
 asked on 07 Jun 2012
3 answers
116 views
Hi,

I have a problem with navigating through TreeListView. TLV is binded to a flat collection, that contains at least 3 columns. Focusing cells using mouse is no problem. However, using keyboard arrows I am able to navigate to cells in first column only, I cannot get at all to cells in other columns..

Why is this happening?

Regards,
Goran
Ivan Ivanov
Telerik team
 answered on 07 Jun 2012
6 answers
363 views
Hi,
how can I style the Scrollbar, which appears when I zoom into the chart?
I wanna change it to be more touch friendly.

Cheers,
Enrico
Evgenia
Telerik team
 answered on 07 Jun 2012
1 answer
129 views
Hello,

I am evaluating the Telerik diagramming component for WPF and am getting a run time error from the basic example in the documentation, http://www.telerik.com/help/wpf/raddiagram-data-code-behind.html.  In my project I have referenced the following libraries from the RadControls for WPF Q1 2012 SP1\Binaries\WPF40 directory:
Windows.Controls
Windows.Controls.Diagrams
Windows.Diagrams.Core

Am I missing needed references?

Thank you for your help.

Stack trace:
    at Telerik.Windows.Controls.RadDiagramConnection.Update(Boolean isManipulating) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Diagrams\Diagrams\Visuals\Connections\RadDiagramConnection.cs:line 563
   at Telerik.Windows.Controls.RadDiagramConnection.OnApplyTemplate() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Diagrams\Diagrams\Visuals\Connections\RadDiagramConnection.cs:line 490
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Canvas.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Canvas.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
   at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Interop.HwndSource.SetLayoutSize()
   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
   at System.Windows.Forms.Integration.ElementHost.OnHandleCreated(EventArgs e)
   at System.Windows.Forms.Control.WmCreate(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Integration.ElementHost.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Petar Mladenov
Telerik team
 answered on 07 Jun 2012
1 answer
217 views
I am trying to get my feet wet with Telerik's controls as we are poised to get the Premium Package.  I found a nice How To video here(Brian Lagunas) that is very applicable to my environment however I am struggling to use Telerik's controls as the video maker uses Infragistics.  The key sticking point is the below.

<telerik:RadRibbonWindow x:Class="IgOutlook.Shell"
                         xmlns:prism="http://www.codeplex.com/prism"
        Title="Shell" Height="300" Width="300" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
     
    <telerik:RadRibbonView Name="radRibbonView1" prism:RegionManager.RegionName="RibbonTabRegion">       
        <telerik:RadRibbonView.ApplicationMenu>
            <telerik:ApplicationMenu />
        </telerik:RadRibbonView.ApplicationMenu>
        <telerik:RadRibbonView.QuickAccessToolBar>
            <telerik:QuickAccessToolBar />
        </telerik:RadRibbonView.QuickAccessToolBar>
 
         
    </telerik:RadRibbonView>
 
    <DockPanel LastChildFill="True">
            <telerik:RadOutlookBar DockPanel.Dock="Left" Width="200" prism:RegionManager.RegionName="OutlookBarGroupRegion" />
            <ContentControl prism:RegionManager.RegionName="ContentRegion" Margin="1,3,3,3" />
        </DockPanel>
</telerik:RadRibbonWindow>

In his video there is a control for "Ribbon Window Content Host" that doesn't seem to have a counterpart in Telerik.  The code above gives me a design time exception of "The Property Content is set more then once".

Can anyone show me what I am doing wrong or missing?  This app is meant to be a proof of concept so I can justify to my boss purchasing this tool set.
Viktor Tsvetkov
Telerik team
 answered on 07 Jun 2012
6 answers
764 views

 

 

Hi,
I am using the PropertyRelation on the RadgridView like so:

<
Telerik:RadGridView.ChildTableDefinitions

 

    <Telerik:GridViewTableDefinition x:Name="gvtd"> 

 

        <Telerik:GridViewTableDefinition.Relation

 

            <telerikData:PropertyRelation ParentPropertyName="MyProperty"/> 

 

        </Telerik:GridViewTableDefinition.Relation
    </Telerik:GridViewTableDefinition>
</Telerik:RadGridView.ChildTableDefinitions>

Which works fine when it autogenerates the columns.. is there an example on how to user define the columns?


My futile tries involve:
AutoGenerateColoumns="False"
or   

AutoGenerateFieldDescriptors

 

="False"

I have tried setting the FieldDescriptors manually.

Tried to use HierarchyChildTemplate like so:

 

 

 

<Telerik:RadGridView.HierarchyChildTemplate

 

    <DataTemplate>

        <Telerik:RadGridView

 

            <Telerik:RadGridView.Columns
                <Telerik:GridViewDataColumn Header="ID" UniqueName="id"/>

                <Telerik:GridViewDataColumn Header="FirstName" DataMemberBinding="{Binding Name}"/>

            </Telerik:RadGridView.Columns>

        </Telerik:RadGridView>

    </DataTemplate>

</Telerik:RadGridView.HierarchyChildTemplate>


With the result of it loosing its binding and going back to the usercontrols dataContext.

- Martin

 

 

 

 

 

 

 

 

 

 

Vlad
Telerik team
 answered on 07 Jun 2012
9 answers
266 views
I am trying to use the RadTreeView in our application and I would like to change the background color of an item when either selected or the mouse is over it. I found some examples, but they are far more complex than I need and I'm unable to simplify them without breaking them. Is there a very simple example of just changing the background color, please?

Janene Pappas-McCrillis
Wireless Seismic
Lancelot
Top achievements
Rank 1
 answered on 06 Jun 2012
1 answer
71 views
Hello,

I am making an application in which one of the requirements is being able to change the horizontal axis from a ContinuousDateTime to a CategoricalDateTime on the click of a button. I've had no problems doing this in itself, but when I change the horizontalAxis, my ZoomPanBar vanishes from the graph. Zooming and panning still works, just the bar is gone. Is there a way to get the bar back once it has vanished? Or even better, a way for it to not vanish at all?

Worst case scenario that the above cannot be done, could you provide some code that would allow a ZoomPanBar to control the zoom and pan of a chart in the same application?

Thanks in advance,
Dan
Giuseppe
Telerik team
 answered on 06 Jun 2012
4 answers
188 views
Hello,

I have a RadGridView for which I'd like to take advantage of the extended selection mode (shift-click, ctl-click, etc...), but also need the act of clicking on a row to add it to the list of selected rows without clearing out the other entries.  I would also like the act of clicking on a row that is already selected to remove it from the list of selected rows - much the same way Multiple selection mode behaves.

Is there a way to implement this behavior?

Thanks
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
 answered on 06 Jun 2012
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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?