Telerik Forums
UI for WPF Forum
3 answers
74 views
Hi

I am using 12 Rad TileView Item So I click the 12th TileView Item to Maximize  then minimize  that tileview move to First item but I want Maintain 12 th item

Regards
S.SenthilNathan
Zarko
Telerik team
 answered on 12 Apr 2011
9 answers
928 views
Hi Telerik,

It's perfectly possible that my issue is due to not understanding the focus topic, but the general WPF examples I find do not seem to work for me with RadDocking.

Goal / What I try to achieve:
- I wish to be able to double-click a row in a RadGridView, which is inside a RadPane.
- When double-clicking, I wish to open another RadPane, potentially one that's already open and focus a specific control (RadMaskedTextBox) inside the new RadPane.

(Our inspiration is the Error List in Visual Studio - our goal is exactly the same, directing the user to be able to edit a specific, problematic value).

Problem:
The control is not focused, rather the initial window is focused.

What I do:
I use Keyboard.Focus() to focus the RadPane
I use Keyboard.Focus() to focus the specific control.
It's done after the control is loaded and the specific control has .Focusable==.IsVisible==true
Result: System.Windows.Input.Keyboard.FocusedElement shows the desired control.
So far so good!
In the eventhandler OnRowActivated I set e.Handled = true

But when I exit the eventhandler OnRowActivated (that is: after debugging, the app is running again), the Error window has focus, not the one I just gave focus to.

So do my Telerik controls 'draw back' the focus as part of wrapping up the OnRowActivated event handler, or do you have some ideas on what to try out?

Thanks,

Anders, Denmark
George
Telerik team
 answered on 12 Apr 2011
3 answers
170 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
84 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
309 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
92 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
103 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
378 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
565 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
155 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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?