Telerik Forums
UI for WPF Forum
3 answers
177 views
I feel the arrow for expander and panel bars  points wrongly, it should behave opposite to how it is now.
How to modify  the arrow?
Miroslav
Telerik team
 answered on 17 Aug 2010
25 answers
408 views
Hi,

I have encountered the following error when I was trying to reorder column or drag it in panel group.

assembly: Telerik.Windows.Controls.GridView.dll, version: 2010.1.326.35
ExceptionMessage:
Root AdornerLayer Not Found. Please make sure that your root visual is Window or other element that has an adorner layer. Alternatively, wrap your root panel in an <AdornerDecorator> element.

StackTrace:

   at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.OpenPopup()
   at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.StartDragging()
   at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.TryStartDrag(IMouseEventArgs e)
   at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.OnTrackedElementMouseMoveInternal(IMouseEventArgs e)
   at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.OnCoverRectangleMouseMove(Object sender, MouseEventArgs e)
   at System.Windows.Input.MouseEventArgs.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 args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   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.PreNotifyInput(Object sender, NotifyInputEventArgs e)
   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, Int32 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, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
Yordanka
Telerik team
 answered on 17 Aug 2010
1 answer
136 views

  Hi All,

             Please provice the following information about RadChart. 
            I wanted to know if some of the features are avialable for RadChart.
                      1. 2D and 3D Surface Charts for Volatility surface charts. (Surfae chart is important for me)
                      2. 3D  Stacked Line chart
                      3. 3D stacked Spline
                      4. 3D candlestick

  Regards,
   Manu    
Vladimir Milev
Telerik team
 answered on 17 Aug 2010
4 answers
186 views
I have a RadTransitionControl set up as a prism Region:
<telerik:RadTransitionControl Name="MainContent"  Grid.Column="1" Grid.Row="1" cal:RegionManager.RegionName="{x:Static inf:RegionNames.MainContent}" HorizontalAlignment="Stretch" 
                                    VerticalAlignment="Stretch">
<telerik:RadTransitionControl.Transition>
<telerikTransitions:LinearFadeTransition  />
</telerik:RadTransitionControl.Transition>
</telerik:RadTransitionControl>

I'm getting an exception when switching views.  The exception is thrown when calling:
 
region.Activate(view)

The error is as follows:
System.InvalidOperationException was caught
  Message=Cannot perform action because the specified Storyboard was not applied to this object for interactive control.
  Source=PresentationFramework
  StackTrace:
       at System.Windows.Media.Animation.Storyboard.GetStoryboardClock(DependencyObject o, Boolean throwIfNull, InteractiveOperation operation)
       at System.Windows.Media.Animation.Storyboard.GetCurrentStateImpl(DependencyObject containingObject)
       at System.Windows.Media.Animation.Storyboard.GetCurrentState()
       at Telerik.Windows.Controls.TransitionControl.TransitionProvider.StopAnimation(Storyboard animation, FrameworkElement targetElement)
       at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.StopAnimation()
       at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.SetupAndStartTransitionAnimation(FrameworkElement target)
       at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.ChangeContent()
       at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.OnContentChange(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.TransitionControl.TransitionPresenter.set_CurrentContent(Object value)
       at Telerik.Windows.Controls.RadTransitionControl.OnContentChanged(Object oldContent, Object newContent)
       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.Controls.ContentControl.set_Content(Object value)
       at Microsoft.Practices.Composite.Presentation.Regions.ContentControlRegionAdapter.<>c__DisplayClass2.<Adapt>b__0(Object , NotifyCollectionChangedEventArgs )
       at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
       at Microsoft.Practices.Composite.Presentation.Regions.ViewsCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Microsoft.Practices.Composite.Presentation.Regions.ViewsCollection.AddAndNotify(IList items)
       at Microsoft.Practices.Composite.Presentation.Regions.ViewsCollection.AddAndNotify(Object item)
       at Microsoft.Practices.Composite.Presentation.Regions.ViewsCollection.itemMetadata_MetadataChanged(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at Microsoft.Practices.Composite.Presentation.Regions.ItemMetadata.InvokeMetadataChanged()
       at Microsoft.Practices.Composite.Presentation.Regions.ItemMetadata.DependencyPropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs args)
       at System.Windows.DependencyObject.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 Microsoft.Practices.Composite.Presentation.Regions.ItemMetadata.set_IsActive(Boolean value)
       at Microsoft.Practices.Composite.Presentation.Regions.Region.Activate(Object view)
       at Microsoft.Practices.Composite.Presentation.Regions.SingleActiveRegion.Activate(Object view)...

Any idea what's up?

Tonci Kucic
Top achievements
Rank 1
 answered on 17 Aug 2010
5 answers
115 views
Hi Team,

I'm writing a wrapper class basically to enable only few of the properties and events from the RadTreeView control.

i want to enable the events

Selected

 

 

="radTreeView1_Selected" Expanded="radTreeView1_Expanded" Collapsed="radTreeView1_Collapsed"

 

of the RadTreeView control in my wrapper class. 

here is my wrapper class.

public

 

 

class TngTreeView : TngBaseControl

 

{

#region

 

 

Constructors

 

 

 

static TngTreeView()

 

{

DefaultStyleKeyProperty.OverrideMetadata(

 

typeof(TngTreeView), new FrameworkPropertyMetadata(typeof(TngTreeView)));

 

RegisterDependencyProperties(

 

typeof(TngTreeView), typeof(RadTreeView));

 

}

 

 

public TngTreeView()

 

{

InternalFrameworkElement =

 

new RadTreeView();

 

 

 

this.AddVisualChild(InternalFrameworkElement);

 

}

#endregion

#region

 

 

Internal Control

 

 

 

private RadTreeView TreeView

 

{

 

 

get

 

{

 

 

return InternalFrameworkElement as RadTreeView;

 

}

}

 

 

public RadTreeView InternalControl

 

{

 

 

get

 

{

 

 

return TreeView;

 

}

 

 

set

 

{

InternalControlSetter(TreeView,

 

value);

 

}

}

#endregion

 

 

 

#region

 

 

Property: ToolTip

 

 

 

public string ToolTip

 

{

 

 

get { return (string)TreeView.GetValue(RadTreeView.ToolTipProperty); }

 

 

 

set { TreeView.SetValue(RadTreeView.ToolTipProperty, value); }

 

}

#endregion


}

appreciate your help

Manjerekar Rao
Miroslav
Telerik team
 answered on 17 Aug 2010
1 answer
1.2K+ views
Hi,

Is it possible to make the grid to be sorted initially? 
I'd prefer a declarative way to do it (in XAML).

Can you guys provide an example of a grid which is initially sorted by some column.

Thank you very much,
Ruben
Milan
Telerik team
 answered on 17 Aug 2010
2 answers
207 views
Hello,
Is it possible to get the cell value in CellStyleSelector.SelectStyle? I'm getting the whole object, that is nested in the row, and need just the particular cell value, cause the object doesn't contain it.
Jokerwolf
Top achievements
Rank 1
 answered on 17 Aug 2010
1 answer
99 views


ItemsSource
="{Binding Path=(ns:class.property)}"

does it support this syntax for strong type binding?
also is it supported in the columns? in the

 

DataMemberBinding

?


can you give me an example of how to use it with the gridView?

thanks
Rossen Hristov
Telerik team
 answered on 16 Aug 2010
1 answer
42 views
Want to have multiple tiles,
but when in a minimized state want to have one always at top of others.

So can you set some type of sort order when in this state.
Or is it just dependent on how you add in to the list ?
Miroslav
Telerik team
 answered on 16 Aug 2010
7 answers
188 views
Hi!

   Anyone have an idea of using combobox  in a Custom row layout? please  help me. Here is my code

<TextBlock Text="Sex"
           Grid.Column="1" Grid.Row="2"
           VerticalAlignment="Top" HorizontalAlignment="Left"
           Foreground="Black" FontWeight="Bold" Margin="0,0,0,0" />
 
//its respective editor is
 
<ComboBox Text="{Binding Sex}"
          Grid.Column="2" Grid.Row="2"
          VerticalAlignment="Top" HorizontalAlignment="Left"
          Foreground="Black" Width="70"
          Background="Transparent"
          BorderBrush="Transparent" Opacity="1" OpacityMask="White"
          IsEditable="False" Height="Auto">
          <ComboBoxItem />
          <s:String>Male</s:String>
          <s:String>Female</s:String>              
      </ComboBox>
 
 
//Binding of the column.
<Controls:GridViewDataColumn  Header="Sex"  DataMemberBinding="{Binding Sex}" />

Problem with me is I am not able to display the string that is present in the database initially or when program loads. I am able to change the sex and save it to the database but at first the combobx is blank when it should be displaying the string value in the database.

Greetings
Yavor Georgiev
Telerik team
 answered on 16 Aug 2010
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?