Telerik Forums
UI for WPF Forum
1 answer
157 views
Hello,
I have a problem with pinpoints location. I have several pinpoints loaded on the map  with a text that appears on the right.
The problem is that if I have two pinpoints very close the text of both points is overlapped.
Is there a way of showing the text in a proper way, avoiding this overlaps?
I attach an image of this trouble. Any idea?

I´d also like to change text Font (size,color..), how can I do that?

Thank you,

Esther
Andrey
Telerik team
 answered on 25 Jun 2012
1 answer
131 views
Very standard & basic chart mixing both line and candlestick series on same axes; is this possible in RadChartView? I've got a working solution in the old RadChart, but performance is dire and I've been trying to replicate similar functionality in RadChartView to benefit from improved performance.

The only "X" value I can find on OhlcDataPoint is category. Am I missing something obvious?

DateTimeCategoricalAxis is not an option as datapoints are non-uniform, and the line charts must have more granularity than the candlesticks on the x-axis.
Nikolay
Telerik team
 answered on 25 Jun 2012
1 answer
252 views
We have the following GridView:
<telerik:RadGridView Grid.Row="2"  RowDetailsTemplate="{StaticResource FundRowDetails}"
                             RowDetailsVisibilityMode="Collapsed" 
                             Name="radGridViewFunds"
                             CanUserFreezeColumns="False"
							 AutoGenerateColumns="False" 
                             RowHeight="28" 
                             EnableColumnVirtualization="False"
						     ScrollMode="RealTime" 
                             RowIndicatorVisibility="Collapsed" 
                             IsSynchronizedWithCurrentItem="True" 
                             IsReadOnly="true"
                             LoadingRowDetails="RadGridViewFundsLoadingRowDetails" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RowActivated="RadGridViewFundsRowActivated" >
                <telerik:RadGridView.Columns>
                    <telerik:GridViewToggleRowDetailsColumn />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding CompanyName, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Company" Width="150" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding ManagerName, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Manager" Width="150" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding FamilyName, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Family" Width="150" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding StrategyName, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Strategy" Width="150" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding FundDisplayName, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Name" Width="250" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding FundCd, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Code" Width="100" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding OnOffShore, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="On/Off Shore" Width="100" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding FundSeries, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Series" Width="100" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding FundClass, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Class" Width="100" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Administrator, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Administrator" Width="100" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding ReturnType, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Return Type" Width="100" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding ReturnSource, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Return Source" Width="100" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Auditor, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Auditor" Width="100" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding StrategyGroupName, Mode=TwoWay, UpdateSourceTrigger=Default}" Header="Strategy Group Name" Width="100" />
                </telerik:RadGridView.Columns>
            </telerik:RadGridView>
In addition, there is a button that is used to add a new item to the gridview through the datasource.
After a new row is added, I would like to have the row expanded. Here is the code for that:

private void RadButtonNewClick(object sender, RoutedEventArgs e)
        {
            LogProcess("New button was clicked");
 
            ControlTabs.SelectedIndex = 0;
 
            checkShowAllFunds.IsChecked = true;
 
            var newFundPending = _fundList[0] != null && !_fundList[0].UpdateDtm.HasValue;
            if (newFundPending)
                return;
 
            textBoxFundNameCriteria.Text = string.Empty;
 
            LogProcess("Inserting blank fund into fund view data");
 
            var newFund = new vFund();
            _fundList.Insert(0, newFund);
 
            _newFund = newFund;
 
            LogProcess("Rebinding data");
            radGridViewFunds.ItemsSource = _fundList;
            radGridViewFunds.Rebind();
 
            radGridViewFunds.SelectedItem = newFund;
			radGridViewFunds.CurrentItem = newFund;
 
            var newRowGridItem = radGridViewFunds.ChildrenOfType<GridViewRow>().FirstOrDefault();
            if (newRowGridItem == null)
                return;
 
            radGridViewFunds.ScrollIntoView(newFund);
            radGridViewFunds.UpdateLayout();
			
            newRowGridItem.DetailsVisibility = Visibility.Visible;			
        }
However, The newRowGridItem.DetailsVisibility does not work, and the newly added row remains collapsed. How can I Programmatically expand the new row? Thanks.
Maya
Telerik team
 answered on 25 Jun 2012
0 answers
93 views
Hi, 

I am using version q2 2012.
I have memory leak when doing:
<telerik:RadGridView.GroupDescriptors>
                            <telerik:GroupDescriptor Member="Category" />
</telerik:RadGridView.GroupDescriptors>

I show that there was a post for something similar to this but it was from 2009. 
Please help...

Thanks.
Bernoli
Top achievements
Rank 1
 asked on 24 Jun 2012
1 answer
122 views
Here is the code that I have for a bar chart for the hover and item select interactivity. But I am not getting either of these interactivity effects.

<chart:RadChart Name="BarChart"
                                Content=""
                                Margin="5"
                                ItemsSource="{Binding CommunicationChartData}"
                                telerik:StyleManager.Theme="{Binding SelectedTheme}">
                    <chart:RadChart.SeriesMappings>
                        <charting:SeriesMapping ChartAreaName="ChartArea1" >
                            <charting:SeriesMapping.SeriesDefinition>
                                <charting:BarSeriesDefinition>
                                    <charting:BarSeriesDefinition.InteractivitySettings>
                                        <charting:InteractivitySettings SelectionMode="Single"
                                                                        HoverScope="Item"
                                                                        SelectionScope="Item" />
                                    </charting:BarSeriesDefinition.InteractivitySettings>
                                </charting:BarSeriesDefinition>
                            </charting:SeriesMapping.SeriesDefinition>
                            <charting:SeriesMapping.ItemMappings>
                                <charting:ItemMapping FieldName="Type"
                                                      DataPointMember="XCategory" />
                                <charting:ItemMapping FieldName="Count"
                                                      DataPointMember="YValue" />
                            </charting:SeriesMapping.ItemMappings>
                        </charting:SeriesMapping>
                    </chart:RadChart.SeriesMappings>
                    <chart:RadChart.DefaultView>
                        <charting:ChartDefaultView>
                            <charting:ChartDefaultView.ChartTitle>
                                <charting:ChartTitle Content=""
                                                     FontSize="14"
                                                     HorizontalAlignment="Stretch"></charting:ChartTitle>
                            </charting:ChartDefaultView.ChartTitle>
                            <charting:ChartDefaultView.ChartLegend>
                                <charting:ChartLegend Name="legend1"
                                                      Visibility="Visible" />
                            </charting:ChartDefaultView.ChartLegend>
                            <charting:ChartDefaultView.ChartArea>
                                <charting:ChartArea ItemClick="BarChartArea_ItemClick"
                                                    x:Name="ChartArea1"
                                                ItemWidthPercent="30"
                                                LegendName="legent1"
                                                SmartLabelsEnabled="True" />
                            </charting:ChartDefaultView.ChartArea>
                        </charting:ChartDefaultView>
                    </chart:RadChart.DefaultView>
                </chart:RadChart>    
Pabitra
Top achievements
Rank 1
 answered on 22 Jun 2012
3 answers
239 views
Hi,

I need to get the current row's Index in rowLoaded event of Rad Grid.

Here is my code:
   private void ultraGridCaseList_RowLoaded(object sender, Telerik.Windows.Controls.GridView.RowLoadedEventArgs e)
        {
//  how to get the index of current row?
}

and please let me know Isn't there equivalent of RowDatabound Event in WPF-RadGrid as in  Asp.net ?

Thanks
Dimitrina
Telerik team
 answered on 22 Jun 2012
9 answers
282 views
Hi

Is it possible to show tooltip for particular dates in a month. I can set tooltip at control level but i need to set tooltip at an individual date level.

Thanks
Kiran
Michel
Top achievements
Rank 1
 answered on 22 Jun 2012
2 answers
89 views
How do you get the collection of rows that have been added to the TreeListView? Currently our usage of the TreeListView is to display data elements that we have converted from an older version to a newer version. Many of the elements in the TreeListView may have errors or warnings associated with the translation. Sometimes we want to see these elements displayed in the TreeListView, and sometimes we only want to see the successful ones, and sometimes we want to extract these errors and warnings and put them in a list control, so extraction is needed. Thank you for any recommendations that you have.
Bill
Top achievements
Rank 2
 answered on 22 Jun 2012
1 answer
241 views
Hi,

I would like to rise an event when a user click on a TextBlock located in the group header of my ScheduleView. Here is my XAML :

            <telerik:RadScheduleView.GroupHeaderContentTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding FormattedName}" Grid.Column="1" FontWeight="Bold" Width="100" HorizontalAlignment="Left" VerticalAlignment="Center">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="MouseUp">
                                    <commands:EventToCommand Command="{Binding TestCommand}" />
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                    </TextBlock>
                </DataTemplate>
            </telerik:RadScheduleView.GroupHeaderContentTemplate>

Nothing happen, and the TestCommand is never called in my ViewModel, could you tell me if this is possible, and if yes how to fire this event ? I tried other events than MouseUp and the result is the same.

Thanks for your help,
Doots
Yana
Telerik team
 answered on 22 Jun 2012
7 answers
310 views
Hi

I want to extend the default rich text box
context menu.
I'd like to add a new entry with a submenu entries,
when seelcting such an entry I want to fire some
command thatz inserts fragments into the rrtb doc.
How am I gonna do it?
From what I've read in the forums I need to
implement a custom "IContextMenuContentBuilder"
Is that correct?
And how can I do that without replacing the original ctx menu?

Chris
Robert
Top achievements
Rank 1
 answered on 22 Jun 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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
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
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?