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

Does the telerik controls in WPF support "shy toolbar"?

Thanks.
Valentin.Stoychev
Telerik team
 answered on 16 Jun 2010
7 answers
135 views
Hi,

We have an application using dock groups and the radpane control.

Whenever we change the tab in the dockgroup all the datacontexts for the controls in the radpane are being changed to a datacontext of one of the other tabs, so all the data is corrupted.

None of our code is changing the datacontext but the RadTabcontrol appears to be doing this. Only the datacontext for the controls is getting changed but not the radpanes datacontext!!!!

Below is the call stack? Any ideas why this is happening?

  PresentationFramework.dll!System.Windows.FrameworkElement.DataContext.set(object value) + 0x24 bytes
  Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadTabControl.UpdateSelectedElementDataContext() + 0xc5 bytes
  Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadTabControl.UpdateSelectedContainer(bool shouldFocus, Telerik.Windows.Controls.RadTabItem selectedItemContainer) + 0x5a bytes
  Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadTabControl.UpdateSelectedContent(int newIndex) + 0x13b bytes
  Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadTabControl.OnSelectedIndexChanged(int oldIndex, int newIndex) + 0x25a bytes
  Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadTabControl.OnSelectedIndexChanged(System.Windows.DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e) + 0x98 bytes
  WindowsBase.dll!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e) + 0x4c bytes
  PresentationFramework.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e) + 0x50 bytes
  WindowsBase.dll!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs args) + 0x3c bytes
  WindowsBase.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex entryIndex, System.Windows.DependencyProperty dp, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType) + 0x723 bytes
  WindowsBase.dll!System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty dp, object value, System.Windows.PropertyMetadata metadata, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType, bool isInternal) + 0x2eb bytes
  WindowsBase.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0x35 bytes
  Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadTabControl.SelectedIndex.set(int value) + 0x4d bytes
  Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadTabControl.NotifyChildIsSelectedChanged(Telerik.Windows.Controls.RadTabItem child) + 0x7c bytes
  Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadTabItem.OnIsSelectedChanged(bool oldValue, bool newValue) + 0x46 bytes
  Telerik.Windows.Controls.Navigation.dll!Telerik.Windows.Controls.RadTabItem.OnIsSelectedChanged(System.Windows.DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e) + 0x9b bytes



Tina Stancheva
Telerik team
 answered on 16 Jun 2010
2 answers
147 views
We use the dll's from 28.05.2010, version 2010.1.0528.35.

It seems like the e.NewData in the CellEditEnded always is null. 
Rieni De Rijke
Top achievements
Rank 1
 answered on 16 Jun 2010
1 answer
124 views
I'm trying to style my Y-Axis striplines (eventually to be bound), but I can't seem to do so correctly. Declaritvely, I can set a single chart's ChartArea.AxisY.StripLinesVisibility to Collapsed, but everything I have tried makes it seem as if these guys were impervious to styles. So basically: how to:
  * Declare the style correctly in XAML
  * Set the style correctly in C#, at the time of Chart creation (I must do it like this, as the charts are created at run time)

Currently, I have in my XAML:
<UserControl.Resources> 
    <Style TargetType="Rectangle" x:Key="StripLinesYStyle
      <Setter Property="Visibility" Value="Collapsed" /> 
    </Style> 
</UserControl.Resources> 

and where I'm creating the chart I have

var stripLineStyle = this.Resources["StripLinesYStyle"as Style; 
myChart.DefaultView.ChartArea.AxisY.AxisStyles.StripLineStyle = stripLineStyle; 



Sia
Telerik team
 answered on 16 Jun 2010
2 answers
312 views

Hello,

I have a window with a RadToolbar and a button in this toolbar :

        <telerik:RadToolBar Height="32" HorizontalAlignment="Left" VerticalAlignment="Top" Width="388">  
            <Button Height="23" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Name="button1">  
                Test  
            </Button>  
        </telerik:RadToolBar>  
 

All works fine, my button looks like a toolbar button (no border, no background).

But if I put a style on my button (even if the style is empty) :

        <telerik:RadToolBar Height="32" HorizontalAlignment="Left" VerticalAlignment="Top" Width="388">  
            <Button Height="23" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Name="button1">  
                Test  
                <Button.Style>  
                    <Style TargetType="Button">  
                    </Style>  
                </Button.Style>  
            </Button>  
        </telerik:RadToolBar>  
 

my button looks like a normal button (with border and background).

Is there a workaround for this issue ?

Thank you.

Patrick VADEL
Top achievements
Rank 1
 answered on 16 Jun 2010
1 answer
181 views
Hi,
I am binding a list of objects to an InformationLayer and trying to display:
- some text
- some shape, tied to current location and zoom level.
XAML looks like that:
            <map:InformationLayer ItemsSource="{Binding Sales}"
                <map:InformationLayer.ItemTemplate> 
                    <DataTemplate> 
                        <Canvas map:MapLayer.Location="{Binding Location}"
                            <TextBlock Text="Hi world"/> 
                            <map:MapRectangle  
                                Location="{Binding Location}" 
                                Width="1" 
                                Height="1" 
                                RadiusX="0.1" 
                                RadiusY="0.1" 
                                Fill="#7FFFFF00" 
                                Stroke="Red" 
                                StrokeThickness="2" /> 
                        </Canvas> 
                    </DataTemplate> 
                </map:InformationLayer.ItemTemplate> 
            </map:InformationLayer> 

I can see the TextBlock (at the right location) but not the MapRectangle (beside, I have to use a custom attached property to bind the location!).
It seems that MapRectangle (or any drawable) can only be added as direct childs to the InformationLayer class.
Am I correct?
And if so, I see little use in the map shape classes!

Regards
Frederic
Andrey
Telerik team
 answered on 16 Jun 2010
3 answers
93 views
Hi!

I filter data in Radgridview and then change this data dynamically. But when I want to clear filter (changed data) nothing clears. 
What is solution? Can you help?
Vlad
Telerik team
 answered on 16 Jun 2010
1 answer
125 views
We are experiencing serious performance issues using the RadChart as the number of series increases.  At times we receive a Stack Overflow exception from with the charting code.  The problem appears to be related to using a Categorical X-Axis.  For a Categorical X-Axis it appears that the chart loading time increases exponentially as the # of series increases.  Using a Numerical  X-Axis does not cause a problem and the load time increases linearly as the # of series is increases.

I created a simple example application that charts a bar series.  With only 3 Points per series the load times were as follows:

100 Series (300 total points): 3.4 sec
200 Series (600 total points): 13.9 sec
400 Series (1200 total points): 57.5 sec
800 Series (2400 total points):  Stack Overflow exception

As the series count doubles the load time increases 4X.  As a comparison, 1200 points in 400 series takes 57.5 sec, but the same number of points in only 1 series (1200 points) plot  < 1 sec.

Using a numerical X-Axis the 400 Series x 3 points plots in 10 sec.

I have turned animations off, and data sampling will not help since the problem occurs with very few points per series.

Looking at the call stack during the exception the problem appears to be causes during processing of the categories for the X-Axis.  For the above examples the were only a total of 3 categories on the X-Axis.

I am also submitting a support ticket with a sample application.
Ves
Telerik team
 answered on 16 Jun 2010
3 answers
81 views
*Edit* Please fix title to say "Hierarchical Objects from Serialized XML"

I have decided to go away from xml databinding and instead use object databinding because of the advantages you get using OnPropertyChanged.  The easiest way to get this done is to create a xsd of your xml and then use a program called Xsd2Code to have all your properties contain OnPropertyChanged.

I have created the xsd and generated file with no problems, but I can not get the treeview to display the serialized data.

I am having problems going more than 1 layer deep.  I am including my sample program to keep this post shorter and easier for everyone.  It can be found here

Thanks in advance
Mark




Miro Miroslavov
Telerik team
 answered on 16 Jun 2010
1 answer
119 views
Hi guys,

I have found this article http://www.telerik.com/help/silverlight/gridview-how-to-create-external-filtering.html
which explains how to do nice external custom search on all the columns of the grid.

In that example it is convenient that all of the columns are strings which makes the problem a little bit easier.

In my code most of the columns are strings but I also have some that are DateTime, enums (status fields), and integers.

I know how to exclude these columns from participating in the search but that is not acceptable solution. I need to be able to search all the columns regardless of the input.

Is there a way to set all of the columns to be of type:String for filtering function (but for sorting they need to be of the correct type DateTime, int, etc)?
Any suggestion on how to solve my problem are helpful.


Thanks,







Veselin Vasilev
Telerik team
 answered on 15 Jun 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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?