Telerik Forums
UI for WPF Forum
2 answers
313 views
Hey,

I'm using RadDiagram in a databound application. For each shape I have some additional information I want to provide. Is there any way to set the Tooltip of a shape? I tried to set the ToolTip property on the shape's style and even in the content of the shape I am not able to have a tooltip on a component. It seems like the Diagram itself disables all tooltips of child elements. Hope you can tell me a way to show tooltips on shapes.

Thank you in advance.

Best Regards,
Peter Schmidt
Peter
Top achievements
Rank 1
 answered on 05 Nov 2012
3 answers
220 views
Hi,

I use the RadGridView in a very simple way. I bind a collection of simple objects with two string properties and a collection of some arbitrary child objects to the RadGridView. In addition this collection is cleared and refilled every three seconds.

The situation I see is if the class used in the bound collection implements the INotifyPropertyChanged interface everything is fine. If this class does not implement this interface it seems to be leaking and runs out of memory after about 20 seconds (OutOfMemoryException).

Is it really a must to implement this interface even if no data change is necessary?
It's a little bit hard if you want to use an external object and always have to wrap it.

Or is it just a Bug?

Telerik Version: 2011.1.315.40

Thanks and best regards

PS. Is there a way to provide you a sample project? I have a simple one were the effect is clearly seen.
Dimitrina
Telerik team
 answered on 05 Nov 2012
1 answer
100 views
I use the StackedBarSeries to display data.While drawing some of the columns are overwritten by other columns. Tell me how to fix this?
Q2 2012 SP2

<telerik:RadChart>
                    <telerik:RadChart.SeriesMappings>
                        <telerikCharting:SeriesMapping ItemsSource="{Binding Source={StaticResource lastDaysVM}, Path=Count.InboxServed}" LegendLabel="↓ Вручено">
                            <telerikCharting:SeriesMapping.SeriesDefinition>
                                <telerikCharting:StackedBarSeriesDefinition StackGroupName="Inbox"></telerikCharting:StackedBarSeriesDefinition>
                            </telerikCharting:SeriesMapping.SeriesDefinition>
                            <telerikCharting:SeriesMapping.ItemMappings>
                                <telerikCharting:ItemMapping FieldName="Date" DataPointMember="XCategory"></telerikCharting:ItemMapping>
                                <telerikCharting:ItemMapping FieldName="Count" DataPointMember="YValue"></telerikCharting:ItemMapping>
                            </telerikCharting:SeriesMapping.ItemMappings>
                        </telerikCharting:SeriesMapping>
                         
                        <telerikCharting:SeriesMapping ItemsSource="{Binding Source={StaticResource lastDaysVM}, Path=Count.InboxNotServed}" LegendLabel="↓ Не вручено">
                            <telerikCharting:SeriesMapping.SeriesDefinition>
                                <telerikCharting:StackedBarSeriesDefinition StackGroupName="Inbox"></telerikCharting:StackedBarSeriesDefinition>
                            </telerikCharting:SeriesMapping.SeriesDefinition>
                            <telerikCharting:SeriesMapping.ItemMappings>
                                <telerikCharting:ItemMapping FieldName="Date" DataPointMember="XCategory"></telerikCharting:ItemMapping>
                                <telerikCharting:ItemMapping FieldName="Count" DataPointMember="YValue"></telerikCharting:ItemMapping>
                            </telerikCharting:SeriesMapping.ItemMappings>
                        </telerikCharting:SeriesMapping>
                         
                        <telerikCharting:SeriesMapping ItemsSource="{Binding Source={StaticResource lastDaysVM}, Path=Count.InboxNotServedRejected}" LegendLabel="↓ Отклонено">
                            <telerikCharting:SeriesMapping.SeriesDefinition>
                                <telerikCharting:StackedBarSeriesDefinition StackGroupName="Inbox"></telerikCharting:StackedBarSeriesDefinition>
                            </telerikCharting:SeriesMapping.SeriesDefinition>
                            <telerikCharting:SeriesMapping.ItemMappings>
                                <telerikCharting:ItemMapping FieldName="Date" DataPointMember="XCategory"></telerikCharting:ItemMapping>
                                <telerikCharting:ItemMapping FieldName="Count" DataPointMember="YValue"></telerikCharting:ItemMapping>
                            </telerikCharting:SeriesMapping.ItemMappings>
                        </telerikCharting:SeriesMapping>
                         
                        <telerikCharting:SeriesMapping ItemsSource="{Binding Source={StaticResource lastDaysVM}, Path=Count.OutboxSend}" LegendLabel="↑ Отправлено">
                            <telerikCharting:SeriesMapping.SeriesDefinition>
                                <telerikCharting:StackedBarSeriesDefinition StackGroupName="Outbox"></telerikCharting:StackedBarSeriesDefinition>
                            </telerikCharting:SeriesMapping.SeriesDefinition>
                            <telerikCharting:SeriesMapping.ItemMappings>
                                <telerikCharting:ItemMapping FieldName="Date" DataPointMember="XCategory"></telerikCharting:ItemMapping>
                                <telerikCharting:ItemMapping FieldName="Count" DataPointMember="YValue"></telerikCharting:ItemMapping>
                            </telerikCharting:SeriesMapping.ItemMappings>
                        </telerikCharting:SeriesMapping>
                         
                        <telerikCharting:SeriesMapping ItemsSource="{Binding Source={StaticResource lastDaysVM}, Path=Count.OutboxNotSend}" LegendLabel="↑ Не отправлено">
                            <telerikCharting:SeriesMapping.SeriesDefinition>
                                <telerikCharting:StackedBarSeriesDefinition StackGroupName="Outbox"></telerikCharting:StackedBarSeriesDefinition>
                            </telerikCharting:SeriesMapping.SeriesDefinition>
                            <telerikCharting:SeriesMapping.ItemMappings>
                                <telerikCharting:ItemMapping FieldName="Date" DataPointMember="XCategory"></telerikCharting:ItemMapping>
                                <telerikCharting:ItemMapping FieldName="Count" DataPointMember="YValue"></telerikCharting:ItemMapping>
                            </telerikCharting:SeriesMapping.ItemMappings>
                        </telerikCharting:SeriesMapping>
                         
                        <telerikCharting:SeriesMapping ItemsSource="{Binding Source={StaticResource lastDaysVM}, Path=Count.OutboxNotSendRejected}" LegendLabel="↑ Отклонено">
                            <telerikCharting:SeriesMapping.SeriesDefinition>
                                <telerikCharting:StackedBarSeriesDefinition StackGroupName="Outbox"></telerikCharting:StackedBarSeriesDefinition>
                            </telerikCharting:SeriesMapping.SeriesDefinition>
                            <telerikCharting:SeriesMapping.ItemMappings>
                                <telerikCharting:ItemMapping FieldName="Date" DataPointMember="XCategory"></telerikCharting:ItemMapping>
                                <telerikCharting:ItemMapping FieldName="Count" DataPointMember="YValue"></telerikCharting:ItemMapping>
                            </telerikCharting:SeriesMapping.ItemMappings>
                        </telerikCharting:SeriesMapping>
                    </telerik:RadChart.SeriesMappings>
                     
                    <telerik:RadChart.DefaultView>
                        <telerikCharting:ChartDefaultView ChartLegendPosition="Bottom">
                            <telerikCharting:ChartDefaultView.ChartLegend>
                                <telerikCharting:ChartLegend x:Name="chartLegend" Header="Корреспонденция"></telerikCharting:ChartLegend>
                            </telerikCharting:ChartDefaultView.ChartLegend>
                            <telerikCharting:ChartDefaultView.ChartArea>
                                <telerikCharting:ChartArea LegendName="chartLegend">
                                    <telerik:ChartArea.AxisY>
                                        <telerikCharting:AxisY MinValue="0" MinorTickPointMultiplier="1"></telerikCharting:AxisY>
                                    </telerik:ChartArea.AxisY>
                                    <telerikCharting:ChartArea.AxisX>
                                        <telerikCharting:AxisX DefaultLabelFormat="dd-MMM" LabelRotationAngle="90"></telerikCharting:AxisX>
                                    </telerikCharting:ChartArea.AxisX>
                                </telerikCharting:ChartArea>
                            </telerikCharting:ChartDefaultView.ChartArea>
                        </telerikCharting:ChartDefaultView>
                    </telerik:RadChart.DefaultView>
                </telerik:RadChart>
Petar Marchev
Telerik team
 answered on 05 Nov 2012
1 answer
86 views
Hi -- I've been working with the RadDocking framework and Prism, and am very happy with the way things are coming.
However, I've run into a snag with the Visual Studio designer for XAML on RadDocumentPane views.

My app is using a custom region adapter from these forums for the RadPaneGroup, which is working great.  The views that I create in my other projects are where the issue comes in.  The XAML for those views looks something like this (obviously more interesting than just a single hello world button).  Note that this is the whole file -- there is no encapsulating user control or anything. 
<telerikDocking:RadDocumentPane x:Class="Nwp.BackOffice.Settings.MatchingCriteria.RadDocumentPaneTest"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                     xmlns:telerikDocking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"
                     mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Button>Hello World</Button>
    </Grid>
</telerikDocking:RadDocumentPane>

In the designer view, all I can see is a 300x300 grey box -- none of the inside contents.  I *can* change it from a RadDocumentPane to a UserControl (top, bottom tags, then any Resources tags, etc.  This lets me see the contents properly, but then I have to go back and change it back before compile and run time.

Any insight as to how I might better play with the designer (have tried in VS 2010 Utilimate and VS 2012 Ultimate with same results).

Thanks in advance -
Yana
Telerik team
 answered on 05 Nov 2012
0 answers
140 views
 Hi This Surya ,I want change group header background color in rad grid view .I attached a screen shot .can u send design code for me .I am waiting for your reply.


Thanks & Regards
surya
Jeevan
Top achievements
Rank 1
 asked on 05 Nov 2012
5 answers
501 views
Hello !
Is there any example of Using RadEntityFrameworkDataSource with RadGridView for Editing ?
I Want to Insert and Edit Rows and Save this to the Database.
In My Testproject i Have an Entity Model with Name 'TestDB' it Only have one Entity 'Adresse' With Fields ID, Name, Street, ZIP, Town
My Code now looks like this: (There is only Xaml Code, no Code Behind or other Classes):
I Can Insert Rows with the Insert Button.
The Save Button is Enabled after Editing, after Clicking it, it goes Disabled, but no Changes are saved to the Database.
<Window x:Class="RadControlsEFTest.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:local="clr-namespace:RadControlsEFTest"
                Title="MainWindow" Height="500" Width="800" WindowStartupLocation="CenterScreen">
        <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto"/>
      <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
      <telerik:RadEntityFrameworkDataSource Name="AdressDataSource" QueryName="Adresse">
      <telerik:RadEntityFrameworkDataSource.ObjectContext>
        <local:TestDBEntities/>
      </telerik:RadEntityFrameworkDataSource.ObjectContext>
    </telerik:RadEntityFrameworkDataSource>
    <StackPanel Orientation="Horizontal" Background="LightBlue">
      <telerik:RadButton Content="Save" Width="70" Margin="5" Command="telerik:RadGridViewCommands.CommitEdit" CommandTarget="{Binding ElementName=RadGridView}" />
      <telerik:RadButton Content="Insert" Width="70" Margin="5" Command="telerik:RadGridViewCommands.BeginInsert" CommandTarget="{Binding ElementName=RadGridView}" />
    </StackPanel>
    <telerik:RadGridView Name="RadGridView" Grid.Row="1" ItemsSource="{Binding DataView, ElementName=AdressDataSource}"/>
        </Grid>
</Window>
Vlad
Telerik team
 answered on 05 Nov 2012
1 answer
137 views
 Hi.. I have a GridViewComboBox.. I need to fire an messagebox if the user selects a specific value.
How can I do this?
thanks again


      <telerik:GridViewComboBoxColumn x:Name="cmbCategory" Header="Contact Category" DataMemberBinding="{Binding CallActivity_category_Id}" Width="140" DisplayMemberPath="CallActivity_category_title" telerik:TextSearch.TextPath="CallActivity_category_title" 
                                        SelectedValueMemberPath="CallActivity_category_Id" />

Yoan
Telerik team
 answered on 05 Nov 2012
2 answers
121 views
Hi,

I have a grid with servere Column Groups.
-- "Base Product" "End Product" "Sales"
And the user is enabled to drag columns.
My problem - the user can now drag the column "Number of items" from Sales to "somewhere".

This results in a "splitted group header".

Is there a (simple) way to restrict dragging of a column within a column group?

And just another question - how can I place text on the default loading indicator?
I found no template for it - and also no property like "Loading content" or so.
All I want to do is to place a text "Loading Items please be..." on the indicator.

Manfred
ManniAT
Top achievements
Rank 2
 answered on 04 Nov 2012
3 answers
425 views
Hi all,

I'm using the Crystal Reports 9 - "Export to disk file" option to generate pdf file(s) from my reports.
This works fine: I can open the reports using Acrobat Reader and they look perfect. However, as soon as I load the pdf in the RadPDFViewer (version 2012.2.1009.40), the report becomes completely unreadable (replacing the text with strange font characters as if the font is not there).
I tried it with Arial, Times New Roman, Courier, Aharoni... but nothing works.

Strangely enough: If I "print" the same report to a PDF printer to generated the PDF (instead of export), then it works fine !

Any help would be very much appreciated! 

Kind regards,
Wim
JIG
Top achievements
Rank 1
 answered on 04 Nov 2012
5 answers
487 views
Hi,

I want implement something like this http://tv.telerik.com/watch/aspnet-ajax/custom-color-with-radcolorpicker 
My Code:
<telerik:RadColorPicker StandardPaletteVisibility="Hidden" MainPalette="Web216" Background="{Binding Path=Color, Mode=OneWay, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource colorToBrushConverter}}"
                                                       SelectedColor="{Binding Path=Color, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource colorToBrushConverter}}"
                                                       Grid.Column="0" Margin="5" AutomaticColor="White" IsDropDownOpen="True" >
                                   <telerik:RadColorPicker.ContentTemplate>
                                       <DataTemplate>
                                           <TextBlock Text="">
                                           </TextBlock>
                                       </DataTemplate>
                                   </telerik:RadColorPicker.ContentTemplate>
                               </telerik:RadColorPicker>
                               <TextBlock Grid.Column="1" Text="{Binding Path=Color, Mode=OneWay, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource colorToKnownNameConverter}}" Margin="5" IsEnabled="False"></TextBlock>
                           </Grid>
                       </DataTemplate>
Everything is fine. I just want to have a button "Custom Color" like in the video or something similar.

Thanks! 

Petar Mladenov
Telerik team
 answered on 02 Nov 2012
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?