Telerik Forums
UI for WPF Forum
8 answers
630 views
Are y'all still working on this one?

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')

It really is annoying when one is trying to make sure that any and all binding errors in the output window are gone.  It would be nice if you guys could rid us of these please.   Or is there something I can do to suppress or get rid of these? 

Thanks
Paul
Nasko
Telerik team
 answered on 12 Oct 2015
1 answer
317 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
145 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
96 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
208 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
134 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
113 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
134 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
72 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
107 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?