Telerik Forums
UI for WPF Forum
8 answers
218 views

Hi,

I'm working with two monitors/screens, and I found out a critical bug.
Steps to reproduce:

1. Run application with RadDocking control which contains 3 panes. Place the app in the screen #1.
2. Drag out one pane and drop it in screen #2.
3. Drag out another pane and drop it into the the first pane we already dragged out (So they will share equal space). In other words, drop it into the new ToolWindow from step 2.
4. Now, from this ToolWindow whice contains 2 panes, drag out the right pane.

Expected: The mouse cursor holds a new ToolWindow which created for the dragged-out pane, and its state is WindowState == Normal.
Actual Result: New ToolWindow is created, but instead of appearing under the mouse cursor, it appears in the first screen, while its height is something very short like 50, and its width is as the width of the first screen. If you leave the mouse button (DragEnd event) and try to drag this short-height ToolWindow in the direction of the second screen, you'll see that it starts to get wider until you reach the the edge of the second screen with the cursor and then it stops to get wider. 

Note: My screens showing my desktop in the mode of "Extend".

Please help to work-around this bug...
Big Thanks!!!

Kalin
Telerik team
 answered on 02 Jul 2015
1 answer
81 views

 Can someone suggest appropriate chart for 3 level parent child relationship of data, I have data in three level hierarchy how to show these data in Rad Chart.

Petar Marchev
Telerik team
 answered on 02 Jul 2015
1 answer
171 views

Hello,

I'm trying to load the last used layout at startup.  I save the last layout on window close and need to load this layout on next startup.  I tried hooking into the bootstrappers InitializeModules() override but was getting inconsistent behaviors.  

 

What is the preferred/recommended method to load a layout at startup?

Thanks!

PT

Kalin
Telerik team
 answered on 02 Jul 2015
7 answers
718 views
How do you limit the number of characters that can be entered.


 

 

<telerikPresentation:GridViewDataColumn x:Name="units" DataMemberBinding="{Binding bale_cnt, Mode=TwoWay}" Header="Units" Width="95" TextAlignment="Right" />

 

 

Anne
Top achievements
Rank 1
 answered on 01 Jul 2015
4 answers
262 views

What I really want to do is this:

I am changing a free-text-field to a categorized field. The categories are objects of a custom class, that I made (ie not a string). I do not want to force my users to select a category on old objects. However, if they want to give a category, they must not be able to select null (also, new objects has null as the SelectedCategory). So I have the old string property and a new SelectedCategory property on my class. On old object SelectedCategory is null - which is good.

However in GridViewComboBoxColumn - since I do have null in the ItemsSource, the first category in the ItemsSource gets selected automatically when the ViewModel provides null as the selected category to the column.

So I try to bypass this behaviour by inserting null in ItemsSource - but then I need to Collapse the item with the value null so that it becomes invisible to the user.

But there are no GridViewComboBoxColumn.ItemsStyle

How do I do this?

 

I do not want to make a validation rule - because I do not want the old objects without a selected category to flash red.

I do not want to have the null value on the userinterface for the user to select and then give him an error that he cannot select it anyway.

 

Stefan
Telerik team
 answered on 01 Jul 2015
1 answer
143 views
Is it possible to book more than one appointment in the same time slot?
Claire
Top achievements
Rank 1
 answered on 01 Jul 2015
4 answers
710 views

Hi!

 I use GridView for displaying objects such as:

 class Detail {

     string Name

     string Value

     string DetailGroup

}

 I create collection and bound GridView ItemsSource to it. In gridView i create 3 columns for each property. Then i start my application I want to the default group was by DetailGroup property. I use GroupingDescriptor, but i don't understand, how can i connect it with My DetailGroupColumn or how to bing it to the Collection property (DetailGroup).

 Will be grateful for help, I hope somebody had such problem.

Dimitrina
Telerik team
 answered on 01 Jul 2015
2 answers
824 views

Hi,

 

I have a simple radgridview in a window. The auto scrolling on the radgridview seems to allow scrolling way past the last record. There are 52 records but no matter what height I give the gridview the scrolling always allows to scroll down past the last record with lots of white space. I have attached a screenshot. Below is my xaml:

 <Window x:Class="WishAdminWPF.RoomingListWindowView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:src="clr-namespace:WishAdminWPF"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  
             xmlns:VM="clr-namespace:WishAdminWPF.ViewModels"
             mc:Ignorable="d" 
             ResizeMode="NoResize"
             d:DesignHeight="400" d:DesignWidth="400"
            SizeToContent="WidthAndHeight"
             Title="Rooms"                    
             WindowStartupLocation="CenterScreen" Loaded="WindowBase_Loaded">
    <Window.DataContext>
        <VM:RoomingListWindowViewModel/>
    </Window.DataContext>
    <Window.Resources>
        <BooleanToVisibilityConverter x:Key="BoolToVisConverter" />
    </Window.Resources>
    <Grid Margin="5">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="200"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
            <telerik:RadGridView Grid.Row="0" Grid.Column="0" Name="grdViewRoominglst" Margin="5" Width="380" Height="200"  VerticalAlignment="Top" 
                                 ItemsSource="{Binding RoomingList}"
                                 ShowGroupPanel="False"
                                 AutoGenerateColumns="False">
                <telerik:RadGridView.Columns>
                    <telerik:GridViewDataColumn Header="Room Type"  Width="auto" DataMemberBinding="{Binding RoomType}" IsReadOnly="True"/>
                    <telerik:GridViewDataColumn Header="Available" Width="auto" DataMemberBinding="{Binding RoomsAvail}" IsReadOnly="True" 
                                                IsVisible="{Binding ShowAvailableRooms, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
                    <telerik:GridViewDataColumn Header="Number" Width="auto" DataMemberBinding="{Binding RoomsUsed}"/>
                </telerik:RadGridView.Columns>
            </telerik:RadGridView>
        <StackPanel Grid.Row="1" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="5">
            <Button  Height="25" Width="60" Margin="5,5,0,5" Name="btnOk" IsDefault="True" Click="btnOk_Click">OK</Button>
            <Button  Height="25" Width="60" Margin="5,5,0,5" Name="btnCancel" Click="btnCancel_Click">Cancel</Button>
        </StackPanel>
    </Grid>
</Window>

Chris
Top achievements
Rank 1
 answered on 01 Jul 2015
1 answer
182 views

Hello,

How can I format RadTimePicket time from XAML? I want to get MM:SS, is that possible?

​

Thanks!

Geri
Telerik team
 answered on 01 Jul 2015
5 answers
305 views

Hi,

I need to understand how to implement a custom aggregate function which performs a weighted average. Or at the very least, a sum product. Ideally the user should be able to select both the item and then the item to weight it by.

Is this even possible? If yes, can you please provide an example of how it can be achieved.

I notice that the the official marketing spiel at WPF Pivot Grid mentions weighted averages within the Calculations section. However, it's not obvious to me how this can be done.

Thanks in advance,

Charles

Kalin
Telerik team
 answered on 01 Jul 2015
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?