Telerik Forums
UI for WPF Forum
1 answer
174 views
I have a small application for editing elements on a Canvas placed inside a ListBox as the ItemsPanel.  As the CurrentSlide via timer or pager buttons I would like the Transitions to be displayed against the entire canvas.
What would be the best way to place the Canvas into a TransitionControl and notify it that the outer CurrentSlide has changed.  I would prefer not placing the entire ListBox within a DataTemplate which is the only available option I can see off hand.  Any help would be appreciated.


<TextBlock Text="{Binding CurrentSlide.Name}" />
<TextBlock Text="{Binding CurrentSlide.Description}" />
  
// Would like to overlay Transitions onto the Listbox below when the CurrentSlide changes.  Listbox uses a canvas to position and render elements.
<ListBox x:Name="SlideList" BorderBrush="Transparent" BorderThickness="0" ItemsSource="{Binding CurrentSlide.Elements}" SelectionChanged="SlideList_SelectionChanged" >
                                    <ListBox.ItemsPanel>
                                        <ItemsPanelTemplate>
                                            <Canvas x:Name="editCanvas"  Background="{Binding CurrentSlide.Background, Converter={StaticResource BackgroundConverter}}" />
  
                                        </ItemsPanelTemplate>
                                    </ListBox.ItemsPanel>
</ListBox>
Nasko
Telerik team
 answered on 26 Nov 2014
1 answer
92 views
Hi,

I received an unhandled exception today when copying and pasting a table from a Word Document into a radrichtextbox and trying to select the table by holding the left mouse button down and dragging the cursor from the top left of the table (or just outside the top left of the table) to the bottom right of the table.  It seems to be random, though.  I can't reproduce it all the time.  I have attached a stack trace to expedite debugging.  I am using the latest official release 2014.3.1021.45.

Please advise.

Thanks,
Tony
Svetoslav
Telerik team
 answered on 26 Nov 2014
1 answer
127 views
Hi,
i got a problem that i got 3 Lineseries which got just 1 not matching XAxis-Value.
My Database looks like this

Series 1
value    Date
0    2014.11.25 09:00:00
5    2014.11.25 02:00:00
10    2014.11.25 03:00:00
15    2014.11.25 04:00:00

Series 2
20    2014.11.25 01:00:00
25    2014.11.25 02:00:00
30    2014.11.25 03:00:00
35    2014.11.25 04:00:00

Series 3
40    2014.11.25 01:00:00
45    2014.11.25 02:00:00
50    2014.11.25 03:00:00


When i add them to my chartview the first series is displayed right. But the order of the second and third series are messed up so the first item is the last point.

For the XAxis i already use DateTimeContinuousAxis.
Its the same Problem as from this thread: http://www.telerik.com/forums/multiple-x-axis-lineseries-issue
Matthias
Top achievements
Rank 1
 answered on 26 Nov 2014
4 answers
1.2K+ views
Hi,
I wondered if i can reach to this result with the rad progress bar (see attached file).
I have tried to reach to this result without success....
Kalin
Telerik team
 answered on 26 Nov 2014
1 answer
233 views
Hi,
Can you please help me in this...

I am facing a problem, using RadGrid and since it has many records I have used RadPager. I have a GridViewSelectColumn in my grid to select and deselct all. The paging works perfectly. I am using MVVM patterm in my solution.
Please Help me in achieving following scenarios:

1) When Select All suppose I have 186 records and my page size is 10 so I have 19 pages in raddatapager and last one has only 6 records. how can I select all the 186 records  

2) To capture my selecteditems I have attached a behaviour to grid to get the selected Items in my view model. There I am only getting the first page selected Items
((CAManagementViewModel)this.AssociatedObject.DataContext).SelectedVehicles = this.AssociatedObject.SelectedItems;

3) In the above property of selected Items if user selects different records on different page how to get all maintained in SelectedItems of
grid.

Thanks a lot in advance. Please some help, Its urgent.
Dimitrina
Telerik team
 answered on 26 Nov 2014
5 answers
362 views
Hello,

I am using your trail PDFViewer and its nearly perfect.
I will buy it as soon as you fix the only problem I have.

The problem is that the panning is very slow, when I swipe down/up to browse the the pages, I feel like the loading speed of the page / the speed of browsing is very slow compared to scroll using the scrollbar / mousewheel
Deyan
Telerik team
 answered on 26 Nov 2014
1 answer
64 views
Hi,
I am trying to figure out how to show a diagram in my Radgridview if that is even possible... The diagram must be shown above rows (rows contained under image are the detail of parts contained in diagram). In my datasource I have a bunch of parts which contain the image path of diagram and diagram names... I have been able to group data by diagram name but still looking for a way to show diagram in grid. I also attached an ugly mock up of what I am trying to achieve.

Thanks to all of you for your answers.
Alex
Alexandre
Top achievements
Rank 1
 answered on 26 Nov 2014
1 answer
141 views
Hi,

I'm encoutering an issue while trying to record a CodedUI Test over a very simple WPF application which looks like this :

<Window
        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" x:Class="WpfApplication2.MainWindow"
        Title="MainWindow" Height="350" Width="525">
  <Grid Margin="0,0,2,0">
    <telerik:RadTabControl HorizontalAlignment="Stretch" Margin="14,27,0,10" VerticalAlignment="Stretch">
      <telerik:RadTabItem Header="Tab1" Content="abc"/>
      <telerik:RadTabItem Header="Tab2" Content="abc"/>
    </telerik:RadTabControl>
  </Grid>
</Window>

I'm using a Windows 8.1 workstation. If the language English (US) is used as the Windows display language, when I try to perform an assertion on the RadTabControl, the ItemStatus property contains the following generated string, which seems correct :
... <Property Name="SelectedValue" Value="Telerik.Windows.Controls.RadTabItem Header:Tab1 Content:abc" /> ...

In another hand, if the language pack French (Switzerland) is used, with the exact same application and the exact same assertion, the generated string looks like this :
... <Property Name="SelectedValue" Value="Telerik.Windows.Controls.RadTabItem Header : Tab1 Content : abc" /> ...

We can notice the whitespaces added before and after the column character.

The issue with this behavior is that if we record a CodedUI Test on machine with English (US) settings, and playback on a machine with French (Switzerland) settings, the assertion will fail.

Can someone please look into this issue ?

Thank in advance.
-Vince

Peshito
Telerik team
 answered on 26 Nov 2014
1 answer
101 views
Hi, 
I have a trial version for your products, in order to see if it fits my needs.
I found what would be perfect for my new desktop app using WPF here, but unfortunately it's for silverlight, here's the link:
http://demos.telerik.com/silverlight/#TileView/ItemSizing

It would really be great if you can give me a sample code to have a similar look and feel for my desktop app,
is it possible?
Thank you.
Pavel R. Pavlov
Telerik team
 answered on 26 Nov 2014
1 answer
225 views
I've made a simple bar chart:

BarSeriesDefinition barDefinition = new BarSeriesDefinition();
 barDefinition.Appearance.Fill = new SolidColorBrush( Colors.Blue );
ctrlLaneGraph.DefaultSeriesDefinition = barDefinition;
 SeriesMapping seriesMapping = new SeriesMapping();
seriesMapping.LegendLabel = "Number of Items";
seriesMapping.SeriesDefinition = new SplineSeriesDefinition();
 seriesMapping.ItemMappings.Add(new ItemMapping("ItemStart", DataPointMember.XValue));
seriesMapping.ItemMappings.Add(new ItemMapping("ItemPosition", DataPointMember.YValue));
 seriesMapping.SeriesDefinition = barDefinition;       
ctrlLaneGraph.SeriesMappings.Add(seriesMapping);
 ctrlLaneGraph.ItemsSource = ItemPosisionList;
 ctrlLaneGraph.DefaultView.ChartArea.AxisX.LayoutMode = AxisLayoutMode.Auto;

The ItemPositionList is being regenerated on a timer every 5 seconds. 
How can I update the chart  ? 
 I've Try setting the ItemSource again - but I get a thread ownership exception
I want to make the update smooth without "repainting" things that did not change
Thanks, 
Dani

Martin Ivanov
Telerik team
 answered on 26 Nov 2014
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?