Telerik Forums
UI for WPF Forum
1 answer
167 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
229 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
155 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.3K+ 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
237 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
131 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
63 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
249 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
1 answer
212 views

         Hello sir / Madam ,

                       I am using Telerik RadToolBar. I want to customize it like
                       1. I want to show it with round corners  at edges.
                       2. When mouse is over on particular tool bar button i want to show it with some color which is not predefined by telerik
                            controls by default.
                       3. I want to disable the tool bar overflow which showing at the end of tool bar permanently

                        If any body know the solution please  kindly forward it to me as early as possible............
 
                        
Miro Miroslavov
Telerik team
 answered on 16 Aug 2010
4 answers
163 views
Hi,

I'm using the RadGridView with a custon filter row like it is shown in one of the demo samples. I also have on custom column configuration dialog that is used to add, remove or reorder columns. When the column configuration is modified within this dialog I first remove all Columns and FilterDescriptors. Then I add the columns again according to the new configuration. When I try to add the FilterDescriptors I get an exception with the following message and stacktrace:

Object reference not set to an instance of an object.

   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   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)

I'm adding the FilterDescriptors in the DataType PropertyChanged event of the columns. I'm doing it this way because otherwise the correct DataType is not available.

When I add the same FilterDescriptors some time later in the click event handler of a button, the exception does not occur.

Any suggestions? Is there another event that is fired some time after DataType PropertyChanged event of the columns and can be used to add the FilterDescriptors.

Regards,

Uli
Rossen Hristov
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?