Telerik Forums
UI for WPF Forum
1 answer
115 views
Hi,

I am looking for a way tor the user to be able to select a viewable range on the Xaxis. An example is on the Microsoft CUI silverlight demo: http://www.mscui.net/PatientJourneyDemonstrator/PrimaryCare.htm note the patient charts.

The only way I can see doing it with RadControls is to use a slider but I dont this it supports dates.

Any thoughts or tips would be very usefull.

Regards,
Kevin
Ves
Telerik team
 answered on 10 Feb 2010
1 answer
62 views
Hello,
    When I select a row or select a cell but do not put the cell in edit mode and than press the backspace key windows explorer starts up. Windows explorer always opens to where the debug code for the application is (...\bin\debug). I am running with the latest release of the software in an XP Professional OS.
Thanks
Vlad
Telerik team
 answered on 10 Feb 2010
3 answers
230 views
Hello, how do you set the content (text or label) alignment please. the default appear to be top left and I would like it to be bottom centre. Also, I would like to wrap the content, eg, currently
Find Now

but I would like

Find
Now

Lastly, I would like to set the alignment for the LargeImage. If possible, I would like to see it in XAML and in C#.

Many thanks in advance.
zalak m
Top achievements
Rank 1
 answered on 09 Feb 2010
5 answers
1.0K+ views
I wont to let the user change the font sizes of a GridView using a Slider (like in Excel 2007) so he can see more data if he chooses a smaller font.
How cant I do this?
Rossen Hristov
Telerik team
 answered on 09 Feb 2010
6 answers
261 views
Hi,

User can't extend the grid width (No max width is set)

i do the following:
1) I open window
2) create a new UserControl with the radGrid
3) put the userControl in the window

It happens on every grid.
I tried to "play" with the width/max width of the grid and of the user control but with no success.


Thanks,
Ofer
ofer alper
Top achievements
Rank 1
 answered on 09 Feb 2010
1 answer
76 views
Hello everyone,

in my current project I need a chart that can be edited in real time by the user. Instead of using TextBoxes or Sliders to modify the data, the user wants to drag and drop values (points, bars, you name it) in the chart in real time.

Any idea if this is currently supported, or how could I get it done?

Thanks in advance
Giuseppe
Telerik team
 answered on 09 Feb 2010
3 answers
156 views
I'm trying to add a column with checkboxes that represent a boolean value to my gridview.

The examples I've seen so far follow the pattern:

                <telerik:GridViewDataColumn IsReadOnly="True" DataMemberBinding="{Binding ID}">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
<CheckBox />
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>

But, The CellTemplate, for some reason, is not available to me, what am I missing?
Lin
Telerik team
 answered on 09 Feb 2010
1 answer
278 views
Hello,
   I want to be able to type in a header caption name into a text field, which would cause the grid to horizontally scroll to the column containing the typed in name. Is there a simple way to do this? I cannot figure out how to make the grid move left or right.
I thought scrollintoview might be the way to go but I cannot get it to work. I wish the documentation from Telerik was better.
Thanks
Milan
Telerik team
 answered on 09 Feb 2010
3 answers
119 views
The only Columns I have access to in the GridView namespace are the GridViewColumn and GridViewDataColumn. No GridViewComboBoxColumn, GridViewHyperLinkColumn, GridViewImageColumn, GridViewSelectColumn, etc...

Where do I find these?
Milan
Telerik team
 answered on 09 Feb 2010
2 answers
189 views
I have used two grid in second grid. I want to make sum of the Amount so i used SumFunction but is is not showingthe sum at the end and can you please provide a sample for binding to custom function. because Data is coming in a currency formated string.

<Page 
    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:Navigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
    xmlns:telerikData="clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Data" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  
    xmlns:controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
    xmlns:sys="clr-namespace:System;assembly=mscorlib" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="RestaurantWave_Administrator_Console.Desktop.Views.Home" 
    Title="Home" mc:Ignorable="d"
    <Page.Resources> 
        <Storyboard x:Key="UpAnimationSB"
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtNewOrderCount" Storyboard.TargetProperty="(FrameworkElement.Height)"
                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="20"/> 
                <SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/> 
            </DoubleAnimationUsingKeyFrames> 
        </Storyboard> 
        <Storyboard x:Key="DownAnimationSB"
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtNewOrderCount" Storyboard.TargetProperty="(FrameworkElement.Height)"
                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> 
                <SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="21"/> 
            </DoubleAnimationUsingKeyFrames> 
        </Storyboard> 
    </Page.Resources> 
    <Grid> 
        <Grid.RowDefinitions> 
            <RowDefinition Height="*" /> 
            <RowDefinition Height="470"/> 
            <RowDefinition Height="Auto"/> 
        </Grid.RowDefinitions> 
        <Grid.ColumnDefinitions> 
        </Grid.ColumnDefinitions> 
        <StackPanel Grid.Row="0"
            <UniformGrid x:Name="UniformGrid" HorizontalAlignment="Stretch"
                <StackPanel x:Name="stackPanel"
                    <TextBlock HorizontalAlignment="Center" x:Name="txtNewOrderCount" FontSize="16" Height="20"/> 
                    <telerik:RadButton x:Name="btnShowPanel" Height="21" Style="{DynamicResource DropDownButton}" RenderTransformOrigin="0.5,0.5" Margin="0.068,0,-0.068,0" Content="Show Orders"
                        <telerik:RadButton.RenderTransform> 
                            <TransformGroup> 
                                <ScaleTransform/> 
                                <SkewTransform AngleX="-7.765"/> 
                                <RotateTransform/> 
                                <TranslateTransform X="-1.364"/> 
                            </TransformGroup> 
                        </telerik:RadButton.RenderTransform> 
                    </telerik:RadButton> 
                </StackPanel> 
            </UniformGrid> 
        </StackPanel> 
        <telerik:RadGridView  
            Grid.Row="1"  
            AutoGenerateColumns="False" 
            CanUserDeleteRows="False"  
            CanUserReorderColumns="False"  
            EnableRowVirtualization="True"  
            IsReadOnly="True"  
            MultipleSelect="True"  
            RowDetailsVisibilityMode="Collapsed"         
            HorizontalAlignment="Stretch"                
            ItemsSource="{Binding OrdersCollections, Source={StaticResource orderWebService}}" 
            IsBusy="{Binding IsBusy, Source={StaticResource orderWebService}}" ScrollViewer.VerticalScrollBarVisibility="Auto" telerik:StyleManager.Theme="Office_Blue" Style="{DynamicResource RadGridViewStyle1}" Margin="0" d:LayoutOverrides="Height" MinHeight="0" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" UseAlternateRowStyle="True"
            <telerik:RadGridView.Columns> 
                <telerik:GridViewSelectColumn/> 
                <telerik:GridViewToggleRowDetailsColumn/> 
                <telerik:GridViewDataColumn Width="150" Header="Order No" DataMemberBinding="{Binding OrderCode}" /> 
                <telerik:GridViewDataColumn Width="150" Header="Order Type" DataMemberBinding="{Binding OrderType}"/> 
                <telerik:GridViewDataColumn Width="150" Header="Order Amount" DataMemberBinding="{Binding OrderAmount}"/> 
                <telerik:GridViewDataColumn Width="200" Header="Placed Date/Time" DataMemberBinding="{Binding Order_Placed_Time}" DataFormatString="{}{0:dd,MMM,yy hh:mm tt}"/> 
            </telerik:RadGridView.Columns> 
            <telerik:RadGridView.RowDetailsTemplate> 
                <DataTemplate> 
                    <StackPanel Background="Black" HorizontalAlignment="Stretch"
                        <Navigation:RadTabControl Margin="30,30,30,30" x:Name="CustomerOrderDetail" HorizontalAlignment="Stretch" Height="261" Style="{DynamicResource RadTabControlStyle}" SelectedIndex="1"
                            <Navigation:RadTabItem Header="CustomerDetails" Margin="10,0,0,0" Height="24" FontSize="14.667"
                                <Grid Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DataContext="{Binding ConsumerDetail}"
                                    <Grid.RowDefinitions> 
                                        <RowDefinition Height="0*"/> 
                                        <RowDefinition Height="0.055*"/> 
                                        <RowDefinition Height="0.108*"/> 
                                        <RowDefinition Height="0.108*"/> 
                                        <RowDefinition Height="0.108*"/> 
                                        <RowDefinition Height="0.108*"/> 
                                        <RowDefinition Height="0.108*"/> 
                                        <RowDefinition Height="0.108*"/> 
                                        <RowDefinition Height="0.108*"/> 
                                        <RowDefinition Height="0.189*"/> 
                                    </Grid.RowDefinitions> 
                                    <Grid.ColumnDefinitions> 
                                        <ColumnDefinition Width="0*"/> 
                                        <ColumnDefinition Width="0.02*"/> 
                                        <ColumnDefinition Width="Auto"/> 
                                        <ColumnDefinition Width="0.025*"/> 
                                        <ColumnDefinition Width="0.692*"/> 
                                    </Grid.ColumnDefinitions> 
                                    <TextBlock Margin="0" VerticalAlignment="Stretch" Height="Auto" Text="Name :" TextWrapping="Wrap" Grid.Column="2" Grid.Row="2" FontSize="18.667" Grid.RowSpan="1" HorizontalAlignment="Right"/> 
                                    <TextBlock HorizontalAlignment="Right" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="Phone :" TextWrapping="Wrap" Grid.Column="2" Grid.Row="3"/> 
                                    <TextBlock HorizontalAlignment="Right" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="Street 1 :" TextWrapping="Wrap" Grid.Column="2" Grid.Row="4"/> 
                                    <TextBlock HorizontalAlignment="Right" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="Street 2 :" TextWrapping="Wrap" Grid.Column="2" Grid.Row="5"/> 
                                    <TextBlock HorizontalAlignment="Right" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="City :" TextWrapping="Wrap" Grid.Column="2" Grid.Row="6"/> 
                                    <TextBlock HorizontalAlignment="Right" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="State :" TextWrapping="Wrap" Grid.Column="2" Grid.Row="7"/> 
                                    <TextBlock HorizontalAlignment="Right" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="E-Mail :" TextWrapping="Wrap" Grid.Column="2" Grid.Row="8"/> 
                                    <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="{Binding ConsumerName}" Grid.Column="4" Grid.Row="2"/> 
                                    <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="{Binding ConsumerPhone}" Grid.Column="4" Grid.Row="3"/> 
                                    <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="{Binding Address_Street1}" Grid.Column="4" Grid.Row="4"/> 
                                    <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="{Binding Address_Street2}" Grid.Column="4" Grid.Row="5"/> 
                                    <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="{Binding Address_City}" Grid.Column="4" Grid.Row="6"/> 
                                    <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="{Binding Address_State}" Grid.Column="4" Grid.Row="7"/> 
                                    <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Stretch" FontSize="18.667" Text="{Binding ConsumerEmail}" Grid.Column="4" Grid.Row="8"/> 
                                    <Button Margin="-2.78,11.037,-4.748,8" Content="Print Order" Grid.Column="1" Grid.ColumnSpan="5" Grid.Row="9" d:LayoutOverrides="VerticalAlignment, GridBox" HorizontalAlignment="Center"/> 
                                </Grid> 
                            </Navigation:RadTabItem> 
                            <Navigation:RadTabItem Header="Ordered Item Details" Margin="0,0,0,0" Height="24"
                                <Grid Height="Auto" HorizontalAlignment="Stretch"
                                    <telerik:RadGridView x:Name="MenuItems" AutoGenerateColumns="False" ItemsSource="{Binding CurrentMenuItems}"
                                        <telerik:RadGridView.Columns> 
                                            <telerik:GridViewDataColumn Header="Serial No" DataMemberBinding="{Binding Path=SerialNumber}"
                                                <telerik:GridViewColumn.AggregateFunctions> 
                                                    <telerikData:SumFunction Caption="Hi:" SourceField="SerialNumber"  SourceFieldType="{x:Type sys:Int32}"></telerikData:SumFunction> 
                                                </telerik:GridViewColumn.AggregateFunctions>                                                 
                                            </telerik:GridViewDataColumn> 
                                            <telerik:GridViewDataColumn Header="Item Name" DataMemberBinding="{Binding Path=ItemName}"></telerik:GridViewDataColumn> 
                                            <telerik:GridViewDataColumn Header="Quantity" DataMemberBinding="{Binding Path=Quantity}"></telerik:GridViewDataColumn> 
                                            <telerik:GridViewDataColumn Header="Amount" DataMemberBinding="{Binding Amount}"
                                            </telerik:GridViewDataColumn> 
                                        </telerik:RadGridView.Columns> 
                                    </telerik:RadGridView> 
                                </Grid> 
                            </Navigation:RadTabItem> 
 
                        </Navigation:RadTabControl> 
                    </StackPanel> 
                </DataTemplate> 
            </telerik:RadGridView.RowDetailsTemplate> 
        </telerik:RadGridView> 
        <Grid Grid.Row="2" Height="20" Background="Black"
            <Grid.ColumnDefinitions> 
                <ColumnDefinition Width="0.995*"/> 
                <ColumnDefinition Width="0.005*"/> 
            </Grid.ColumnDefinitions> 
 
        </Grid> 
    </Grid> 
</Page> 
 

Chintan Shah
Top achievements
Rank 2
 answered on 09 Feb 2010
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
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?