Telerik Forums
UI for WPF Forum
0 answers
156 views
Hi,
I have a problem with a RadCarouselPanel, my scenario is, that:
<ListView ItemTemplate="{DynamicResource DataTemplateEx}">
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<telerik:RadCarouselpanel >
</telerik:RadCarouselpanel >
</ItemsPanelTemplate>
</ListView.ItemsPanel>
</ListView>

and in the UserControl.Resouces I have defined the DataTempate like that
<DataTemplate>
<Border>
<Grid>
</Grid>
</Border>
</DataTemplate>

And when I selected a item, the background sometimes is grey and sometimes is blue, and I can't change the color.

Anyone Can help me?

Thanks very much.



Beatriz
Top achievements
Rank 1
 asked on 25 Jun 2012
2 answers
200 views
Hi guys!

I want to show KeyTips to the users but I don't get it working.
It works for the QuickAccessToolbar but not for a simple RibbonButton?
I don't see any differences concerning the demo apps. What's wrong?

Thanks!

Here is the code im using:

<
telerik:RadRibbonWindow x:Class="WpfApplication4.MainWindow"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"         xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"         WindowStartupLocation="CenterScreen"         WindowState="Maximized"         mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008">     <Grid>         <Grid.RowDefinitions>             <RowDefinition Height="Auto"/>             <RowDefinition Height="*"/>             <RowDefinition Height="Auto"/>         </Grid.RowDefinitions>         <telerik:RadRibbonView HorizontalContentAlignment="Stretch" Title="Testapp"                                 x:Name="RadRibbonView" telerik:KeyTipService.IsKeyTipsEnabled="True">             <telerik:RadRibbonView.QuickAccessToolBar>                 <telerik:QuickAccessToolBar Margin="15,0,0,0">                     <telerik:RadRibbonButton Text="Save"                              telerik:KeyTipService.AccessText="1" Click="RadRibbonButton_Click" />                     <telerik:RadRibbonButton Text="Undo" telerik:KeyTipService.AccessText="2" />                     <telerik:RadRibbonButton Text="Print" telerik:KeyTipService.AccessText="3" />                 </telerik:QuickAccessToolBar>             </telerik:RadRibbonView.QuickAccessToolBar>              <telerik:RadRibbonTab Header="testtab" telerik:KeyTipService.IsKeyTipsEnabled="True">                 <telerik:RadRibbonGroup Header="testgroup" >                     <telerik:RadRibbonButton Text="Test" telerik:KeyTipService.AccessText="T" Click="RadRibbonButton_Click"/>                 </telerik:RadRibbonGroup>             </telerik:RadRibbonTab>         </telerik:RadRibbonView>         <Grid Grid.Row="1">             <Grid.ColumnDefinitions>                 <ColumnDefinition Width="Auto"/>                 <ColumnDefinition Width="*"/>             </Grid.ColumnDefinitions>         </Grid>     </Grid> </telerik:RadRibbonWindow>
Petar Mladenov
Telerik team
 answered on 25 Jun 2012
3 answers
113 views
Hi,

When we look at a xmal control based off RadDocumentPane in Blend/Visual Studio nothing is displayed in the visual designer. Is this supported?

This example xmal will display blank in Blend/Visual Studio during design time but will work at run time. If change the RadDocumentPane to UserControl it works again the visual designer.

 <trd:RadDocumentPane x:Class="Views.Test"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:trd="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"
             xmlns:tc="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
             xmlns:trn="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation""
             mc:Ignorable="d" >
    <Grid>
        <ListBox Width="200" Height="200"> </ListBox>
    </Grid>
</trd:RadDocumentPane>
Konstantina
Telerik team
 answered on 25 Jun 2012
3 answers
165 views
I have license for WPF RadControls and everytime I run/debug my application in VS2010 I receive the "Enjoying your RadControls for WPF trial? You'll enjoy it even more with access to the latest updates across the suite and Telerik's legendary support!"

I do have the license, so is it an error seeing this message?  It started happening after I installed the newest controls Demo release, Q2 2012.
Dimitrina
Telerik team
 answered on 25 Jun 2012
4 answers
205 views
Hi,

I've implemented the drag/drop functionality as explained in this link. It's working as described. However, I would like to extend the functionality so that at the end of a drop I can renumber a column in my bound ObservableCollection and possibly save the updated order to the database.

The first way I thought to do this was to create an event handler on drop in the radgridview xaml. However, if I break-point the newly created handler in code-behind, it never enters it. I assume this is because it is handled in the RowReorderBehavior class. I'd like to keep the classes I copied from the above link as-is, so that I can use them for other RadGridView's, but be able to implement the additional functionality.

How can I do this? I'm aware adding another event handler may not be the best way to go about it so I'm open to other ideas. 
Peter
Top achievements
Rank 1
 answered on 25 Jun 2012
1 answer
164 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
135 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
268 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
97 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
134 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
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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?