Telerik Forums
UI for WPF Forum
1 answer
182 views
Hi,
  Please help me to achieve Fluid width & Height for TileView control for all screen resolutions of the computer. 

Thanks
Selva
Tina Stancheva
Telerik team
 answered on 27 Jan 2012
2 answers
137 views
i have a radtreelistview in my application that i am binding an object model to. After binding, i continue to update my object list. I notice that after binding and displaying my data, the entire application will lock up, or sometimes just the tree will lock up, and these lockups dont always correspond to my updating the data model, but are rather sporadic In addition, i notice that my memory usage balloons to a very large size, and then eventually settles back down again, at which point the lockups tend to reduce or go away. Im not at the office right noa so i cant post a code sample, i wil tomorrow, but has anyone else experienced this? Can anyone point me in the right direction? I am replacing a devexpress tree control with the radtreelistview and this was not happening with that. It also doesnt seem to happen with the syncfusion tree Thanks
Greg
Top achievements
Rank 1
 answered on 26 Jan 2012
2 answers
512 views
If a column has a celltemplate defined, its Filter, Sort and Group capability are gone. I'm sure there's a template perhaps that I can define to bring them back but I'm hoping it's more straightforward than that. If you're wondering why I use CellTemplate, it's because I need a CheckBox that uses a Command.

How do I go about this predicament?
swarmttied
Top achievements
Rank 1
 answered on 26 Jan 2012
2 answers
483 views
I click a row in my grid and SelectionChanged fires.

In the event handler I call UnselectAll()

If I click in the same cell in the same row as before SelectionChanged does not fire. If I click in a different cell in the same row SelectionChanged does fire.

How do I get SelectionChanged to fire when I click in the same cell/row a second time?

I have set SelectionUnit to FullRow and SelectionMode to Single.

Any ideas?

Cheers

Steve
Steve Chadbourne
Top achievements
Rank 1
 answered on 26 Jan 2012
3 answers
106 views
I would like to be able to control the sample size on a per series bases. For example, I have a Scatter series in which I would like to do sampling and I also have a Line series on the same chart in which I do not want to do sampling. Is this possible? It seems sampling is only at the chart level and not series level.
Ves
Telerik team
 answered on 26 Jan 2012
3 answers
944 views
We have a radwindow and user control in it.
As we resize the window size we are able to stretch radgridview widthwise...but on resize the height is not correct.
Meaning if the window is minimized to its height we want to radgridview to reduce in size and records with having a scrollbar for grideview. I.e it is should fit to the size of window.
Following is the code of the radexpander and radgridview used in the control.
Can you help us in this?

 

 

 

<telerik:RadExpander

 

 

 

x:Name="expOpenTicketsForTeam"

 

 

 

IsExpanded="True"

 

 

 

Header="Open Tickets for My Team"

 

 

 

HeaderTemplate="{StaticResource RadExpanderHeaderTemplate}"

 

 

 

>

 

 

 

 

<Grid>

 

 

 

 

<Grid.RowDefinitions>

 

 

 

 

<RowDefinition Height="Auto" />

 

 

 

 

</Grid.RowDefinitions>

 

 

 

 

<Grid.ColumnDefinitions>

 

 

 

 

<ColumnDefinition Width="*" />

 

 

 

 

</Grid.ColumnDefinitions>

 



 

 

 

<telerik:RadGridView

 

 

 

x:Name="gvOpenTicketsForTeam"

 

 

 

AutoGenerateColumns="False"

 

 

 

EnableRowVirtualization="True"

 

 

 

IsSynchronizedWithCurrentItem="False"

 

 

 

Background="Transparent"

 

 

 

SelectionMode="Single"

 

 

 

SelectionUnit="FullRow"

 

 

 

GridLinesVisibility="Horizontal"

 

 

 

ItemsSource="{Binding}"

 

 

 

IsReadOnly="True"

 

 

 

IsFilteringAllowed="True"

 

 

 

MinHeight="56"

 

 

 

Height="Auto"

 

 

 

MaxHeight="154"

 

 

 

ShowGroupPanel="False"

 

 

 

CanUserFreezeColumns="False"

 

 

 

CanUserResizeColumns="True"

 

 

 

RowIndicatorVisibility="Collapsed"

 

 

 

RowStyle="{StaticResource GridViewOpenTicketRowStyle}"

 

 

 

HorizontalAlignment="Stretch"

 

 

 

VerticalAlignment="Stretch"

 

 

 

ScrollViewer.HorizontalScrollBarVisibility="Disabled"

 

 

 

ScrollViewer.VerticalScrollBarVisibility="Auto"

 

 

 

MouseDoubleClick="gvOpenTicketsForTeam_MouseDoubleClick"

 

 

 

Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Grid}, AncestorLevel=1}, Path=ActualWidth}"

 

 

 

>

 

 

 

 

</telerik:RadGridView>

 

 

 

 

 

 

 

 

</Grid>

 

 

 

 

 

 

 

 

</telerik:RadExpander>

 

Dimitrina
Telerik team
 answered on 26 Jan 2012
2 answers
145 views
Hi,
  I am using PRISM's region manager to load the docking panes in my main Shell screen. Here is the code I have in the main window xaml.
         <Grid>
        <telerik:RadDocking AllowUnsafeMode="True" Grid.Row="1">
 
            <telerik:RadDocking.DocumentHost>
                <!--<ItemsControl x:Name="CenterRadPanelGroup" prism:RegionManager.RegionName="Region_ShellCenter" Background="White"/>-->
                <telerik:RadSplitContainer Name="CenterRadPanelGroup"    prism:RegionManager.RegionName="{x:Static UICommon:Constants.REGION_SHELL_CENTER}"/>
            </telerik:RadDocking.DocumentHost>
 
            <telerik:RadSplitContainer InitialPosition="DockedLeft" Name="LeftRadPanelGroup" prism:RegionManager.RegionName="{x:Static UICommon:Constants.REGION_SHELL_LEFT}" />
            <telerik:RadSplitContainer InitialPosition="DockedRight" Name="RightRadPanelGroup"   prism:RegionManager.RegionName="{x:Static UICommon:Constants.REGION_SHELL_RIGHT}"/>
            <telerik:RadSplitContainer InitialPosition="DockedBottom" Name="BottomRadPanelGroup" prism:RegionManager.RegionName="{x:Static UICommon:Constants.REGION_SHELL_BOTTOM}"/>
        </telerik:RadDocking>
    </Grid>




And this is the usercontrol for RadSplitContainer docked Right in the shell.
<telerik:RadPaneGroup x:Class="MyClass"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
             xmlns:local="clr-namespace:Simulation.UI">
    <telerik:RadPane Header="1"/>
    <telerik:RadPane Header="2"/>
    <telerik:RadPane Header="3"/>
    <telerik:RadPane Header="4">
        <local:SimulationDataControl />
    </telerik:RadPane>
</telerik:RadPaneGroup>










The RadPaneGroup renders properly in the mainwindow.
But when I try to pin it, it throws the following exception.


Message :- Object reference not set to an instance of an object.

Source :- Telerik.Windows.Controls.Docking
StackTrace :-    at Telerik.Windows.Controls.RadDocking.GetState(ISplitItem item)
   at Telerik.Windows.Controls.RadDocking.OnRadPanePinChange(Object sender, PinChangeEventArgs args)

   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.RoutedEventArgs.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.RaiseEvent(RoutedEventArgs e)
   at Telerik.Windows.Controls.RadPane.OnPinChange(PinChangeEventArgs args)
   at Telerik.Windows.Controls.RadPane.ChangePin(Boolean isPinned)
   at Telerik.Windows.Controls.RadPane.OnIsPinnedChanged(DependencyObject d, 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.RadPane.set_IsPinned(Boolean value)
   at Telerik.Windows.Controls.Docking.PaneGroupBase.ExecuteCommand(RadPane pane, ICommand command, PaneGroupBase groupBase)
   at Telerik.Windows.Controls.Docking.PaneGroupBase.<>c__DisplayClass3.<OnPaneCommandInvoke>b__2()
   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.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(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.InvokeImpl(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()

sonnet
Top achievements
Rank 1
 answered on 26 Jan 2012
1 answer
99 views
Hi I have a stacked bar chart, can I disable labels that have 0 values as seen on the attached picture.

Thanks
sushibite
Evgenia
Telerik team
 answered on 26 Jan 2012
4 answers
185 views
I am starting work on making our WPF application keyboard accessible, starting with the grids.

I am having trouble finding info on:
1. What is already available for keyboard navigation for GridView and other Telerik controls
2. What I need to code myself
3. Samples / tips on best practices for this

I have found a sample project (Silverlight) but it only provides a very small supset of the requirements.
http://www.telerik.com/community/forums/silverlight/gridview/gridview-header-navigation-and-sorting-via-keybord.aspx

Any help appreciated...

Maya
Telerik team
 answered on 26 Jan 2012
1 answer
172 views
I'm working on a wpf project with large datasets.
I've searched for simple examples on using the VirtualQueryableCollectionView with a RadGridView and followed you example at

http://www.telerik.com/help/wpf/using-data-virtualization.html


Now I've tried severaly methods of adding an item in the grid, but without success. If I bind to a standard CollectionView I have no problems though. Editing existing items poses no problems either.

Do you have a working example where you bind the RadGridView to the VirtualQueryableCollectionView and support adding items in the gridview?

Thanks in advance
Vlad
Telerik team
 answered on 26 Jan 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?