Telerik Forums
UI for WPF Forum
1 answer
318 views

We have a grid with several properties. Length of each "Display name" is different: there are short names like "Step" and long names like "Upper alignment style". I want the "Display name" column (property name column) to auto-size according to the longest property name in the grid.
Currently I tried two options:
1. specify  LabelColumnWidth to Auto, but this gives row-based auto-sizing, but I want that that all rows have the same width (looks like a single column)
2. not specify anything, the width is set to ~200px that's too long for me

Can you please suggest a proper way to have auto-sized width for the whole column?

Thank you!

 

Maya
Telerik team
 answered on 25 Apr 2012
1 answer
199 views
Hello!
In rare cases dialog window looks like on the  attached screenshots. This problem is observed on Windows XP only in rare cases. Typicaly this problem happens right after application is launched.
What can cause this problem? How it can be fixed?

Georgi
Telerik team
 answered on 25 Apr 2012
5 answers
291 views
Hi,

I wonder why this code fails to produce tiles that occupy the full width of the TileView:

<telerik:RadTileView DockPanel.Dock="Top" ItemsSource="{Binding Phases}" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                        SelectionMode="Single" ColumnWidth="*" ColumnsCount="1" IsAutoScrollingEnabled="True"
                        IsSynchronizedWithCurrentItem="True" IsSelectionEnabled="True"
                        MaximizeMode="Zero" RowHeight="Auto"
                        telerik:TileViewPanel.IsRowsShrinkEnabled="True"
                        telerik:StyleManager.Theme="Expression_Dark">
    <telerik:RadTileView.ContentTemplate>
        <DataTemplate>
            <Grid Margin="6">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <ContentControl Grid.Column="0" HorizontalAlignment="Stretch" Content="{Binding}" >
                    <ContentControl.Style>
                        <Style TargetType="{x:Type ContentControl}">
                            <Setter Property="ContentTemplate" Value="{StaticResource PhaseTemplate}" />
                            <Style.Triggers>
                                <DataTrigger Binding="{Binding IsChecked, ElementName=EditButton}" Value="True">
                                    <Setter Property="ContentTemplate" Value="{StaticResource PhaseEditTemplate}" />
                                </DataTrigger>
                            </Style.Triggers>
                        </Style>
                    </ContentControl.Style>
                </ContentControl>
                <ToggleButton x:Name="EditButton" Margin="6,0,6,0" Grid.Column="1"
                        Style="{StaticResource EditToggleButton}"
                        HorizontalAlignment="Right" VerticalAlignment="Top" />
            </Grid>
        </DataTemplate>
    </telerik:RadTileView.ContentTemplate>
</telerik:RadTileView>

I can see, using Snoop, that the TileView takes the full width where it's shown, but when I create TileViewItems in it, they occupy a fraction of the TileView. When I create a second TileViewItem, it's displayed in the second row, though, even if there's enough space left in the first row. It's like the column width is not what I expect, but the column count is respected.

Any help will be greatly appreciated.

Regards,

Alex
Zarko
Telerik team
 answered on 25 Apr 2012
1 answer
120 views
Hello,

I wanted to use 
<telerik:RadGridView FilteringMode="FilterRow">
as explained in the docu here 

http://www.telerik.com/help/wpf/gridview-filtering-howto-configure-the-filtering-mode.html however it is not available on the control

Rossen Hristov
Telerik team
 answered on 25 Apr 2012
6 answers
854 views
Hi,

I have problem with telerik GridViewCheckBoxColumn.

The code is

 <telerik:GridViewCheckBoxColumn   SourceUpdated="IsAchievedColumn_SourceUpdated" Header="{x:Static resources:MultilingualTranslations.Rebates_Admin_RebateDetailsJbp_DataGrid_IsAchievedColumn_HeaderCaption}" 
                                            IsReadOnly="False"  x:Name="IsAchievedColumn"  DataMemberBinding="{Binding IsAchieved,Mode=TwoWay,UpdateSourceTrigger= PropertyChanged}" >

When I edit checkbox with unchecked then it is not immediatly setting IsAchieved property to false ,it is doing when I remove the focus from the cell.I hope you understand the problem.



Can you please suggest what needs to be done ASAP please.


Vikash
Top achievements
Rank 1
 answered on 25 Apr 2012
7 answers
530 views
Hello,

I am trying to create 2 RadRadioButtons in my xaml file, but they appear as regular RadButtons instead.  How do I get them to appear as RadioButtons?

Thanks,
Joe
Tina Stancheva
Telerik team
 answered on 25 Apr 2012
3 answers
278 views

When a ListBox is "below" a RadBusyIndicator in the visual tree, it seems to have a focus
or styling issue; its color changes to a light gray or off-white. Is this a known issue or
expected behavior? Is there a work-around? Here is a sample UserControl I threw together
to demonstrate what it's doing. The first ListBox appears correctly, the second one is shaded.

<UserControl x:Class="ListBoxFocusIssueUC"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:tk="http://schemas.telerik.com/2008/xaml/presentation"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">

 <Grid>
  <Grid.RowDefinitions>
   <RowDefinition Height="Auto" />
   <RowDefinition Height="Auto" />
  </Grid.RowDefinitions>

  <ListBox Grid.Row="0" BorderThickness="0" MaxHeight="80">
   <ListBox.Items>
    <ListBoxItem Content="Item #1" />
    <ListBoxItem Content="Item #2" />
    <ListBoxItem Content="Item #3" />
   </ListBox.Items>
  </ListBox>

  <tk:RadBusyIndicator Grid.Row="1" Background="Transparent" BusyContent="Testing..." IsBusy="true">
   <ListBox BorderThickness="0" MaxHeight="80">
    <ListBox.Items>
     <ListBoxItem Content="Item #1" />
     <ListBoxItem Content="Item #2" />
     <ListBoxItem Content="Item #3" />
    </ListBox.Items>
   </ListBox>
  </tk:RadBusyIndicator>
 </Grid>
</UserControl>

Georgi
Telerik team
 answered on 25 Apr 2012
3 answers
201 views
I have the following column in a grid:
<t:GridViewComboBoxColumn IsComboBoxEditable="True"
            DataMemberBinding="{Binding Path=QuoteNum, Mode=TwoWay}"
            Header="Quote" Width="125"
            ItemsSource="{Binding Path=AvailableQuotes, Mode=OneWay}" />

The ItemsSource is a simple IEnumerable<string>, and the combo shows the values from the ItemsSource, but I also want to allow the user to input a value that is not in the list (ItemsSource), hence the IsComboBoxEditable="True".

However, whenever you type in a value to the combobox, the value is lost and the column is left unset.  In fact, as far as I can tell the property setter on the view model is never actually called.

What am I doing wrong?
Maya
Telerik team
 answered on 25 Apr 2012
2 answers
220 views
I am using C# and Telerik controls version 2012.1.326

In the Quick Access Toolbar overflow menu, I would like to create additional menu items.  I am referring to items like "Show Below the Ribbon" and "Minimize the Ribbon".  Any ideas on how to add additional menu items?

Thanks,
Trang
 
Trang
Top achievements
Rank 1
 answered on 25 Apr 2012
3 answers
207 views
Hello,

I am looking to add frozen / pinned row functionality to our grids, just like Excel.  I've already found this blog post and modified it for WPF.

http://blogs.telerik.com/blogs/posts/10-07-05/frozen-pinned-rows-in-radgridview-for-silverlight.aspx 

There are still a few items which I am struggling with.  The first, which is quite major, is that the sample simply uses auto generated columns.  That will not work for me, I need to specify the columns.  Our columns are defined in XAML and can be quite complex, with DataTemplates and a number of styling options configured.  I don't want to define those again somewhere, and even if I do I'm not sure how I would access them.  I simply want the columns that are already in the grid to appear in the frozen container as well.

The second item, is that the Column Headers are not appearing, not sure why.
Duncan
Top achievements
Rank 1
 answered on 24 Apr 2012
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
PersistenceFramework
DataPager
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?