Telerik Forums
UI for WPF Forum
1 answer
138 views
Hello!

After Q1 release I found that PDFViewer became slow opening PDF files. I researched and found that the bottleneck is PdfFormatProvider().Import(). Also I found that it is slow espessaly for PDF files that produced by MS Word(I use Office 2013). Here is an example: http://www.fileswap.com/dl/aasX4Wy6QE/. Opening(with option ReadAllAtOnce) takes about 13 sec. Is there way to improve performance for similar files?
UPD: Link to sample pdf is changed
especially
especially
Kammen
Telerik team
 answered on 01 Apr 2013
3 answers
145 views
I submitted a 'suggestion' but I don't see it today. I tried to submit a ticket, but it won't let me because our maintentance program lapsed. Regardless of whether or not I am a currently subscribing customer, I should still be allowed to submit a bug report. I am using version 2012_2_0912.

When using Windows 7 with one of the larger font sizes, the map has two issues. The first is minor, but very noticeable. The image tiles are very fuzzy. It looks like they are being scaled/enlarged.

More importantly, Telerik.Windows.Controls.Map.Location.GetCoordinates is giving bad coordinates. I click on the map and use this function to get the geo coordinates. When I do this, the resulting coordinates are shifted a bit down and quite a bit to the right.
Andrey
Telerik team
 answered on 01 Apr 2013
1 answer
245 views
I am using RadCartesianChart to create a scatter chart showing both positive and negative values. Is there a way to display a line at 0 in each axis as is shown in this documentation for RadChart: http://www.telerik.com/help/wpf/radchart-features-negative-values.html

It appears to be controlled using the PlotAreaAxisVisibility but I can't find a way to gain access to the ChartArea when using a RadCartesianChart.

Any suggestions? 

Thanks,

Andy. 
Petar Kirov
Telerik team
 answered on 01 Apr 2013
3 answers
114 views
Hi,

I am using v2013.1.220.45.

I have created a ScheduleView with databound Resources.
I am dragging data from a GridView to the ScheduleView. All is working, but when dropping, the new appointment in the "AppointmentCreating" event is not associated to the resource I have dropped.

How can I get the resource I have dropped on ?

Thanks.
Yana
Telerik team
 answered on 01 Apr 2013
2 answers
671 views
Hello. I'm using RadCartesianChart to show some data in Stacked Bar Series. I want to have dynamic number of series and for that i use
RadCartesianChart.SeriesProvider. I want to bind legend to my chart but legend doesn't display at the window. Here is snippets of code that i use in XAML:

        <telerik1:RadCartesianChart x:Name="Chart"
                                    Grid.Row="1"
                                    Palette="Arctic">
            <telerik1:RadCartesianChart.HorizontalAxis>
                <telerik1:CategoricalAxis />
            </telerik1:RadCartesianChart.HorizontalAxis>
            <telerik1:RadCartesianChart.VerticalAxis>
                <telerik1:LinearAxis />
            </telerik1:RadCartesianChart.VerticalAxis>
            <telerik1:RadCartesianChart.Grid>
                <telerik1:CartesianChartGrid StripLinesVisibility="Y">
                    <telerik1:CartesianChartGrid.YStripeBrushes>
                        <SolidColorBrush Color="#F2F2F2" />
                        <SolidColorBrush Color="Transparent" />
                    </telerik1:CartesianChartGrid.YStripeBrushes>
                </telerik1:CartesianChartGrid>
            </telerik1:RadCartesianChart.Grid>

            <telerik1:RadCartesianChart.SeriesProvider>
                <telerik1:ChartSeriesProvider Source="{Binding DailyDatas}">
                    <telerik1:ChartSeriesProvider.SeriesDescriptors>

                        <telerik1:CategoricalSeriesDescriptor CategoryPath="HourName"
                                                              ItemsSourcePath="Data"
                                                              ValuePath="Value">
                            <telerik1:CategoricalSeriesDescriptor.Style>
                                <Style TargetType="telerik1:BarSeries">
                                    <Setter Property="CombineMode" Value="Stack" />
                                </Style>
                            </telerik1:CategoricalSeriesDescriptor.Style>
                        </telerik1:CategoricalSeriesDescriptor>

                    </telerik1:ChartSeriesProvider.SeriesDescriptors>
                </telerik1:ChartSeriesProvider>

            </telerik1:RadCartesianChart.SeriesProvider>
        </telerik1:RadCartesianChart>
        
        <telerik1:RadLegend Items="{Binding ElementName=Chart, Path=LegendItems}"/>

DailyDatas is an ObservableCollection of DailyData:

    public class HourInfo
    {
        public string HourName { get; set; }
        public double? Value { get; set; }
    }

    public class DailyData
    {
        public string RoleName { get; set; }
        public ObservableCollection<HourInfo> Data { get; set; }
    }

What am i doing wrong? Maybe there is another way to make dynamic number of stacked bar series?
Suggest me please asap! Thank you in advance!
srikanth
Top achievements
Rank 1
 answered on 01 Apr 2013
3 answers
161 views
Hello.
I am using the context menu in the GridView and under some circumstances displaying a Popup to the user.  When I do this I see focus being placed on the user control within the Popup but it immediately leaves.  The focus is being placed back onto a cell.  My attempts to intercept this have failed.  Is there some mechanism or pattern available to resolve this?

I am using the same pattern from within the ChildHierarchyTemplate the focus remains on the user control within the Popup.

Thank you

Paul
Rosen Vladimirov
Telerik team
 answered on 01 Apr 2013
1 answer
183 views
Hello,

I am trying to use Telerik's WPF GridView control in a MVVM application.  I have two general questions:

1) It seems that the XAML/WPF approach to MVVM requires the view to both a.) databind to the viewmodel, and b.) sink events from the viewmodel (that is, the view must respond to events from the view model).  Given that the Telerik WPF DataGrid obviously resides in the view, where does Telerik document the complete list of WPF DataGrid properties and methods?  Surely we can't be expected to infer the list of properties and methods from the samples?  Yet I cannot find what I normally think of as documentation.

2) In the stock MVVM definitions and explanations I find on the internet, it seems that the MVVM advocates claim there is a "clear separation" of concerns between the view, the viewmodel, and the model.  But in the stock MVVM implementations, I find that the view's XAML invariably contains column names in the grid declaration.  That seems to violate MVVM, no? In these implementations, the view seems to be overly concerned with the model.  Wouldn't it be best if the view only knew how to query the collection of column names from the viewmodel? Then you wouldn't have to modify the view (that is, the XAML) every time a user requested a new column.

Thanks.  I apologize in advance if these newbie-ish questions have been asked elsewhere; I queried the forums and could not find answers.
Maya
Telerik team
 answered on 01 Apr 2013
1 answer
394 views
Hi telerick
     I use MVVM to Binding the SelectedColor Property,but When I change the color, there don't work,the VM's property don't change,How can I do?
telerik:RadColorPicker SelectedColor="{Binding SuspectColor}" BorderThickness="0" MainPalette="Concourse" HeaderPalette="Solstice" NoColorText="{Resx RadColorPic_NoColorText}"
StandardPaletteHeaderText="{Resx RadColorPic_StandardPaletteHeaderText}" MainPaletteHeaderText="{Resx RadColorPic_MainPaletteHeaderText}" />

the VM code
private string _suspectColor;
       public string SuspectColor
       {
           get
           {
 
               if (_projectConfiguration != null)
               {
                   _suspectColor = _projectConfiguration.SuspectColor;
               }
               return _suspectColor;
           }
           set
           {
               _suspectColor = value;
               _project.SavaImageTabConfig("SuspectColor", value.ToString());
               base.OnPropertyChanged("SuspectColor");
           }
       }

Petar Mladenov
Telerik team
 answered on 01 Apr 2013
7 answers
275 views

I have a problem with touch scrolling in RadGridView on production machine (analog resistive touchscreen).
On test environment (W8 Simulator) touch scrolling is ok. After installed this same application on production machine - RadGridView starts lag on scrolling.

Touch scrolling in W8 Simulator: http://www.youtube.com/watch?v=56-xueO9MOU
Touch scrolling on production machine: http://www.youtube.com/watch?v=9grjiZq4kQc

<telerik:RadGridView x:Name="ArchivGridView"
    Grid.Row="1"
    HorizontalAlignment="Stretch"
    VerticalAlignment="Stretch"
    AutoGenerateColumns="False"
    CanUserDeleteRows="False"
    CanUserInsertRows="False"
    IsReadOnly="True"
    ItemsSource="{Binding Path=PagedSource,
    ElementName=Pager}"
    EnableRowVirtualization="True"
    PreviewMouseDoubleClick="ArchivGridView_OnPreviewMouseDoubleClick"
    RowDetailsTemplate="{StaticResource RowDetails}">
</telerik:RadGridView>
<telerik:RadDataPager x:Name="Pager"
    PageSize="50"
    Grid.Row="2"
    AutoEllipsisMode="Both"
    Source="{Binding Path=MeasuresView}" />

Any suggestions?

Everything is ok, when i use mouse for scroll.

Yordanka
Telerik team
 answered on 01 Apr 2013
0 answers
109 views
I want to put an icon on the top left of a radWindow programatically

my code is like this

RadWindow radWindow = new RadWindow();
radWindow.Header = "The header";
radWindow.Icon = new Image()
   {
   Source = new BitmapImage(new Uri("../ressources/enregistrer.png", UriKind.Relative))
   };
radWindow.Show();

but the icon dont show up

Pls help me :)
Iheb
Top achievements
Rank 1
 asked on 29 Mar 2013
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
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
Iron
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
Iron
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?