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

The TimeLine items randomly positioned on the rows.
- Group 1
XXXXXXXXXXXX   O   O   O    O   O   O     O   O   O
         XXXXXXXXXXXX XXXXXXXXXXXX  
               
+ Group 2

Is it possible to choose a row item ? I must have a period followed by several events without duration on each row in the same group :

- Group 1
XXXXXXXXXXXX   O   O   O
         XXXXXXXXXXXX    O   O   O
                  XXXXXXXXXXXX   O  O  O

+ Group 2

Tsvetie
Telerik team
 answered on 01 May 2013
2 answers
194 views
 I have to GridViewDataColumns in a single grid.  Both have DataMemberBinding set. Both display the information in the grid however filtering does not work on the second one. The only difference betweend the two is one has a long Path than the other. Are there any known bugs with this and is there a work around?

This one works
   <telerik:GridViewDataColumn Width="75"
                                                    MinWidth="75"
                                                    DataMemberBinding="{Binding Path=PaymentSubTypeDetail.PurchaseBased}"
                                                    Header="%"
                                                    IsFilterable="True"
                                                    IsSortable="True" />

This one doesn't work
<telerik:GridViewDataColumn Width="*"
                                                    MinWidth="100"
                                                    DataMemberBinding="{Binding  Path=PaymentSubTypeDetail.ReceiptTicketStyle.Name}"                                                  
                                                    Header="Receipt Style"
                                                    IsFilterable="True"
                                                    IsSortable="True" / >
                       
               
Dimitrina
Telerik team
 answered on 01 May 2013
1 answer
141 views
I have an issue with highlighting an item when typing in the combobox. It's reproducible with the WPF Controls Examples like this:

- Open WPF Controls Examples
- All controls
- Select combobox demo
- In more ComboBox Examples select the Data Binding example
- Click on the top combobox (The not editable sample)
- Type PB
- The item 'PB knackebrod AB' should be highlighted, but it's not
- Press enter
- The tem 'PB knackebrod AB' is selected

So it does find the correct item, but does not highlight it.

Could you please fix this?
George
Telerik team
 answered on 01 May 2013
3 answers
142 views
Hello,
I'm mainly using Summer theme as implicit styles. However I realized that System.Windows.xaml of this theme is causing exception in WPF designer on Visual Studio 2012. When I'm exclude these styles from resources everything is correct, after including I have crash again. I've started testing and realized that this is happening with summer theme but e.g. Windows8 is working without issue. I've checked office and it has the same issue. The issue is only with System.Windows.xaml  file. I tried to find where it is but I couldn't

There is other issue that I have which is related to .NET 4 and Visual Studio 2010:
in your implicit styles there can be found e.g. following clause:
<DiscreteObjectKeyFrame.Value>
<Thickness>0,0,-1,0</Thickness>
</DiscreteObjectKeyFrame.Value>
Becaue I'm using Polish operating system designer (becuase of VS bug) cannot parse this (it doesn't like commas). Could you please change commas to spaces? Which is proper as well and you already using that in most places but not always. I can find examples where commas can be found. It is taking me a lot of time to upgrade project properly becuase I need to take care with this bug.
Vanya Pavlova
Telerik team
 answered on 01 May 2013
1 answer
641 views
I couldn't able to apply rounded corners to the SubMenu's in the RadContextMenu. I do like to know how to set the minwidth for submenu just like in the TopLevelMenu and How to change the highlightcolor. Any help would be great. Thank you in advance.
<Window.Resources>       
        <Style x:Key="MenuItemStyle" TargetType="{x:Type telerik:RadMenuItem}">
            <Setter Property="Icon" Value="{Binding Icon}" />
            <Setter Property="IsSeparator" Value="{Binding IsSeparator}" />           
        </Style>
        <Style x:Key="ContextMenuStyle" TargetType="telerik:RadContextMenu">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="telerik:RadContextMenu">
                        <Border CornerRadius="5" BorderBrush="Gray" BorderThickness="1" Background="White" SnapsToDevicePixels="True">
                            <ItemsPresenter />
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>
    <Grid>
        <Border Background="Gray" >
            <telerik:RadContextMenu.ContextMenu>
                <telerik:RadContextMenu x:Name="textcontext" IconColumnWidth="0" MinWidth="150" 
                                        Style="{StaticResource ContextMenuStyle}" HorizontalAlignment="Right"
                                        NotifyOnHeaderClick="True" ItemContainerStyle="{StaticResource MenuItemStyle}" ItemsSource="{Binding}" >
                    <telerik:RadMenuItem Header="New" />
                    <telerik:RadMenuItem IsSeparator="True" />
                    <telerik:RadMenuItem Header="Edit" >
                        <telerik:RadMenuItem Header="New" />
                        <telerik:RadMenuItem IsSeparator="True" />
                        <telerik:RadMenuItem Header="Edit">
                            <telerik:RadMenuItem Header="New" />
                            <telerik:RadMenuItem IsSeparator="True" />
                            <telerik:RadMenuItem Header="Edit"/>
                            <telerik:RadMenuItem Header="Delete" />
                            <telerik:RadMenuItem Header="Select" />
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Header="Delete" />
                        <telerik:RadMenuItem Header="Select" />
                    </telerik:RadMenuItem>                                    
                    <telerik:RadMenuItem Header="Delete" />
                    <telerik:RadMenuItem IsSeparator="True" />
                    <telerik:RadMenuItem Header="Select" />
                </telerik:RadContextMenu>
            </telerik:RadContextMenu.ContextMenu>
        </Border>
    </Grid>



Hristo
Telerik team
 answered on 01 May 2013
1 answer
333 views
Hi,
The problem:
  On the click of a row I have to show the child records (more suitable for HierarchicalTemplate but for some unknown reasons it failed in our project, though worked in the demo I prepared). Basically it seems that the row is not expanding to show rowDetailTemplate which contains another radgridview. The issue was due to some properties in style. I don't find a link to delete, please delete this link. I am facing another issue but will open an appropriate thread.

So I am using RowDetailsTemplate, which contains RadGridView  again. I have moved binding logic from the XAML file to code behind for testing in the OnRowDetailsVisibilityChanged. The problem is binding is working fine in all the cases, but detail grid shows exactly over the parent row. I am attaching the image. I have trying doing the same with GridViewToggleRowDetailsColumn but result is the same. Here is my grid Code and thanks in advance for the help.

<telerik:RadGridView  Name="gridCountEntry" MinHeight="500" 
RowDetailsVisibilityChanged="GridCountEntry_OnRowDetailsVisibilityChanged" ItemsSource="{Binding CurrentRecord.StockTicketLines, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ShowGroupPanel="False" AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsVisibilityMode="Collapsed" >

       <!--        <telerik:RadGridView.ChildTableDefinitions>                <telerik:GridViewTableDefinition>                    <telerik:GridViewTableDefinition.Relation>                         <telerik:PropertyRelation ParentPropertyName="LineStockTransactions"></telerik:PropertyRelation>                    </telerik:GridViewTableDefinition.Relation>                </telerik:GridViewTableDefinition>            </telerik:RadGridView.ChildTableDefinitions>            -->      
<
telerik:RadGridView.Columns>        
<
telerik:GridViewDataColumn DataMemberBinding="{Binding LineProductCode}" Header="Code" IsReadOnly="True" Width="55"/>
       <telerik:GridViewDataColumn DataMemberBinding="{Binding LineRowAttribute}"  Header="Attribute" IsReadOnly="True" Width="70"/>
       <telerik:GridViewDataColumn DataMemberBinding="{Binding LineColumnAttribute}"  Header="Attribute" IsReadOnly="True" Width="70"/>  
      <
telerik:GridViewDataColumn DataMemberBinding="{Binding LineProductDescription}" Header="Description" IsReadOnly="True" Width="150"/>  
      <
telerik:GridViewDataColumn DataMemberBinding="{Binding LineStorageLocation}" Header="Storage Location" IsReadOnly="True" Width="130"/>   
     <
telerik:GridViewDataColumn DataMemberBinding="{Binding LineOwnerShip}" Header="Ownership" IsReadOnly="True" Width="100"/>    
    <
telerik:GridViewDataColumn DataMemberBinding="{Binding LineOnHand}" Header="On Hand" IsReadOnly="True" Width="70"/>    
    <
telerik:GridViewDataColumn DataMemberBinding="{Binding LineCounted}" Header="Counted"  Width="55"/>        <telerik:GridViewDataColumn DataMemberBinding="{Binding LineChange}" Header="Change" IsReadOnly="True"  Width="70"/>
     <telerik:GridViewToggleRowDetailsColumn />

     </telerik:RadGridView.Columns>  
      <
telerik:RadGridView.RowDetailsTemplate>
         <DataTemplate>
           <telerik:RadGridView ShowGroupPanel="False" AutoGenerateColumns="False" CanUserFreezeColumns="False" MinHeight="90" Margin="15,15,15,15">
         <telerik:RadGridView.Columns>
       <telerik:GridViewDataColumn DataMemberBinding="{Binding TransactionDate}" UniqueName="TransactionDate" Header="Trans Date" IsReadOnly="True" Width="70"/>
           <telerik:GridViewDataColumn DataMemberBinding="{Binding PerformedBy}" UniqueName="PerformedBy" Header="Who" IsReadOnly="True" Width="70"/>
             </telerik:RadGridView.Columns>
         </telerik:RadGridView>
         </DataTemplate>
       </telerik:RadGridView.RowDetailsTemplate>
   </telerik:RadGridView>


Rossen Hristov
Telerik team
 answered on 01 May 2013
3 answers
138 views
Any progress? In a post you where writing this.

Hi Branko,

Currently RadPropertyGrid does not support DataErrors validation (It supports exception validation only). However, as it is not a major feature we can implement it for you and include it in an internal build. I believe that we will manage to introduce this change in two weeks. I will keep in touch with you, in order to notify you as soon as the mentioned IB is available for download.

Regards,
Ivan Ivanov 
the Telerik team

and later on:

Posted on Feb 29, 2012 (permalink)

Hi Branko,

I will notify you as soon as the IB is released (it should be the next Monday/Tuesday). I will prepare a simple test project for your referense, as well. Please, do not hesitate to contact us if you have any further inquiries. 

Kind regards,
Ivan Ivanov 
the Telerik team

I need this badly, so please respond.. 

Posted on Feb 21, 2012 (permalink)

Hi Branko,

Currently RadPropertyGrid does not support DataErrors validation (It supports exception validation only). However, as it is not a major feature we can implement it for you and include it in an internal build. I believe that we will manage to introduce this change in two weeks. I will keep in touch with you, in order to notify you as soon as the mentioned IB is available for download.

Regards,
Ivan Ivanov 
the Telerik team

Posted on Feb 21, 2012 (permalink)

Hi Branko,

Currently RadPropertyGrid does not support DataErrors validation (It supports exception validation only). However, as it is not a major feature we can implement it for you and include it in an internal build. I believe that we will manage to introduce this change in two weeks. I will keep in touch with you, in order to notify you as soon as the mentioned IB is available for download.

Regards,
Ivan Ivanov 
the Telerik team

Posted on Feb 21, 2012 (permalink)

Hi Branko,

Currently RadPropertyGrid does not support DataErrors validation (It supports exception validation only). However, as it is not a major feature we can implement it for you and include it in an internal build. I believe that we will manage to introduce this change in two weeks. I will keep in touch with you, in order to notify you as soon as the mentioned IB is available for download.

Regards,
Ivan Ivanov 
the Telerik team

Posted on Feb 29, 2012 (permalink)

Hi Branko,

I will notify you as soon as the IB is released (it should be the next Monday/Tuesday). I will prepare a simple test project for your referense, as well. Please, do not hesitate to contact us if you have any further inquiries. 

Kind regards,
Ivan Ivanov 
the Telerik team

Posted on Feb 29, 2012 (permalink)

Hi Branko,

I will notify you as soon as the IB is released (it should be the next Monday/Tuesday). I will prepare a simple test project for your referense, as well. Please, do not hesitate to contact us if you have any further inquiries. 

Kind regards,
Ivan Ivanov 
the Telerik team
Ivan Ivanov
Telerik team
 answered on 01 May 2013
1 answer
159 views
Hi There,

I have a requirement where i used a simple wpf <Popup/> control in which i have a RadGridView control, i want to resize the popup control, i have seen a control in telerik that is <telerik:ResizeControl/> , can i use this control for my purpose ? if yes can you please tell me how i can implement this? if not then can you please guide me to achieve this?

Thanks in advance.

Regards,
Srinivas.

Vanya Pavlova
Telerik team
 answered on 01 May 2013
6 answers
713 views
Hello.

I'm using the RadTabControl with the Expression_DarkTheme.  I want to change the background of the tab headers when selected.  Is there a relatively simple way to do this  or do I have to re-template the whole tab header?

Thanks in advance.

- Don Jordan
Don
Top achievements
Rank 1
 answered on 30 Apr 2013
4 answers
130 views
I am using MVVM pattern.  I have a RadGridView and have bound the ItemsSource to a collection and SelectedItem to an individual item in the VM.    This works, and I have some buttons to reorder the collection.  They call a command on the VM that moves the SelectedItem up or down in the collection.  This works fine but it appears that after the item gets moved, the SelectedItem becomes null.  My goal is to be able to select an item in the RadGridView and then click the "Move Up" button several times to move the item up in the collection.  Currently the experienced behavior is that I click the item and get one Move Up(or Down) before the SelectedItem becomes null and I am required to select an item to continue moving items.  I have put debug statements in both the SelectionChanged and SelectionChanging events on the RadGridView. 

Upon running my app, here is the order I see:

Event

SelectedItem

SelectionChanging

null

SelectionChanged

CorrectItem

Move method

CorrectItem

SelectionChanging CorrectItem
SelectionChanged  null

I even tried manually setting the SelectedItem in the VM after reordering it, but the reset to null appears to happen sometime after this. 
I have the latest version (2013.1.220.45)  installed and referenced in my project.
   Please let me know if something is unclear.

Thanks,
Chris

Andie
Top achievements
Rank 1
 answered on 30 Apr 2013
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?