Telerik Forums
UI for WPF Forum
1 answer
90 views
What I'm looking for is a way to have different step sizes for each thumb of my range slider. These are basically my needs:

Thumb0 can have values on the interval [0, (Maximum - MinimumRangeSpan)] w/ stepsize1
Thumb1 can have values on the interval [SelectionStart, Maximum] w/ stepsize2

Is there an easy way to accomplish this (if at all)?
Tina Stancheva
Telerik team
 answered on 16 Nov 2011
3 answers
168 views
I have a hierarchical chart bound to a tree of CAD assemblies. The hierarchical bar chart is working great for as many levels of assembly as I want. The problem is, when you dig down to the last leaf in any branch of the tree, the last leaf has no children, so the chart says "no data". What I'd like to do instead is show a different chart bound to the leaf instead.

Is it clear what I want to do?

does anyone have some tips on how to do this?

Eric
Ves
Telerik team
 answered on 16 Nov 2011
2 answers
96 views
If I create new class inherits from RadPropertyGrid
public class ExPropertyGrid : RadPropertyGrid    {    }
and in xaml
<RadPropertyGridTest:ExPropertyGrid x:Name="testPropertyGrid" />
then I see nothing in the window.
Paul
Top achievements
Rank 1
 answered on 16 Nov 2011
1 answer
165 views
Hi,

I want to change the backgroundcolor for the labels in my lineseries to transparent. I already tried to set the background in
telerik:LineSeriesDefinition:SeriesItemLabelStyle
but without success.

Can you please tell me how to solve this?
Sia
Telerik team
 answered on 16 Nov 2011
2 answers
124 views
Hi,

I'm trying to implement group headers and I have a class (TestClass) that implements IAppointment but there seems to be a problem when adding to the Resources property. The Resources.Count is always 0, even after adding to the resources. If I inherit from Appointment it works, but in my case I need to use IAppointment because the class already has another base class. Is there something I'm missing here to get it working?

Thanks!

Some sample code:

public class TestClass : IAppointment
{
//IAppointment implementation...
}

Appointments = new List<TestClass>();

var one = new TestClass
{
Subject = "Appointment 01",
        Start = DateTime.Now,
        End = DateTime.Now.AddHours(1)
};

one.Resources.Add(new Resource { ResourceName = "Test" }); //Resources.Count remains 0?
Appointments.Add(one);
Geoffrey
Top achievements
Rank 1
 answered on 16 Nov 2011
1 answer
134 views
I'm using the GridView and also themes.
How could I get the used highlight-color which is used for the selected row in codebehind?

Somethin like this:
var color = MyGrid.HighlightColor;
Ivan Ivanov
Telerik team
 answered on 16 Nov 2011
7 answers
65 views
Chart zoomscroll settings bar: can it be customized? We like to utilize the zooming on X axis, and like to increase the size of the bar through style.
Anyone has any suggestion? where to obtain the source code? who's style shoule I mess with? DragZoomLayerControl?
Sia
Telerik team
 answered on 16 Nov 2011
1 answer
102 views
Hello,
I am creating a linear spark line in my wpf project. My datasource will have 43 points (from -21 to 21). I will have to mark the highest indicator point and lowest indicator point in Red whereas zero (middle) indicator point in blue.
I can mark Highest & Lowest indicator points by using following properly

ShowLowPointIndicators="True" ShowHighPointIndicators="True"

However I could not find any way to highlight middle (zero) indicator point. I will appreciate for any idea to mark this point.

Thanks,
M. Irfan
Yavor
Telerik team
 answered on 16 Nov 2011
12 answers
221 views
Hi,

I think I found a bug while trying to set the tooltip for the headers. This seems to be a regression. I downloaded the code from this post:

http://www.telerik.com/community/forums/wpf/gridview/displaying-the-radgrid-header-column-tooltip.aspx

Converted the ColumnTooltip project in that post to VS 2010, changed the .NET framework version to 4.0 CP and replaced the telerik dlls with the latest version. I then run the sample and when I hover the mouse over a header the app crashes with the exception below. The tooltip is being set as in:

<Setter Property="ToolTip" Value="{Binding Content, RelativeSource={RelativeSource Self}}"/>

Did this change in later versions?

Here is the exception:
 
System.InvalidOperationException was unhandled
  Message=Specified element is already the logical child of another element. Disconnect it first.
  Source=PresentationFramework
  StackTrace:
       at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)
       at System.Windows.FrameworkElement.AddLogicalChild(Object child)
       at System.Windows.Controls.ContentControl.OnContentChanged(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 System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
       at System.Windows.Controls.PopupControlService.RaiseToolTipOpeningEvent()
       at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
       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.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       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.WrappedInvoke(Delegate callback, 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.Application.RunInternal(Window window)
       at System.Windows.Application.Run()
       at ColumnTooltip.App.Main() in E:\temp\ColumnTooltip\ColumnTooltip\obj\Debug\App.g.cs:line 0
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       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.Threading.ThreadHelper.ThreadStart()
  InnerException: 

Christoph
Top achievements
Rank 1
 answered on 16 Nov 2011
0 answers
95 views
Would it be possible to change the column name of a data bound GridView?

I have a GridView bounded to a dataset. Any changes to the data are save back the the database on rowEditEnded event.
My reason for changing column name like NameID or DateOfBirth to Name ID or Date Of Birth to appear as column names as it would look nicer. Would I be able to do that and update to the database on rowEditEnded event.
Oliver
Top achievements
Rank 1
 asked on 16 Nov 2011
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?