Telerik Forums
UI for WPF Forum
8 answers
180 views
Hi,

each items in my caroussel come from numerized 8x11 paper image. I use a caroussel because some document contains more than 1 page. I would like to know if it's possible to have each item display using their real size. If an image height are bigger than the display area, of course I would like to have to possibility to scroll  the image vertically to see their missing part.

Maybe I'm not using the right component, I don't know... What we have to consider is the fact that I need to display document with 1 or more pages (max 3 pages) using their real size to see all the infos on the documents.

Thank's
Maya
Telerik team
 answered on 09 Jun 2011
2 answers
232 views
I have a gridview and one of the columns needs a popup window for selecting the appropriate value because the list of available choices is over 200 records.

I've created a CellEditTemplate with a button bound to a command on my viewmodel, but I'm not sure this is the best approach. Because I have to bind the selectedItem of the grid to a property, so that when I show the popup window, it can alter the appropriate property of the selectedItem.

When I click on the "insert row", the new row isn't automatically the selected row. How do I get to to automatically be the selected row, so that my popup window has something to change? Or is there a better way to present the choices to the user besides a popup window?
Rayne
Top achievements
Rank 1
 answered on 09 Jun 2011
2 answers
96 views
I have gridView defined inside a DataTemplate for a TabControl.

Within this GridView I have a column that I need to provide a list of choices from over 200 records with multiple columns, that needs to be filterable, so I thought either a button that brings up a popup window, or using a combobox with a gridview. Either solution requires me to bind to properties on my viewmodel for the list of 200+ records.

Controls inside the DataTemplate defined for the TabControl are bound to the VM by setting a name on the UserControl and binding to {DataContext.Property, ElementName=MyUserControl}. This works, until I get to the DataTemplate that is defining the CellEditTemplate. I thought I could use the same method for declaring my binding, but it just isn't working.

Is there a heirarchy limit I'm reaching, but having a DataTemplate defined inside of a DataTemplate?
Rayne
Top achievements
Rank 1
 answered on 09 Jun 2011
1 answer
112 views
Hi

in my project,wpf radgrid Filter case sensitive is  working fine.
But the same items with Different Case come as Different CheckBoxes in the Filter Select Option

eg:
ABC and abc comes as different filter select options. but in filtering textbox,if we give the value as abc it returns both abc and ABC
i want to set this as one in filter checkbox group also.
Is this possible
Maya
Telerik team
 answered on 09 Jun 2011
1 answer
135 views
Hi

I'm having a weird issue with the grid view column  if you I'm using Width="*" i get a really long horizontal scroll bar.

Code:
  <ScrollViewer HorizontalScrollBarVisibility="Auto" BorderThickness="0" >
  <telerik:RadGridView Grid.Row="1" ScrollMode="Deferred"     RowIndicatorVisibility="Collapsed"   CanUserFreezeColumns="False"  ShowGroupPanel="False"  AutoGenerateColumns="False"  >
                    <telerik:RadGridView.Columns>
                    <telerik:GridViewDataColumn Header="Name" Width="200"  />
                    <telerik:GridViewDataColumn Header="Phone" Width="*" />
                    </telerik:RadGridView.Columns>
                </telerik:RadGridView>
</ScrollViewer>

Thanks
Dimitrina
Telerik team
 answered on 09 Jun 2011
6 answers
505 views
Hello,

I am looking for themes for each component Telerik.

I want the user to choose its theme.

I can not find the files corresponding to these themes.

Could you help me?

Best regards
Mickael
Top achievements
Rank 1
 answered on 09 Jun 2011
2 answers
318 views

I have two gridviews that are bound to the same QueryableCollectionView. I need the selected items of the two gridviews to be the same at all times.

 

There seem to be some built-in funtionalty like this. If a select a row in GridView1 the same row will be selected in GridView2. But if I select multiple rows in GridView1, only the first selected of those rows will be selected in GridView2.

 

How can I sync the selection between the gridviews?

I used to have the gridviews bound to the same RadObservableCollection. Then I synced the selection manually on the SelectionChanged-event on GridView1 like this:

private void GridView1_SelectionChanged(object sender, SelectionChangeEventArgs e)
{
    GridView2.SelectedItems.Clear();
    foreach (var item in GridView1.SelectedItems)
    {
        GridView2.SelectedItems.Add(item);
    }
}
That worked fine, but I doesn't work now when I've switched to using QueryableCollectionView. When I clear the selected items of GridView2 the selected items of GridView1 will also be cleared. So it seems to be some built-in sync here (I'm guessing the QueryableCollectionView keeps track of selected items), but not like I need it to work

haagel
Top achievements
Rank 1
 answered on 09 Jun 2011
5 answers
125 views
Hi,

I'am trying to position the Chart Titles into the ChartPlotArea.
That's all well and good, but if i'm setting the Background Color of the PlotArea differently than the Background of the ChartArea the PlotArea hides the ChartTitle.
Setting a ZIndex for the PlotArea and the Title dosn't work.
Picture without setting a special background color
Picture with setting a special background color

Here is my Code:
<UserControl.Resources>
    <Style x:Key="XTitleStyle" TargetType="{x:Type telerik:AxisTitle}">
        <Setter Property="Margin" Value="0,-32,1,0"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="Panel.ZIndex" Value="10"/>
    </Style>
 
    <Style x:Key="Y1TitleStyle" TargetType="{x:Type telerik:AxisTitle}">
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="RenderTransform">
            <Setter.Value>
                <TransformGroup>
                    <TranslateTransform X="-5" Y="-80"/>
                    <RotateTransform Angle="90"/>
                </TransformGroup>
            </Setter.Value>
        </Setter>
    </Style>
     
    <Style TargetType="{x:Type telerik:MarkedZone}">
        <Setter Property="Panel.ZIndex" Value="-1"/>
    </Style>
 
</UserControl.Resources>
 
<Grid Width="Auto" Height="Auto">
    <telerik:RadChart HorizontalAlignment="Stretch" Margin="10,5,10,5" Name="radChart1" VerticalAlignment="Stretch" BorderThickness="0" Background="{DynamicResource backgroundTabControl}">
 
        <telerik:RadChart.SeriesMappings>
 
            <telerik:SeriesMapping ItemsSource="{Binding Series1, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" >
                <telerik:SeriesMapping.SeriesDefinition>
                    <telerik:LineSeriesDefinition ShowItemLabels="False" ShowPointMarks="False">
                        <telerik:LineSeriesDefinition.Appearance>
                            <telerik:SeriesAppearanceSettings StrokeThickness="1.5"/>
                        </telerik:LineSeriesDefinition.Appearance>
                    </telerik:LineSeriesDefinition>
                </telerik:SeriesMapping.SeriesDefinition>
                <telerik:SeriesMapping.ItemMappings>
                    <telerik:ItemMapping FieldName="Y" DataPointMember="YValue"/>
                </telerik:SeriesMapping.ItemMappings>
            </telerik:SeriesMapping>
        </telerik:RadChart.SeriesMappings>
 
        <telerik:RadChart.DefaultView>
            <telerik:ChartDefaultView ChartLegend="{x:Null}">
                <telerik:ChartDefaultView.ChartArea>
                     
                    <telerik:ChartArea EnableAnimations="False" EnableStripLinesAnimation="False" SnapsToDevicePixels="True">
                    <!-- Here I'm setting the Background with PlotAreaStyle-->
                        <telerik:ChartArea.PlotAreaStyle>
                            <Style TargetType="{x:Type telerik:ClipPanel}">
                                <Setter Property="Background" Value="White"/>
                                <Setter Property="Panel.ZIndex" Value="-1"/>
                            </Style>
                        </telerik:ChartArea.PlotAreaStyle>
                         
                        <!-- Here I'm setting the Background with a MarkedZone-->
                        <telerik:ChartArea.Annotations>
                            <telerik:MarkedZone Background="White"  />
                        </telerik:ChartArea.Annotations>
                         
                        <telerik:ChartArea.AxisX>
                            <telerik:AxisX AutoRange="False" MajorGridLinesVisibility="Visible" MajorTicksVisibility="Visible" Title="test">
                                <telerik:AxisX.AxisStyles>
                                    <telerik:AxisStyles TitleStyle="{StaticResource XTitleStyle}" />
                                </telerik:AxisX.AxisStyles>
                            </telerik:AxisX>
                        </telerik:ChartArea.AxisX>
                        <telerik:ChartArea.AxisY>
                            <telerik:AxisY AutoRange="False" MajorGridLinesVisibility="Visible" MinorGridLinesVisibility="Collapsed" Title="test" PlotAreaAxisVisibility="Visible" StripLinesVisibility="Collapsed">
                                <telerik:AxisY.AxisStyles>
                                    <telerik:AxisStyles TitleStyle="{StaticResource Y1TitleStyle}"/>
                                </telerik:AxisY.AxisStyles>
                            </telerik:AxisY>
                        </telerik:ChartArea.AxisY>
                    </telerik:ChartArea>
                </telerik:ChartDefaultView.ChartArea>
            </telerik:ChartDefaultView>
        </telerik:RadChart.DefaultView>
    </telerik:RadChart>
</Grid>

I would like to display the AxisTitle above the PlotArea and above any MarkedZones. Is there any solution?

Best regards
Dominik
Evgenia
Telerik team
 answered on 09 Jun 2011
1 answer
77 views
Hello,

I am displaying a couple of sparkline graphs.  The underlying data is a List<KeyValuePair<Int32, Int32>>.  The sparkline seems to be automatically sorting and displaying the data by the key.  (I'm basically displaying a count by month, the left most point needs to be current month)

Is there any way to display the data how it's layed out in the collection itself?
Vladimir Milev
Telerik team
 answered on 09 Jun 2011
1 answer
116 views
Hi,

I have a quick question can i use 2d range bar as stacked bar (Horizontal). if yes can you please send the sample project.

thanks
sarag.
Nikolay
Telerik team
 answered on 09 Jun 2011
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?