This question is locked. New answers and comments are not allowed.
Hi ,
Iam using Telerik contrls for my project . Inside the grid the scrollbar works fine . In one of our requirement we place the grid inside the RadGroupPane .
RadGroupPane will be in other form we call each and every grid inside the GroupPane according to the selected item.
Inside the RadGroupPane the Grid's scrollbar is not scrolling properly. what is the specific reason for this?
Thanks
Iam using Telerik contrls for my project . Inside the grid the scrollbar works fine . In one of our requirement we place the grid inside the RadGroupPane .
RadGroupPane will be in other form we call each and every grid inside the GroupPane according to the selected item.
Inside the RadGroupPane the Grid's scrollbar is not scrolling properly. what is the specific reason for this?
<UserControl x:Class="BusinessAccounting.View.Invoice.InvoiceListing" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="499" xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" xmlns:telerikschema="http://schemas.telerik.com/2008/xaml/presentation" xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls" xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" xmlns:RadDataPager="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Data" xmlns:GridViewFooter="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView" xmlns:teleric="http://schemas.telerik.com/2008/xaml/presentation" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:Converter="clr-namespace:BusinessAccounting.Helpers.Converters" xmlns:Icons="clr-namespace:BusinessAccounting.ViewModel.Common" Loaded="UserControl_Loaded"> <UserControl.Resources> <Icons:IconViewModel x:Key="iconviewmodel"/> <Converter:BusinessPhone x:Key="businessphone"/> <Converter:PhoneFormat x:Key="phoneformat"/> <Style TargetType="GridViewFooter:GridViewFooterCell"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <Border BorderBrush="LightGray" BorderThickness="0,0,1,0" > <!--<Image VerticalAlignment="Stretch" Stretch="None" HorizontalAlignment="Stretch" Source="./Images/emptygridline.png" />--> </Border> </ControlTemplate> </Setter.Value> </Setter> <Setter Property="Background" Value="Transparent"/> </Style> <Style TargetType="GridViewFooter:GridViewFooterRow"> <Setter Property="MinHeight" Value="1"/> <Setter Property="Background" Value="Transparent"/> <Setter Property="BorderThickness" Value="0,0,0,0"/> </Style> </UserControl.Resources> <Grid> <Grid.RowDefinitions> <RowDefinition Height="25"/> <RowDefinition Height="Auto"/> <RowDefinition Height="25"/> </Grid.RowDefinitions> <HyperlinkButton x:Name="Hyp_AddNewInvoice" Grid.Row="0" Content="Add a new Invoice" Foreground="#FF154A93" Margin="10,5,0,5" Width="120" HorizontalAlignment="Left" Command="{Binding NewInvoiceCommand}"/> <telerik:RadBusyIndicator x:Name="BusyIndicator" Grid.Row="1" BusyContent="Loading data..." DisplayAfter="0" AllowDrop="True" IsIndeterminate="True" Background="Transparent" BorderBrush="Transparent" BorderThickness="0"> <telerikGridView:RadGridView x:Name="dtgInvoiceList" Margin="0" RowHeight="19" Grid.Row="1" BorderThickness="0,1,0,0" IsReadOnly="True" AutoGenerateColumns="False" VerticalAlignment="Top" HorizontalAlignment="Stretch" IsFilteringAllowed="False" ShowColumnHeaders="True" ShowGroupPanel="False" CanUserSelect="True" CanUserSortColumns="True" CanUserFreezeColumns="False" IsEnabled="True" CanUserResizeColumns="True" RowIndicatorVisibility="Collapsed" ItemsSource="{Binding Path=SalesHeaderforInvoice, Mode=TwoWay}" SelectedItem="{Binding Path=SelectedInvoice, Mode=TwoWay}" ScrollMode="RealTime" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"> <i:Interaction.Triggers> <i:EventTrigger EventName="RowActivated"> <i:InvokeCommandAction Command="{Binding EditCommand}" /> </i:EventTrigger> </i:Interaction.Triggers> <telerikGridView:RadGridView.Columns > <telerikGridView:GridViewDataColumn Header="Type" Width="75" DataMemberBinding="{Binding TransactionName}"/> <telerikGridView:GridViewDataColumn Header="Date" Width="74" DataMemberBinding="{Binding TransactionDateTime}" DataFormatString = "{}{0:MM/dd/yyyy}" /> <telerikGridView:GridViewDataColumn Header="No." Width="30" DataMemberBinding="{Binding SalesHeaderID}" SortingState="Descending"/> <telerikGridView:GridViewDataColumn Header="Customer Name" Width="2*" DataMemberBinding="{Binding Customer.CustomerName}"/> <telerikGridView:GridViewDataColumn Header="Due Date" Width="74" DataMemberBinding="{Binding DueDate}" DataFormatString = "{}{0:MM/dd/yyyy}"/> <telerikGridView:GridViewDataColumn Header="Total Price" Width="1*" DataMemberBinding="{Binding TotalAmount}" TextAlignment="Right" DataFormatString = "{}{0:c2}" /> <telerikGridView:GridViewDataColumn Header="Balance" Width="1*" DataMemberBinding="{Binding Balance}" TextAlignment="Right" DataFormatString = "{}{0:c2}"/> <telerikGridView:GridViewDataColumn Header="Currency" Width="1*" DataMemberBinding="{Binding Currency.CurrencyDescription}"/> <telerikGridView:GridViewDataColumn Header="Total Price(USD)" Width="1*" DataMemberBinding="{Binding TotalAmountCurrency}" TextAlignment="Right" DataFormatString = "{}{0:c2}"/> <telerikGridView:GridViewDataColumn Header="Phone" Width="1*" DataMemberBinding="{Binding Phone.PhoneNumber, Converter={StaticResource phoneformat}}"/> </telerikGridView:RadGridView.Columns> </telerikGridView:RadGridView> </telerik:RadBusyIndicator> </Grid> </UserControl>