Telerik Forums
UI for WPF Forum
1 answer
336 views

Hi,

I'm having big troubles with the AutoCompleteBox control.

My view has a RadGridView with its ItemsSource binded to an ObservableCollection of objects. One column of this GridView contains an AutoCompleteBox that works well. But this AutoCompleteBox produces the following errors at runtime:

System.Windows.Data Error: 26 : ItemTemplate and ItemTemplateSelector are ignored for items already of the ItemsControl's container type; Type='RadWatermarkTextBox'

System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=WatermarkTextBox'. BindingExpression:Path=ActualWidth; DataItem=null; target element is 'AutoCompleteBoxesWrapPanel' (Name=''); target property is 'Width' (type 'Double')​

I found several threads about that. They basically say that it's no big deal, "just ignore it", or disable the errors with a piece of code in the code behind. (http://www.telerik.com/forums/autocomplete-watermark-binding-error)

 My problem is that, it is actually pretty bad for performance. For example, when I'm scrolling horizontally in my GridView, and I get to the column where my AutoCompleteBox is, the GridView freezes for a second, and stops scrolling. That's one thing.

The second thing is, my GridView has the Virtualization turned off for some reasons. That means, when my GridView is rendered, those errors are produced for EVERY line of my GridView, and the application freezes until all errors are outputed. That makes the application unusable when dealing with a big number of lines (1000 to 10 000 in my case).

Has anyone fixed this issue somehow ?

Thanks.

Nasko
Telerik team
 answered on 12 Oct 2015
2 answers
153 views

Hi,

 I'm surely doing something wrong, but I can't get the content of the BusyIndicator to display. This is what I have:

 <Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApplication1"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <telerik:RadBusyIndicator IsBusy="False">
        <TextBlock>Hello there</TextBlock>
    </telerik:RadBusyIndicator>
</Window>

When running the app a blank window comes up. Removing the busy indicator shows "Hello there".

What am I doing wrong?

Thanks,

Adrian

 

p.s.: I'm running the 2015.3.930.45 version of the controls

Kalin
Telerik team
 answered on 12 Oct 2015
3 answers
105 views

Hi there,

I have a grid where I'm setting the first column frozen, hardcoding FrozenColumnCount="1" in the XAML.  I'm also allowing the user to reorder columns, but I don't want them to be able to move a column to the left of the frozen one, so I only ever have that 1 column frozen, is this possible?  Thanks!

Yoan
Telerik team
 answered on 12 Oct 2015
1 answer
228 views

Hello, my Version=2015.3.930.45

I'm trying to show a list of items.

With usual ItemsControl it works fine (or any another control) - see pic 4

But with Carousel it shows empty items at the start and at the end.

After control loads up it shows nothing at all (if amount of items is less then ~5) - pic 1

Then I click "right" button and it shows only one item at the end - pic 2

I can scroll through the items to the empty items at the end - pic 3

 If amount of items is greater then 5 - it shows them, but there are still empty items at the beginning and at the end.

I'm setting ItemsSource to an array of my items and there no nulls or anything unexpectable in the array.

Is it only problem of mine?

Maya
Telerik team
 answered on 12 Oct 2015
2 answers
139 views

Hi.

We are currently implement an "Office Inspired" application, so are making use of the backstage view. One of the items contains a list of files the user can open. When this list becomes larger than the window, rather than a scrollbar appearing on the list, it appears on the entire backstage view.

I've attached screens of how Office currently does it, vs how it's currently working for us.

Any suggestions on how to resolve this would be much appreciated.

For reference, the list box is hosted in a grid, hosted in a content control.

I did come across this thread (http://www.telerik.com/forums/listbox-in-backstage ), in which it was stated that it is designed to behave like the Office backstage view. I was wondering if that is still correct ? We are currently using 2015.2.728.45, with the Office 2013 style applied.


 
Michael
Top achievements
Rank 1
 answered on 12 Oct 2015
6 answers
123 views

I’m using a custom Tiled Provider. It seems like while zooming, the Tile Provider continually sends requests to the server, even for the zoomlevels between the wanted zoomlevel.


Ex: The map is at zoomlevel 13.
I use the mousewheel to scroll down to zoomlevel 19.
I’m not interested in zoomlevel 14-18.
This action leads to a whole lot of requests for tiles I do not need (zoomlevel 14-18), and it slows down the solution.


I even can get problems getting the tiles I will show on zoomlevel 19 because of all the loading.


Is there a way to prevent this from happening?

Could I expect the same problem when I use Bing or any other tile provider instead?

Jason D
Top achievements
Rank 1
Veteran
 answered on 09 Oct 2015
0 answers
142 views

Hi,

I would like to change the text style (its FontSize) of the "ConfirmText" ContentPresenter in the RadConfirm.

I've already succeeded in changing the RadButtons style in the RadConfirm but I can't figure out how to adress this issue.

 Thanks in advance.

Bastien
Top achievements
Rank 1
 asked on 09 Oct 2015
4 answers
77 views

Hi, I am working in WPF with Telerik Controls, I've implemented the Windows 8 theme, but after implement this theme my Design Area for each new Window or user Control, looks like the image that I've attached to this post, some one else have this issue?.

I've read the Telerik documentation and I dont found some info about this issue.

Martin Ivanov
Telerik team
 answered on 09 Oct 2015
3 answers
114 views

Hi,

Am trying to plot a chart with 50,000 records.

The rendering time required is around 8 to 10 seconds,please suggest how do I improve the performance.

 

Thanks in advance.

Martin Ivanov
Telerik team
 answered on 09 Oct 2015
1 answer
184 views

Hello,

I'm seeking a way to strip a paragraph's SpacingBefore and SpacingAfter properties when pasted into a RichTextBox from an outside source. So far all my attempts at intercepting these properties have proven futile. I've searched these forums for various ways of handling pasted data, yet none have proven effective for my particular situation. I've attempted to enumerate through the document's paragraphs and set each paragraph's SpacingBefore/After property to 0, I've attempted to change the paragraph's properties in the PastCommand handler while enumerating through paragraphs' Inlines to remove certain types (the removal works here, but not the set properties).

I'm hoping to gain advice on how this should be properly done. I can include some code snippets if that would be helpful.

 

Thank you,

Steve

 

P.S: It might also be helpful to mention the need for this came after upgrading from Telerik version 2014.1.0224.45 to version 2015.2.728.45, where the outside source styling did not carry into the RichTextBox.

Todor
Telerik team
 answered on 09 Oct 2015
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)
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
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?