Telerik Forums
UI for WPF Forum
3 answers
153 views
I have a Tab control that can show multiple tab items. In one of tab item say tab A, there's a RadGridView which contains large data (> 400 rows). Each time I close another tab say tab B, and leave tab A as the current selected tab, the closing of tab B is very slow which isn't that slow when tab A isn't in the tab strips.

I know RadGridView has UI virtulization by default, I set both EnabledRowVirtulization and EnabledColumnVirtulization to false and this didn't help

any idea?
james
Vlad
Telerik team
 answered on 12 Apr 2011
1 answer
78 views
I have a RadGridView that is using a GridViewDataColumn, CellTemplate, and some DataTemplates to display an appropriate editor based on the type of data in the current row. I also have a GridViewComboBoxColumn on the same row.
My first question is if it's possible to change the combobox to behave more like a "vanilla" WPF combobox - always displaying the selection arrow and requiring only a single click to edit the contents?
My second question is I how I cause the combobox to accept it's current value when the user clicks in the GridViewDataColumn. If it's a standard GridViewDataColumn the behavior is what I would expect (clicking in the cell will change the underlying data for the combobox) but if I use a CellTemplate to display a different editor that behavior is lost.

EDIT: The sort of behavior I'm trying to mimic is best described with the classes below. Imagine having an ObservableCollection<Player> that you wanted to display in a GridView. For Pitchers you want to show an editor for the RunAverage, for Batters you want to show BattingAverage, and for regular Players you want to show the Salary.
public class Player
{
   public string Name {get;set;}
   public int JersyNumber {get;set;}
   public Currency Salary {get;set;}
}

public class Pitcher : Player
{
   public decimal RunAverage {get;set;}
}
public class Batter : Player
{
   public decimal BattingAverage{get;set;}
}
Vlad
Telerik team
 answered on 12 Apr 2011
7 answers
294 views
I woud need read only ScheduleView, but there isn“t property IsReadOnly in RadScheduleView. Read-Only property is not supported in RadScheduleView? Or is it possible to do somehow RadScheduleView read only?
Hamza
Top achievements
Rank 1
 answered on 11 Apr 2011
1 answer
84 views
Hi Telerik Support,

It's Ric Yik, we are using RadColorPicker for WPF.

I have 2 questions here:

  1. We would like to know how can we know if the user has selected the NoColor Field?
    We will detect if the user has chosen NoColor such that some specific logic will be applied.
  2. How to set the default NoColor?

Thanks
Ric Yik
Petar Mladenov
Telerik team
 answered on 11 Apr 2011
1 answer
94 views
Hi,

      I created the radContextMenu as the Custom control and add the reference components to my Applications.
 create the alias name for in my page and Access the Contextmenu inside the RadGridView. But it could work.
Can you pls help me solve this issue?
George
Telerik team
 answered on 11 Apr 2011
2 answers
367 views
Hello, I have a problem to understand how the GridViewCheckBoxColumn three state works on a end-user perspective.

What happens: I have a grid having a checkbox column with IsThreeState = true, I launche the form: if i click the checkbox the first time it shows me an horizontal line (undetermined state??), if i click it again it shows no check sign (unchecked state), if I click it again it shows a check sign (checked state). The next click set the check box state to unchecked, the following click to checked state .. and so on, no way to set undetermined state again.

What I need: I need to know how the user can set the state to undetermined state again.

Sample code attached (just in case I'm missing something)

note: The data source is a CollectionListView whose source is a EntityFramework Table bound to an sql 2008 table that have a nullable bit column, mapped to a Nullable<bool> CLR property.

<Window.Resources>
        <CollectionViewSource x:Key="tQTZ_NoliVociViewSource" d:DesignSource="{d:DesignInstance my:TQTZ_NoliVoci, CreateList=True}" />
    </Window.Resources>
    <Grid DataContext="{StaticResource tQTZ_NoliVociViewSource}">
        <telerik:RadGridView  Name="tQTZ_NoliVociRadGridView" ItemsSource="{Binding}" AutoGenerateColumns="False">
            <telerik:RadGridView.Columns>
 <!-- other columns -->
                <telerik:GridViewCheckBoxColumn IsTreeState="True"
                    DataMemberBinding="{Binding colonnaLordo}" UniqueName="colonnaLordo" Name="colonnaLordo" Header="Lordo" Width="70">                   
                </telerik:GridViewCheckBoxColumn>

            </telerik:RadGridView.Columns>
        </telerik:RadGridView>       
    </Grid>
Andrea
Top achievements
Rank 1
 answered on 11 Apr 2011
2 answers
536 views
Hi
I want to  apply  a style when a RadComboBox is not selected value
I try with ComboBox its working correctly but how to apply it in to a telerik:RadComboBox
please help.

My Style

 <Style x:Key="requiredFieldValidationStyle">
            <Style.Triggers>
                <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=Text}" Value="">
                    <Setter Property="telerik:RadComboBox.BorderBrush" Value="Red" />
                    <Setter Property="telerik:RadComboBox.BorderThickness" Value="2" />
                </DataTrigger>
            </Style.Triggers>
        </Style>

Combobox

  <ComboBox Style="{StaticResource requiredFieldValidationStyle}" Margin="12,99,24.442,0" Height="24" VerticalAlignment="Top">
            <ComboBoxItem />
            <ComboBoxItem> </ComboBoxItem>
            <ComboBoxItem>1</ComboBoxItem>
            <ComboBoxItem>2</ComboBoxItem>
        </ComboBox>

RadComboBox
   <telerik:RadComboBox Style="{StaticResource requiredFieldValidationStyle}" telerik:Theming.Theme="Vista" Height="53.169" Margin="24.442,12,12,0" Width="219.558" VerticalAlignment="Top">
            
            <telerik:RadComboBoxItem Content=""/>
            <telerik:RadComboBoxItem Content="Item 1"/>
            <telerik:RadComboBoxItem Content="Item 2"/>
        </telerik:RadComboBox>



Thank you
Dani
Telerik team
 answered on 11 Apr 2011
3 answers
122 views

Hi,

I want to Wrap the Group Column Header.How to do that?

Thanks
Anand
Top achievements
Rank 1
 answered on 11 Apr 2011
1 answer
119 views

Hello

Is there way that user can add items to combo Box from the text box of the combo?

Is there sample for this?

Best regard

Ehud

Yana
Telerik team
 answered on 11 Apr 2011
3 answers
359 views
Hello,

I'd like to set the height of a radsplitter container.

<telerik:RadSplitContainer InitialPosition="FloatingOnly" x:Name="ZoomContainer" > 
                <telerik:RadPaneGroup  > 
                    <telerik:RadPane CanDockInDocumentHost="False" CanUserClose="True" x:Name="paneZoom"   
                          Header="Zoom" > 
                            <Grid> 
  <myoject Width="200" Height="200"/> 
</Grid> 
</telerik:RadPane> 
<telerik:RadSplitContainer> 

My object has a fixed size, I'd like the RadSplitContainer to have the same....

And finally I don't want the user can resize splitcontainer. have you a property to do that ?

Thanks Aurore
Yana
Telerik team
 answered on 11 Apr 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
Expander
Slider
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?