Telerik Forums
UI for WPF Forum
5 answers
348 views
Hello,

I have a WCF service operation that I use to get a list of customers. The service operation in question accepts a beginning and an end. It returns the data requested and the total count of results (i.e number of total customers).

My Questions:
A) How can I 'hook on' to RadDataPager so it uses the service when it needs to get data for a specific range/page? I.e Stream data when needed.
B) How can I get RadDataPager to shows the total items, even though the data source will only contain items for the current page. 

I would REALLY appreciate it, if you could show me how to pull this off with a quick WPF sample application. I have found a Silverlight one, but it doesn't seem to be working.

Thanks!
Rossen Hristov
Telerik team
 answered on 30 Nov 2011
1 answer
67 views
Hi there.
Just started evaluating the product but am unable to quickly figure out how to make a chart dockable.  Can someone direct me to the correct implementation please.

Maurice
Evgenia
Telerik team
 answered on 30 Nov 2011
1 answer
139 views
Hi,
I'needed to check out the latest WPF Q3 Hotfix (2011.3.1122) and get a NullReferenceException within the telerik docking component.
It occur's when i call the Show Method of a window that contains docking components.
The Error did not occur when i used the official Q3 Release (2011.3.1116).
The call stack:

at Telerik.Windows.Controls.Docking.PaneGroupBase.OnPaneCommandCanExecute(Object sender, CanExecuteRoutedEventArgs e)
   at System.Windows.Input.CommandBinding.OnCanExecute(Object sender, CanExecuteRoutedEventArgs e)
   at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnCanExecute(Object sender, CanExecuteRoutedEventArgs e)
   at System.Windows.UIElement.OnCanExecuteThunk(Object sender, CanExecuteRoutedEventArgs e)
   at System.Windows.Input.CanExecuteRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at Telerik.Windows.Controls.RadContextMenu.OnEventFired(Object sender, RoutedEventArgs args)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.CriticalCanExecuteWrapper(Object parameter, IInputElement target, Boolean trusted, CanExecuteRoutedEventArgs args)
   at System.Windows.Input.RoutedCommand.CanExecuteImpl(Object parameter, IInputElement target, Boolean trusted, Boolean& continueRouting)
   at System.Windows.Input.RoutedCommand.CriticalCanExecute(Object parameter, IInputElement target, Boolean trusted, Boolean& continueRouting)
   at System.Windows.Input.RoutedCommand.CanExecute(Object parameter, IInputElement target)
   at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
   at Telerik.Windows.Controls.RadMenuItem.OnCommandParameterChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
   at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.Activate(Object item)
   at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
   at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
   at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
   at MS.Internal.Data.DataBindEngine.Run(Object arg)
   at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(Object sender, EventArgs e)
   at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.UIElement.UpdateLayout()
   at System.Windows.Interop.HwndSource.SetLayoutSize()
   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
   at System.Windows.Window.SetRootVisual()
   at System.Windows.Window.SetRootVisualAndUpdateSTC()
   at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   at System.Windows.Window.CreateSourceWindowDuringShow()
   at System.Windows.Window.SafeCreateWindowDuringShow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.Show()


the Xaml:
<Window x:Class="MyWindow"
    Height="600" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
     
        <telerik:RadDocking x:Name="docking" Grid.Row="2" Margin="2,0,2,2" BorderThickness="0" Background="Transparent" ContextMenuService.IsEnabled="False">
            <telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer x:Name="splitContainer" BorderThickness="0">
                    <telerik:RadPaneGroup x:Name="dockManager" BorderThickness="1"  Background="Transparent" />
                </telerik:RadSplitContainer>
            </telerik:RadDocking.DocumentHost>
 
            <telerik:RadSplitContainer MaxWidth="300" InitialPosition="DockedLeft" Background="Transparent">
                <telerik:RadPaneGroup x:Name="leftPaneGroup" Background="Transparent"/>
            </telerik:RadSplitContainer>
 
            <telerik:RadSplitContainer MaxWidth="500" MinWidth="250" InitialPosition="DockedRight" Background="Transparent">
                <telerik:RadPaneGroup x:Name="actionsPaneGroup" Background="Transparent"/>
            </telerik:RadSplitContainer>
        </telerik:RadDocking>
    </Grid>
</Window>

there is no special code-behind.

Thanks in advance, Michael
George
Telerik team
 answered on 30 Nov 2011
0 answers
95 views
I'm want try on grid can drag& drop on four edge of appointment . What can I do?
thangnv
Top achievements
Rank 1
 asked on 30 Nov 2011
9 answers
212 views
Hello, 

I have a database(Sql). I want to upload the data from table which as Start date and finish date etc.

I'm usung wcf for the data layer.

Thoughts?
Rick
Rosi
Telerik team
 answered on 30 Nov 2011
5 answers
198 views
Hello!

We have issue with RadWindow used as dialog. This problem is observed on Windowx XP only (we checked on two different computers). It's not observed in Windows 7 (we also checked on two different computers). The issue looks like this:

1) There is main window which has content which changes frequently. Doesn't metter what is on background the key point is that it changes.
2) There is dialog window created using RadWindow which covers updated area (e.g. this area is hidden by dialog).
3) Dialog window from time to time "flickers" and it's possible to see background of dialog.

In order to reproduce the issue i've created sample project and created some screenshots. Sorry for bad quality. Screenshots were created by mobile phone because screen capture programs didn't record this issue. You can also download movie which illustrates this issue.

We need to solution for Windows XP which eliminates observed effect.
Licensing
Top achievements
Rank 1
 answered on 30 Nov 2011
6 answers
187 views
Hi,

I have a Telerik application with docking functionnalities. In some of my panel I have some controls which I have to add some Telerik custom theming in a resources file for TextBox, CheckBox, etc...

When my panel is docked, my TextBox doesn't take the space he have to take but the theming is ok (DOCK-1.JPG). If I undock my panel, the TextBox take the place he have to take but the theming wasn't applied on my TextBox (DOCK-2.JPG).

Resource file

<

 

ResourceDictionary

 

xmlns

 

="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">

 

 

 

<Style TargetType="TextBox" BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Office_BlueTheme, ElementType=TextBox}}" />

 

 

 

<Style TargetType="CheckBox" BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Office_BlueTheme, ElementType=CheckBox}}" />

 

 

 

<Style TargetType="RadioButton" BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Office_BlueTheme, ElementType=RadioButton}}" />

 

</

 

ResourceDictionary>

 


XAML

<

 

telerik:RadWindow x:Class="com.christiegrp.Neuron.ClientApplication.DictationForm"

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

 

xmlns:helper="clr-namespace:com.christiegrp.Neuron.ClientApplication;assembly=ClientHelper"

 

 

xmlns:telerikRibbonBar="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonBar"

 

 

Header="DictationForm" Name="Me" WindowState="Maximized" SizeToContent="False" PreviewClosed="Me_PreviewClosed"

 

 

telerik:PersistenceManager.StorageId="DictationForm">

 

 

 

<telerik:RadWindow.IconTemplate>

 

 

 

<DataTemplate>

 

 

 

<Image Source="Resources/DictationModuleWPF_48x48.png" Height="24" Width="24" Stretch="Fill" Margin="0 2 3 0" />

 

 

 

</DataTemplate>

 

 

 

</telerik:RadWindow.IconTemplate>

 

 

 

<telerik:RadWindow.Resources>

 

 

 

<ResourceDictionary>

 

 

 

<ResourceDictionary.MergedDictionaries>

 

 

 

<ResourceDictionary Source="DictationForm-Fr-Res.xaml"/>

 

 

 

<ResourceDictionary Source="pack://application:,,,/Resources;component/Neuron-CustomStyles.xaml"/>

 

 

 

<ResourceDictionary Source="/Telerik.Windows.Controls.Navigation;component/Themes/GenericOfficeBlack.xaml"/>

 

 

 

</ResourceDictionary.MergedDictionaries>

 

 

 

</ResourceDictionary>

 

 

 

</telerik:RadWindow.Resources>

 

 

 

 

<Grid Name="gridRoot">

 

 

 

 

<Grid.RowDefinitions>

 

 

 

<RowDefinition Height="Auto" />

 

 

 

<RowDefinition Height="*" />

 

 

 

</Grid.RowDefinitions>

 

 

 

 

<!-- The following element is used to trigger an event allowing to replace the language resources before they are used. -->

 

 

 

<TextBlock Initialized="ReplaceLanguageResources"/>

 

 

 

<telerikRibbonBar:RadRibbonBar Name="radRibbonBar" Margin="10 10 10 0" telerik:KeyTipService.IsKeyTipsEnabled="True" MinimizeButtonVisibility="Visible" ApplicationName="Neuron" IsMinimized="True" ApplicationButtonImageSource="Resources/Neuron_32x32.png">

 

 

 

<telerikRibbonBar:RadRibbonBar.Effect>

 

 

 

<DropShadowEffect />

 

 

 

</telerikRibbonBar:RadRibbonBar.Effect>

 

 

 

<telerikRibbonBar:RadRibbonBar.ApplicationMenu>

 

 

 

<telerikRibbonBar:ApplicationMenu telerik:KeyTipService.AccessText="F">

 

 

 

<telerikRibbonBar:ApplicationMenu.Content>

 

 

 

<StackPanel Width="300">

 

 

 

<telerikRibbonBar:RadGroupHeader Content="Menu" />

 

 

 

<telerikRibbonBar:RadRibbonButton Content="1. Option..." HorizontalAlignment="Stretch" />

 

 

 

<telerikRibbonBar:RadRibbonButton Content="2. Option..." HorizontalAlignment="Stretch" />

 

 

 

<telerikRibbonBar:RadRibbonButton Content="3. Option..." HorizontalAlignment="Stretch" />

 

 

 

<telerikRibbonBar:RadRibbonButton Content="4. Option..." HorizontalAlignment="Stretch" />

 

 

 

<telerikRibbonBar:RadRibbonButton Content="5. Option..." HorizontalAlignment="Stretch" />

 

 

 

<telerikRibbonBar:RadRibbonButton Content="6. Option..." HorizontalAlignment="Stretch" />

 

 

 

<telerikRibbonBar:RadRibbonButton Content="7. Option..." HorizontalAlignment="Stretch" />

 

 

 

</StackPanel>

 

 

 

</telerikRibbonBar:ApplicationMenu.Content>

 

 

 

<telerikRibbonBar:ApplicationMenu.FooterContent>

 

 

 

<StackPanel Height="25" Orientation="Horizontal">

 

 

 

<telerik:RadButton Width="106" Height="22" Margin="3 0" Click="radButtonQuit_Click">

 

 

 

<telerik:RadButton.Content>

 

 

 

<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="3 0 5 0">

 

 

 

<Image Width="16" Height="16" Source="Resources/Exit_32x32.png" />

 

 

 

<TextBlock Margin="4 0 0 0" VerticalAlignment="Center" Text="{StaticResource Quit}" />

 

 

 

</StackPanel>

 

 

 

</telerik:RadButton.Content>

 

 

 

</telerik:RadButton>

 

 

 

</StackPanel>

 

 

 

</telerikRibbonBar:ApplicationMenu.FooterContent>

 

 

 

<telerikRibbonBar:RadRibbonButton Text="1. Option..." />

 

 

 

<telerikRibbonBar:Separator />

 

 

 

<telerikRibbonBar:RadRibbonButton Text="2. Option..." />

 

 

 

<telerikRibbonBar:RadRibbonButton Text="3. Option..." />

 

 

 

<telerikRibbonBar:Separator />

 

 

 

<telerikRibbonBar:RadRibbonButton Text="4. Option..." />

 

 

 

<telerikRibbonBar:RadRibbonButton Text="5. Option..." />

 

 

 

<telerikRibbonBar:RadRibbonButton Text="6. Option..." />

 

 

 

<telerikRibbonBar:Separator />

 

 

 

<telerikRibbonBar:RadRibbonButton Text="7. Option..." LargeImage="Resources/Exit_32x32.png" />

 

 

 

</telerikRibbonBar:ApplicationMenu>

 

 

 

</telerikRibbonBar:RadRibbonBar.ApplicationMenu>

 

 

 

 

<telerikRibbonBar:RadRibbonBar.QuickAccessToolBar>

 

 

 

<telerikRibbonBar:QuickAccessToolBar>

 

 

 

<!--

 

<telerikRibbonBar:RadRibbonButton SmallImage="Resources/Departments_32x32.png" SnapsToDevicePixels="True"/>

<telerikRibbonBar:RadRibbonButton SmallImage="Resources/Billing_32x32.png" SnapsToDevicePixels="True"/>

<telerikRibbonBar:RadRibbonButton SmallImage="Resources/Receivables_32x32.png" SnapsToDevicePixels="True"/>

<telerikRibbonBar:RadRibbonButton SmallImage="Resources/Reports_32x32.png" SnapsToDevicePixels="True"/>

<telerikRibbonBar:RadRibbonButton SmallImage="Resources/Files_32x32.png" SnapsToDevicePixels="True"/>

<telerikRibbonBar:RadRibbonButton SmallImage="Resources/Configuration_32x32.png" SnapsToDevicePixels="True"/>

-->

 

 

<telerikRibbonBar:RadRibbonButton SmallImage="Resources/Exit_32x32.png" SnapsToDevicePixels="True" Click="radButtonQuit_Click"/>

 

 

 

</telerikRibbonBar:QuickAccessToolBar>

 

 

 

</telerikRibbonBar:RadRibbonBar.QuickAccessToolBar>

 

 

 

</telerikRibbonBar:RadRibbonBar>

 

 

 

 

<telerik:RadDocking Grid.Row="1" Margin="10">

 

 

 

<telerik:RadDocking.Effect>

 

 

 

<DropShadowEffect />

 

 

 

</telerik:RadDocking.Effect>

 

 

 

 

<telerik:RadDocking.DocumentHost>

 

 

 

<telerik:RadSplitContainer>

 

 

 

<telerik:RadPaneGroup>

 

 

 

<telerik:RadPane Title="{StaticResource ScannedDocs}" CanFloat="{Binding ElementName=Me, Path=IsDockable}" CanUserPin="{Binding ElementName=Me, Path=IsDockable}" CanUserClose="False">

 

 

 

</telerik:RadPane>

 

 

 

<telerik:RadPane Title="{StaticResource Images}" CanFloat="{Binding ElementName=Me, Path=IsDockable}" CanUserPin="{Binding ElementName=Me, Path=IsDockable}" CanUserClose="False">

 

 

 

</telerik:RadPane>

 

 

 

</telerik:RadPaneGroup>

 

 

 

</telerik:RadSplitContainer>

 

 

 

</telerik:RadDocking.DocumentHost>

 

 

 

<telerik:RadSplitContainer InitialPosition="DockedRight" Orientation="Vertical">

 

 

 

<!-- Controls -->

 

 

 

<telerik:RadPaneGroup Height="Auto">

 

 

 

<telerik:RadPane Title="{StaticResource Controls}" CanDockInDocumentHost="False" CanFloat="{Binding ElementName=Me, Path=IsDockable}" CanUserPin="{Binding ElementName=Me, Path=IsDockable}" CanUserClose="False">

 

 

 

<Grid>

 

 

 

<Grid.ColumnDefinitions>

 

 

 

<ColumnDefinition Width="Auto" />

 

 

 

<ColumnDefinition Width="Auto" />

 

 

 

<ColumnDefinition Width="Auto" />

 

 

 

<ColumnDefinition Width="Auto" />

 

 

 

</Grid.ColumnDefinitions>

 

 

 

<Grid.RowDefinitions>

 

 

 

<RowDefinition Height="Auto" />

 

 

 

<RowDefinition Height="Auto" />

 

 

 

<RowDefinition Height="Auto" />

 

 

 

</Grid.RowDefinitions>

 

 

 

 

<helper:NavigationControl Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3" Name="dnDocuments" Text="{StaticResource Documents}" NavigationChangedEvent="dnDocuments_NavigationChanged" Margin="5" Buttons="PreviousNext"/>

 

 

 

<helper:NavigationControl Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" Name="dnExams" Text="{StaticResource Exams}" NavigationChangedEvent="dnExams_NavigationChanged" Margin="5" Buttons="PreviousNext"/>

 

 

 

<CheckBox Grid.Column="0" Grid.Row="2" Name="ckUrgent" Margin="5" Content="{StaticResource Urgent}" />

 

 

 

<CheckBox Grid.Column="1" Grid.Row="2" Name="ckSign" Margin="5" Content="{StaticResource Sign}" />

 

 

 

<CheckBox Grid.Column="2" Grid.Row="2" Name="ckOnHold" Margin="5" Content="{StaticResource FilmsPending}" />

 

 

 

<WindowsFormsHost Grid.Column="3" Grid.Row="0" Grid.RowSpan="3" Margin="5" Name="RecorderContainer" Height="Auto" Width="Auto" />

 

 

 

</Grid>

 

 

 

</telerik:RadPane>

 

 

 

</telerik:RadPaneGroup>

 

 

 

<!-- Reports -->

 

 

 

<telerik:RadPaneGroup>

 

 

 

<telerik:RadPane Title="{StaticResource OldReports}" CanDockInDocumentHost="False" CanFloat="{Binding ElementName=Me, Path=IsDockable}" CanUserPin="{Binding ElementName=Me, Path=IsDockable}" CanUserClose="False">

 

 

 

<Grid Margin="5">

 

 

 

<Grid.RowDefinitions>

 

 

 

<RowDefinition Height="*" />

 

 

 

<RowDefinition Height="*" />

 

 

 

</Grid.RowDefinitions>

 

 

 

<telerik:RadGridView Name="gridHistorical" Margin="0 0 0 2" Grid.Row="0" IsSynchronizedWithCurrentItem="True" Height="Auto" Width="Auto" IsReadOnly="True" SelectionMode="Single" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" ShowGroupPanel="False" SelectionUnit="FullRow">

 

 

 

<telerik:RadGridView.Columns>

 

 

 

<telerik:GridViewDataColumn Header="{StaticResource Date}" HeaderTextAlignment="Center" TextAlignment="Center" IsFilterable="False" />

 

 

 

<telerik:GridViewDataColumn Header="{StaticResource Exams}" HeaderTextAlignment="Left" TextAlignment="Left" IsFilterable="False" />

 

 

 

<telerik:GridViewDataColumn Header="{StaticResource Accession}" HeaderTextAlignment="Center" TextAlignment="Center" IsFilterable="False" />

 

 

 

<telerik:GridViewDataColumn Header="{StaticResource Status}" HeaderTextAlignment="Center" TextAlignment="Center" IsFilterable="False" />

 

 

 

</telerik:RadGridView.Columns>

 

 

 

</telerik:RadGridView>

 

 

 

<TextBox Name="rtbPreviousReport" Margin="0 2 0 0" Grid.Row="1" Text="" IsEnabled="False" />

 

 

 

</Grid>

 

 

 

</telerik:RadPane>

 

 

 

<telerik:RadPane Title="{StaticResource Reports}" CanDockInDocumentHost="False" CanFloat="{Binding ElementName=Me, Path=IsDockable}" CanUserPin="{Binding ElementName=Me, Path=IsDockable}" CanUserClose="False">

 

 

 

<TextBox Name="rtbCurrentReport" Margin="5" Text="" IsReadOnly="False" />

 

 

 

</telerik:RadPane>

 

 

 

</telerik:RadPaneGroup>

 

 

 

 

<!-- Panel containing visit infos -->

 

 

 

<telerik:RadPaneGroup>

 

 

 

<telerik:RadPane Title="{StaticResource VisitInfos}" CanDockInDocumentHost="False" CanFloat="{Binding ElementName=Me, Path=IsDockable}" CanUserPin="{Binding ElementName=Me, Path=IsDockable}" CanUserClose="False">

 

 

 

<Grid Margin="5">

 

 

 

<Grid.ColumnDefinitions>

 

 

 

<ColumnDefinition Width="Auto" />

 

 

 

<ColumnDefinition Width="Auto" />

 

 

 

<ColumnDefinition Width="*" />

 

 

 

<ColumnDefinition Width="Auto" />

 

 

 

<ColumnDefinition Width="Auto" />

 

 

 

<ColumnDefinition Width="Auto" />

 

 

 

<ColumnDefinition Width="Auto" />

 

 

 

</Grid.ColumnDefinitions>

 

 

 

<Grid.RowDefinitions>

 

 

 

<RowDefinition Height="Auto" />

 

 

 

<RowDefinition Height="Auto" />

 

 

 

<RowDefinition Height="Auto" />

 

 

 

<RowDefinition Height="Auto" />

 

 

 

<RowDefinition Height="Auto" />

 

 

 

<RowDefinition Height="*" />

 

 

 

<RowDefinition Height="*" />

 

 

 

</Grid.RowDefinitions>

 

 

 

 

<!-- Row #0 -->

 

 

 

<Label BorderThickness="1" BorderBrush="Black" Grid.Column="0" Grid.Row="0" Name="lPatientMRN" Margin="0 2 2 2" Foreground="Green" FontSize="14" FontWeight="Bold" Content="N/A" />

 

 

 

<Label BorderThickness="1" BorderBrush="Black" Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="2" Name="lPatientName" Margin="2" Foreground="Green" FontSize="14" FontWeight="Bold" Content="N/A" />

 

 

 

<Label BorderThickness="1" BorderBrush="Black" Grid.Column="3" Grid.Row="0" Name="lGender" Margin="2" Foreground="Green" FontSize="14" FontWeight="Bold" Content="M" />

 

 

 

<Label BorderThickness="1" BorderBrush="Black" Grid.Column="4" Grid.Row="0" Name="lPHN" Margin="2" Foreground="Green" FontSize="14" FontWeight="Bold" Content="N/A" />

 

 

 

<Label BorderThickness="1" BorderBrush="Black" Grid.Column="5" Grid.Row="0" Grid.ColumnSpan="3" Name="lPatientAge" Foreground="Green" Margin="2 2 0 2" FontSize="14" FontWeight="Bold" Content="N/A" />

 

 

 

 

<!-- Row #1 -->

 

 

 

<Label Grid.Column="0" Grid.Row="1" Content="{StaticResource Date}" HorizontalAlignment="Right" Margin="0 2 2 2" />

 

 

 

<TextBox Name="txtVisitDate" Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="2" Margin="2" IsEnabled="False" />

 

 

 

<Label Grid.Column="3" Grid.Row="1" Content="{StaticResource Visit}" HorizontalAlignment="Right" Margin="2" />

 

 

 

<TextBox Name="txtVisitNumber" Grid.Column="4" Grid.Row="1" Grid.ColumnSpan="3" Margin="2 2 0 2" IsEnabled="False" />

 

 

 

 

<!-- Row #2 -->

 

 

 

<Label Grid.Column="0" Grid.Row="2" Content="{StaticResource Exams}" HorizontalAlignment="Right" Margin="0 2 2 2" />

 

 

 

<TextBox Name="txtExams" Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="6" Margin="2 2 0 2" IsEnabled="False" />

 

 

 

 

<!-- Row #3 -->

 

 

 

<Label Grid.Column="0" Grid.Row="3" Content="{StaticResource RefPhysician}" HorizontalAlignment="Right" Margin="0 2 2 2" />

 

 

 

<TextBox Name="txtRefPhysician" Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="5" Margin="2 2 0 2" IsEnabled="False" />

 

 

 

<telerik:RadButton Grid.Column="6" Grid.Row="3" Margin="2 2 0 2" Name="btnPhone" Click="btnPhone_Click">

 

 

 

<Image Height="18" Width="18" SnapsToDevicePixels="True" Source="Resources/Phone_32x32.png" />

 

 

 

</telerik:RadButton>

 

 

 

 

<!-- Row #4 -->

 

 

 

<Label Grid.Column="0" Grid.Row="4" Content="{StaticResource Technician}" HorizontalAlignment="Right" Margin="0 2 2 2" />

 

 

 

<TextBox Name="txtTech" Grid.Column="1" Grid.Row="4" Grid.ColumnSpan="6" Margin="2 2 0 2" IsEnabled="False" />

 

 

 

 

<!-- Row #5 -->

 

 

 

<Label Grid.Column="0" Grid.Row="5" Content="{StaticResource Comments}" HorizontalAlignment="Right" Margin="0 2 2 2" />

 

 

 

<TextBox Name="txtComments" Grid.Column="1" Grid.Row="5" Grid.ColumnSpan="6" Margin="2 2 0 2" IsEnabled="False" />

 

 

 

 

<!-- Row #6 -->

 

 

 

<Label Grid.Column="0" Grid.Row="6" Content="{StaticResource Note}" HorizontalAlignment="Right" Margin="0 2 2 2" />

 

 

 

<TextBox Name="txtNote" Grid.Column="1" Grid.Row="6" Grid.ColumnSpan="6" Margin="2 2 0 2" IsEnabled="False" />

 

 

 

</Grid>

 

 

 

</telerik:RadPane>

 

 

 

</telerik:RadPaneGroup>

 

 

 

</telerik:RadSplitContainer>

 

 

 

</telerik:RadDocking>

 

 

 

 

</Grid>

 

</

 

telerik:RadWindow>

 


Thank's
Pana
Telerik team
 answered on 30 Nov 2011
4 answers
697 views
Hi,

actually in my project, just before I start a huge treatment, I display a usercontrol with a message "In progress..." to show the user that the treament is in progress.

Now, I'm trying to add a RadBusyIndicator to my usercontrol and I'm facing 2 problems...

1. Can I change the indicator style: color, another kind of spinning wheel like we have on an iPhone
2. If I place the standard RadBusyIndicator on my usercontrol, I call IsBusy=True or False to start or stop the animation but the fact that I'm running a treatment in background, the indicator hang multiple time, the animation is not fluid :(

Can you provide a sample to solve this issue?

Thank's
Chiara
Top achievements
Rank 1
 answered on 29 Nov 2011
5 answers
330 views
Hello,

In my grid I display a number of values that are of type double.  When displaying these values in the table, I round the value to 2 decimal places using the GridViewDataColumn.DataFormatString property.  I also use the GridViewDataColumn.GroupHeaderFormatString to display full precision when grouping by these columns. 

However, the column filters still show duplicate entries in the list of column values, due to the rounding of the displayed values.  (See attached screenshot.)  I am wondering whether there is a way to display the values in the filter at higher precision (as I have done with grouping) so that it does not look like a list of duplicate values.  It sure would be nice if there were a property like GridViewDataColumn.FilterEntryFormatString!  Of course any other method would be helpful too! 

Any ideas as to what I might be able to do?

Thanks,
Mark


Mark
Top achievements
Rank 1
 answered on 29 Nov 2011
3 answers
89 views
I have  GridViewDataColumn with a constructed status field (using a CellTemplate) that I have set to sort using a numeric value (using a DataMemberBinding).  All fine and nice but I do not want to display that numeric value when the user filters the column.  I want to provide a value (using a converter perhaps) that the column filter UI will apply to render the numeric value for display in the selection list for the user to pick from so that use user will see a blank, 'Unapproved', 'Partial', or 'Approved',  instead of 0,1,2, or 3 as they get now. 

I have not yet found an example of how to control the representation within the filter control, but I assume there is a way (hopefully a simple one).
Can someone point me to where I can find how to do this? 

Thanks much.
Terry Newton
Top achievements
Rank 1
 answered on 29 Nov 2011
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?