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

First of all, thank you for your beautiful controls, they are amazing.

I am new to telerik, and I want to export some controls into a PNG, PDF, and also print them.

I found some samples in your demos but they take a control (for example chart), and put it in a PNG, but what I need is to take all controls (a few charts, pies, grids, etc) and put all of them into one PNG.

Can anyone help me?
Thanks in advance, :)
Yana
Telerik team
 answered on 13 Aug 2014
1 answer
234 views
Hi.
I'm currently evaluating Telerik controls, and I am having an issue with RadWindow. A key scenario is to observer how our dialogues display when the DPI is set at its extreme.

My RadWindow has SizeToContent set to true, and IsRestricted set to true.
It's a tall dialog, and my assumption was, when the display is set to a high DPI (200% in Windows 8), the dialog will shrink to cover the range from top of the screen, to top of the taskbar (at which point the scroll bars would activate).

However, instead, part of the title and the bottom part of the dialogue are either offscreen, or obscured by the task bad.

I've attached a screenshot detailing the issue (I've blurred parts of the dialog intentionally).
Vladi
Telerik team
 answered on 13 Aug 2014
2 answers
156 views
In an effort to address the customization issue of the QAT, I attempted to add a contextmenu for the RadRibbonButtons. However, from what I can tell, the ContextMenu has to be of type Windows.System.Controls.ContextMenu, which doesn't get themed correctly. 

Is there a way to use a contextmenu that picks up the correct theme/style being applied to the rest of the Telerik controls?

Cheers
Kiril Vandov
Telerik team
 answered on 13 Aug 2014
10 answers
124 views
I have a custom set of fields in a document and am using UpdateAllFields() when I want to render a completed document. I notice from the documentation that this is deprecated. What should I be using instead?

Thanks,
John
Anand
Top achievements
Rank 1
 answered on 13 Aug 2014
1 answer
192 views
Hi ..

I faced a critical issue whenever I clicked any group title in heat map control multiple times. This is the error I got::
" A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.DataVisualization.dll"
and this is the entire exception details

System.NullReferenceException was unhandled
  HResult=-2147467261
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Windows.Controls.DataVisualization
  StackTrace:
       at Telerik.Windows.Controls.TreeMap.RadTreeMapItem.Select(Boolean selected)
       at Telerik.Windows.Controls.TreeMap.RadTreeMapItem.OnIsSelectedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.TreeMap.RadTreeMapItem.set_IsSelected(Boolean value)
       at Telerik.Windows.Controls.TreeMap.RadTreeMapItem.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at System.Windows.Application.Run()
       at INtra_Day_EXplorer.App.Main() in d:\INDEX Mini\Main\obj\Debug\App.g.cs:line 0
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:
Petar Marchev
Telerik team
 answered on 13 Aug 2014
1 answer
220 views
Hey,

The filter button in the column header still showing, any idea how to hide it?
I'm using the following code:

01.<telerik:RadGridView x:Name="radGridView" AutoGenerateColumns="False" GroupRenderMode="Flat" CanUserReorderColumns="True"
02.                             ColumnBackground="Transparent" RowIndicatorVisibility="Collapsed" ShowGroupPanel="False" RowHeight="17" SelectionMode="Multiple"
03.                             CanUserSelect="True" SelectionUnit="FullRow" EnableLostFocusSelectedState="False"
04.                             HeaderRowStyle="{DynamicResource GridViewHeaderRowStyle1}"
05.                             Style="{DynamicResource RadGridViewStyle1}"
06.                             RowStyle="{DynamicResource GridViewRowStyle1}"
07.                             GroupRowStyle="{DynamicResource GridViewGroupRowStyle1}"
08.                             ItemTemplate="{DynamicResource DataTemplate1}">
09.            <telerik:RadGridView.Columns>
10.                <telerik:GridViewDataColumn DataMemberBinding="{Binding DisplayName}" Header="{DynamicResource ManageTempListNameLabel}" Width="150" ShowFilterButton="false" IsFilteringDeferred="True" IsReadOnly="True"/>
11.                <telerik:GridViewDataColumn DataMemberBinding="{Binding Artist}" Header="{DynamicResource ManageTempListArtistLabel}" Width="100" ShowFilterButton="true" IsFilteringDeferred="True" IsReadOnly="True"/>
12.                <telerik:GridViewDataColumn DataMemberBinding="{Binding Album}" Header="{DynamicResource ManageTempListAlbumLabel}" Width="75" IsReadOnly="True" IsVisible="False"/>
13.                <telerik:GridViewDataColumn DataMemberBinding="{Binding Duration}" Header="{DynamicResource ManageTempListDurationLabel}" Width="55" IsResizable="False" IsReadOnly="True" IsVisible="False"/>
14.            </telerik:RadGridView.Columns>
15.        </telerik:RadGridView>

Boris
Telerik team
 answered on 13 Aug 2014
1 answer
105 views
I have an expensive operation to determine if there are children for a node so I am determining if there are children asynchronously.  

I have simulated LoadOnDemand with the TreeListView using a view model with a background worker.  When the worker completes it's work it fires OnPropertyChanged for the collection and the tree then shows the expander.

Is there a way to show an animation in place of where the expander normally resides?  I would like it to be similar to how the TreeView loading animation displays when used with IsLoadOnDemandEnabled.  Right now my tree nodes show no expander until after the async call is complete and it is confusing to end users.

Thanks
Dimitrina
Telerik team
 answered on 13 Aug 2014
4 answers
277 views
Hi,
I want to add tool tip for the next, previous, first, and last button in the datapager control .
Please suggest how can I achieve this.

best regards.
Kim
Top achievements
Rank 1
 answered on 13 Aug 2014
3 answers
311 views
Hi,
I have a view that one cell can have a multiple content from two different property of the data model, I try some of the sample from documentation and have no success, any hint or guide to get this done
thank you.

my code snippet 

<telerik:GridViewDataColumn
Header="Case Type"
DataMemberBinding="{Binding CaseDetails}"
Style="{DynamicResource ColumnTextCenter}">
                    <telerik:GridViewDataColumn.CellEditTemplate>
                        <DataTemplate>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                </Grid.RowDefinitions>
                                <TextBlock Text="{Binding CaseDetails[0].Type}"/>
                                <TextBlock Text="{Binding CaseDetails[0].LandArea} Grid.Row="1 FontStyle="Italic"/>
                            </Grid>                           
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellEditTemplate>                   
                </telerik:GridViewDataColumn>
Stanley
Top achievements
Rank 1
 answered on 13 Aug 2014
2 answers
243 views
Is there a way to change the mouse cursor for the pan operation (actually the default one is "hand")?
Manuel
Top achievements
Rank 1
 answered on 12 Aug 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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?