Telerik Forums
UI for WPF Forum
4 answers
106 views
I am binding my RadCarousel to a Generic List and cannot get my binding setup correctly. I have the following XAML for my CarouselDataRecordPresenter and this is where my binding is setup:

SceneCarousel.xaml
<Style TargetType="{x:Type telerik:CarouselDataRecordPresenter}">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="{x:Type telerik:CarouselDataRecordPresenter}">
                <carousel:CarouselItem DataItem="{Binding Path=CarouselItems}" />
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>

Below that, my Carousel is setup like so: 
SceneCarousel.xaml
<telerik:RadCarousel Name="Scenes" Background="Transparent" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Disabled" Loaded="LoadCarousel">
    <telerik:RadCarousel.ItemsPanel>
        <ItemsPanelTemplate>
            <telerik:RadCarouselPanel AutoLoadItems="false" ItemsPerPage="5" TopContainerChanged="RadCarouselPanel_TopContainerChanged" />
        </ItemsPanelTemplate>
    </telerik:RadCarousel.ItemsPanel>
</telerik:RadCarousel>

I am trying to bind to a List<CarouselDataItem> which is this class:
CarouselDataItem.cs
public class CarouselDataItem
{
    public SceneReference Reference { get; set; }
    public string ImagePath { get; set; }
    public Stretch ImageStretch { get; set; }
    public HorizontalAlignment TitleAlignment { get; set; }
    public Visibility ShowDeleteButton { get; set; }
    public bool AddScene { get; set; }
}

My issue is getting the DataItem to pass to my CarouselItem UserControl because I don't know how to setup the binding. Whatever I need to put in place of "{Binding Path=CarouselItems}", I can't figure out because it always comes up NULL in my CarouselItem UserControl. 
Maya
Telerik team
 answered on 03 Dec 2010
1 answer
144 views
Hi,

I just want to disable the resize animations when first open the titleview control and remain the tile exchange animation, who to do that?

I find that if set the IsItemsAnimationEnabled property to "false", all the animations are disabled :(

Regards,
LP
Zarko
Telerik team
 answered on 03 Dec 2010
1 answer
87 views
hi,
           thanks for reading my thread.
i want to create layout design using rad gridview.
 create two columns and rows.in all first column
i should create labels.second column some boxes.
its may be combo,text any thing.

is it possible?
    if possible mean then how to design?
    if not possible mean then which control i used to design?

thanks once.

Maya
Telerik team
 answered on 03 Dec 2010
2 answers
123 views
Hi

I've been having performance issues with the RadDocking system (VERYslow drawing on my work desktop, but good performance on my 5 year old cheap XP Laptop - odd). I bought a new graphics card to see what difference that makes. So I'm now running Windows7 with a GeForce 450. Performance is improved, but it's still not as good performance as my very old/slow laptop! (very puzzling).

However, a bigger problem has arisen - floating panes are now no longer visible on my second monitor (I'm using a dual screen set up). I used to be able to undock panes and drag them onto the second screen - now they are no longer rendered there. The main window renders fine.

From reading the forum it seems that the docking implementation needs to change urgently, so that it is not using this large transparent window. It seems this is causing all kinds of problems, and at the moment the RadDocking system for us is not usable.

A related issue is that when I am running a LogMeIn session on my machine, floating windows do not render. Also, the WPF Frame control does not render inside a floating pane. 

Thanks
Tom Davies
Peavey Digital Research.
Tom
Top achievements
Rank 1
 answered on 03 Dec 2010
1 answer
156 views
Hi,
   I am new to Radgridview and I am using MVVM pattern. I updated the Group Title for the grid in the following manner.
<telerik:RadGridView.GroupDescriptors>
                                       <telerik:GroupDescriptor Member="GroupTitle" DisplayContent="GroupTitle" >
                                           <telerik:GroupDescriptor.AggregateFunctions>
                                               <telerik:CountFunction ResultFormatString="{} {0} matches found"/>
                                           </telerik:GroupDescriptor.AggregateFunctions>
                                       </telerik:GroupDescriptor>
                                   </telerik:RadGridView.GroupDescriptors>

There will be a set of search results in a list and i added the group title in my viewmodel. when i debugged the code, I am getting proper group title name in my list. But sometimes the group header is not visible and sometimes it is visible. I want my grouptitle value to be visible whenever it is present in the list. Any workaround for this or any alternate way to achieve this?

Thanks,
Saranya,
Maya
Telerik team
 answered on 03 Dec 2010
3 answers
163 views
I just downloaded the WPF Q3 trial, to determine whether RadMap might finally be hostable inside WinForms.

Good news..  RadMap Q3 finally has the capability.

Bad news..  Simply running in WPF, the demo app that ships with the solution .. Q3 is *much* slower than either Q1 or Q2 of the 2010 release.

This is a *huge* difference.  It's gone from real-time response, to a lag of 5 seconds to zoom in/out.

I've tested this on 3 different machines (all Intel i5's with 4 to 8GB RAM and NVIDIA graphics cards (1x 9800, 1x 210, 1x 240 .. all of these are 2009 or later models).

In every single test, the new Q3 version is 400% or more slower than Q2.  In addition, I noticed that the CPU of the machines will not reach more than 15% (approx) while in Q1, Q2 I would regularly see the CPU hit 40% when moving rapidly around the map.

Will this be fixed in Q4, or will there be a hotfix to address the problem?
Andrey
Telerik team
 answered on 03 Dec 2010
2 answers
155 views
hi,
         thanks for seeing my question.
I have a problem in gridview. we are using rad controls for our application.

in wpf radgridview i want to create 2 colums and 3 rows .
in first row,first column labelbox(that header is Name).
    first row ,second column Textbox(that value i will give run time ).

in second row ,first column labelbox(That header is standard)
    second row,second column combobox(that value i will select runtime.).

in third row,first column labelbox(that header is save).
    third row,second column Button.

finaly i enter two data then click button the value will stored database.

here i dont know how to create rows and colums in rad control so anybody help me pls.

thanks
sivakanth yadav
sivakanth
Top achievements
Rank 1
 answered on 03 Dec 2010
1 answer
275 views
I am very new to the Telerik controls in general. We have managed to write code using RadScheduler. But we like the new features in ScheduleView. But I am completely stuck on how the AppointmentSource works? I saw the example but couldn't understand how it works. Is there a more detail ( behind the code) example?
George
Telerik team
 answered on 03 Dec 2010
2 answers
148 views
Hi,

I want to use a custom color palette for my pie charts. But it never seemed to work until I finally figured out that one tiny setting on my RadChart was causing the trouble:

 

<telerik:RadChart UseDefaultLayout="False"
                  telerik:StyleManager.Theme="Windows7"
                  x:Name="radChart"
                  Grid.Row="1">
    <DockPanel>
        <telerik:ChartArea DockPanel.Dock="Left"
                            Width="150" Height="150"
                            LegendName="chartLegend"
                            x:Name="chartArea"/>
        <telerik:ChartLegend x:Name="chartLegend"/>
    </DockPanel>
</telerik:RadChart>

 

 


When I remove the theme from the XAML, everything works fine.

Did I miss something conc. themes and RadChart?

Thanks,
Thorsten

PS
I can post a working example, if required. Unfortunatly I can't upload it here.

 

Thorsten
Top achievements
Rank 1
 answered on 03 Dec 2010
4 answers
129 views
Hi,
I have a WPF application. In a xaml, I have a RadGridView inside of a RadTileViewItem, and when I am trying to Bind some data to the RadGridView, it brings me rows with no datas.

Can you please help me.
Thanks.
EMRE ANDIC
Top achievements
Rank 1
 answered on 03 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?