Telerik Forums
UI for WPF Forum
3 answers
75 views
Hi,

can anyone tell me if a property exist to have an Inclined side for TabItem?

Thank's
Petar Mladenov
Telerik team
 answered on 27 Jan 2012
2 answers
210 views
Hi telerik,

It it possible to style the RadPanes in such a way that each header has it's own closing X instead of 'just' the one placed on the right hand side?

Thanks,

Anders, Denmark
Anders
Top achievements
Rank 1
 answered on 27 Jan 2012
1 answer
118 views
I am using the RadMaskedTextInput to contain a last name, a first name, city and several other random strings.  I am trying to have the validation just test whether there is data in the field.  I found a help file for doing something similar on the MaskedTextBox, but nothing for the more generic TextInput.  Any help would be greatly appreciated.

The Validation help http://www.telerik.com/help/wpf/radmaskedinput-features-validation.html contains an exception called ValidationException which I cannot find a reference to in my Visual Studios.  This looked like the proper way to go, but without access to that Exception I am stuck.
Tina Stancheva
Telerik team
 answered on 27 Jan 2012
1 answer
130 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
122 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
474 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
468 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
84 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
904 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
129 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?