Telerik Forums
UI for WPF Forum
7 answers
653 views
This is happening on what appears to be a ListBox inside the filter that contains a CheckBox element for each distinct RowValue in the column.  
When scrolling, the width of the ListBox changes depending upon the size of the widest checkbox in the list.  

Also, the only way to use the scroll bar is to click either the up or down arrow, wait for the ListBox to resize, then click the arrows again.  Attempting to move the actual bar of the ScrollBar does not scroll the ListBox with CheckBoxes, it instead scrolls the bar of the GridView itself. 


Is there a way to set the ListBox width to that of the widest CheckBox?
Anitha
Top achievements
Rank 1
 answered on 17 Feb 2011
4 answers
123 views
I have an integer type property, which may only have specific values in a infinite sequence: 4, 6, 8, 12, 16.... (the sequence can be made finite because big values will never be used in this reality).

Q1: I would like the mouse wheel and the buttons to select the next valid value for the user. I saw this post (http://www.telerik.com/community/forums/wpf/numeric-up-down/use-numericupdown-as-multiplier.aspx) in the forum and figured that my problem cannot be solved either. Is this feature planned for any release?

Q2: The numericupdown should be readonly under certain circumstances (most other input-fields are textboxes and they are made readonly, not disabled). Is there some setting to remove the possibility of user input from numericupdown besides enabled=false?

Thanks,
Inger Marie
Inger Marie
Top achievements
Rank 1
 answered on 17 Feb 2011
1 answer
139 views
This happens in version 2010.3.1314.40

It happens in every view EXCEPT the timeline view.

Scenario:
Override the default double click behavior of an Appointment and navigate to some other screen. That equates to overlaying another UIElement over the top of the scheduleview and then removing it to expose the scheduleview again. That's when the error occurs.


Value cannot be null.
Parameter name: ancestor
Details: 
  
System.ArgumentNullException: Value cannot be null.
Parameter name: ancestor
   at System.Windows.Media.Visual.TransformToAncestor(Visual ancestor)
   at Telerik.Windows.Controls.ScheduleViewBase.FindDistanceBetweenTwoElements(FrameworkElement element1, FrameworkElement element2)
   at Telerik.Windows.Controls.ScheduleViewBase.CreateDragCueForItem(AppointmentItem item)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at Telerik.Windows.Controls.CollectionExtensions.AddRange(IList list, IEnumerable items)
   at Telerik.Windows.Controls.DragDropHelper.CreateVisualCueForDrag(DragDropState state, AppointmentItem clickedItem)
   at Telerik.Windows.Controls.DragDropHelper.SetupDragCueForDrag(DragDropOptions options, DragDropState state, AppointmentItem draggedAppointment)
   at Telerik.Windows.Controls.DragDropHelper.StartDrag(DragDropOptions options, DragDropState state, AppointmentItem draggedAppointment)
   at Telerik.Windows.Controls.DragDropHelper.BeginDragResize(DragDropOptions options, AppointmentItem draggedAppointment, Boolean isResizing)
   at Telerik.Windows.Controls.DragDropHelper.OnAppointmentItemDragQuery(Object sender, DragDropQueryEventArgs e)
   at Telerik.Windows.Controls.DragDrop.DragDropQueryEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.DragDropProvider_DragQuery(Object sender, DragDropQueryEventArgs e)
   at Telerik.Windows.Controls.DragDrop.DragDropProviderBase.RaiseDragQuery()
   at Telerik.Windows.Controls.DragDrop.WPFSimulatedDragDropProvider.TryStartDrag(IMouseEventArgs e)
   at Telerik.Windows.Controls.DragDrop.SimulatedDragDropProvider.OnTrackedElementMouseMoveInternal(IMouseEventArgs e)
   at Telerik.Windows.Controls.DragDrop.SimulatedDragDropProvider.OnCoverRectangleMouseMoveInternal(IMouseEventArgs e)
   at Telerik.Windows.Controls.DragDrop.WPFSimulatedDragDropProvider.OnCoverRectangleMouseMove(Object sender, MouseEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.MouseDevice.Synchronize()
   at System.Windows.Input.MouseDevice.ChangeMouseCapture(IInputElement mouseCapture, IMouseInputProvider providerCapture, CaptureMode captureMode, Int32 timestamp)
   at System.Windows.Input.MouseDevice.Capture(IInputElement element, CaptureMode captureMode)
   at System.Windows.Input.Mouse.Capture(IInputElement element)
   at System.Windows.Documents.Hyperlink.OnMouseLeftButtonDown(Object sender, MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   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.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   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.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 Metrix.UI.App.Main() in C:\Users\rodneyy\Documents\Visual Studio 2010\Projects\M530\Client\Metrix.UI\obj\Debug\App.g.cs:line 0
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
   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()
George
Telerik team
 answered on 16 Feb 2011
1 answer
132 views
Hi,

I'm working with the RadTreeListView however rather than displaying one row for each item in the expander column I'd like to display multiple rows and have the item in the expander column span those rows e.g.

| Item          | Metric    | Value 1 | Value 2 | Value 3  |
| > Item 1    | Width    | 14         | 13         | 17          |
|                 | Height   | 3           | 8           | 89          |
|    > Item 2| Width    | 34         | 89         | 22          |
|                | Height   | 33         | 58         | 92          |

I'm wondering whether anyone else has needed to do this and found a solutions or whether anyone would be able to point me in the right direction on which templates I need to amend.

Thanks,
Derek
Vlad
Telerik team
 answered on 16 Feb 2011
3 answers
158 views
Hi

Iam using RadTreeview Custom Control  Then Cosuming the Control  There is one button

When button is Clicked Create one node With Check box   but Check box Came but not Selected


This is our Consume Page Xaml

<local

 

 

:TreeView x:Name="RadTreeView1" ToolTip="Enter Name" Height="500" Width="300"

 

 

 

ItemsOptionListType="CheckList" IsOptionElementsEnabled="True" >

 

 

 

 

 

</local:TreeView>

 


Then Click Event

 

 

private void AddItem_Click(object sender, RoutedEventArgs e)

 

{

 

 

List<TreeImageCollection> lstTreeImageCollection1 = new List<TreeImageCollection>();

 

 

 

TreeImageCollection objTreeImageCollection = new TreeImageCollection();

 

objTreeImageCollection.ImageID =

 

"200";

 

objTreeImageCollection.ImageSource =

 

"../Images/iDropdownArrowDownHOT.png";

 

objTreeImageCollection.ToolTip =

 

"Hi This my Image ";

 

 

 

//objTreeImageCollection.Alignment = ImageAlignment.Left;

 

lstTreeImageCollection1.Add(objTreeImageCollection);

RadTreeView1.AddNode(

 

"0", "4", "Item ggg004", null, lstTreeImageCollection1, ToggleState.On, false, false, false);

 

}





Regards
SenthilNathan.S
Petar Mladenov
Telerik team
 answered on 16 Feb 2011
1 answer
92 views
Hi, as the titles reads. Is there a Layout Control that can contains my items and arrange them?

Thanks!
Rossen Hristov
Telerik team
 answered on 16 Feb 2011
1 answer
60 views
I have tried casting this several different ways, but i am still relatively new to the telerik world.   I have a RadTreeView that i am trying to drop a sub item into a list box...  But when i cast the item from the payload object, it does not return a value... any help would be greatly appreciated!

Thanks,
Brian
Tsvyatko
Telerik team
 answered on 16 Feb 2011
2 answers
158 views
Hi, can I set the set the transparency of all data series in the chart ? (without affecting the pallet from telerik summer theme)

Best regards
kristján
Kristjan Einarsson
Top achievements
Rank 1
 answered on 16 Feb 2011
1 answer
131 views
Does anyone know how I can disable some of the items in the combobox?
Konstantina
Telerik team
 answered on 16 Feb 2011
8 answers
141 views
When i on visual studio 2010 , i click new project. After i choose C# RadControls WPF application , it will appear a window let me to choose the components and theme but it does not have any WPF setting to allow us to choose. Because of it , i cannot create the WPF application to use.
Petar
Telerik team
 answered on 16 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?