Telerik Forums
UI for WPF Forum
3 answers
257 views
Hi

I am using Q3 2010, Blend 4, VS 2010. i am generating Columns dynamically using GridviewCheckboxColumn  my questions are

1. i am using style to align the checkbox at the center of the Column., its working perfectly fine, but the problem is when i am trying 
    to edit the checkbox moves to the left of the bound column.

2. I need to use two clicks to edit the checkbox, but i am setting the checbox

        EditTriggers = 

 

GridViewEditTriggers.CellClick;

 

         AutoSelectOnEdit = true;
   i need to do two clicks ,

3. I need to set the width and height of the gridviewcheckbox column when i set width =50, height =50, in
   edit mode it is going back to the defulat width and height

please check the attached file

 

 

<Style TargetType="telerik:GridViewCheckBox">
           <Setter Property="HorizontalAlignment" Value="Center"/>
       </Style>
thanks
sarag

 

Vanya Pavlova
Telerik team
 answered on 18 Feb 2011
1 answer
146 views
Does Telerik team has any plans on adding cosmopolitan theme to their portfolio?

If so, when can we expect that to happen?

Thank you,
Vadim K.
Hristo
Telerik team
 answered on 18 Feb 2011
5 answers
272 views
Hi

When the Menus open, they expand vertically from the top. Can I easily change this so that they just appear instantly? Or perhaps make the fade in?

Thanks
Tom Davies
Peavey Digital Research
Kaloyan
Telerik team
 answered on 18 Feb 2011
1 answer
34 views
Hello, we are planning to upgrade our version of "RadControls for WPF".

We are currently in this version: Jun 03, 2010 Q1 2010 SP2 (version 2010.1.0603)
And we want to upgrade to the latest one: Jan 14, 2011 Q3 2010 SP1 (version 2010.3.1314)

We found a page in your website, "RadControls for WPF - Changes and Backward Compatibility" at http://www.telerik.com/help/wpf/changes-backward-compatibility.html
This page has only the changes and compatibility till the Q1 2010 version, which is the one we have.

We would like to know if you can provide us the links where we can find the changes and compatibility from Q1 2010 SP2 to Q3 2010 SP1.

Thanks.
Hristo
Telerik team
 answered on 18 Feb 2011
16 answers
1.1K+ views
Hello,

Is there a way to get the GridViewRow for a record in a RadGridView?

The reason I ask is that I'm trying to implement some behavior where pressing Tab in the last cell of the Grid creates a new row and then puts the first cell for the newly added record in edit mode.  I have read this post and this post and have everything working except getting a cell in the new row in edit mode.

Thanks,

Joel
Milan
Telerik team
 answered on 18 Feb 2011
1 answer
218 views
We have this strange issue where we have a RadComboBox that we interact with from the code behind.

Basically in certain situations, we want to change the SelectedItem or SelectedValue without firing off our SelectionChanged Event Handler. So we are first Unsubscribing our event handler from the RadComboBox like this:

radComboBox.SelectionChanged -= new SelectionChangedEventHandler(ourEventHandler);

We then set our SelectedItem property to the value we want like so:

radComboBox.SelectedItem = outItem;

And then we resubscribe to the SelectionChanged event like so:

radComboBox.SelectedItem += new SelectionChangedEventHandler(ourEventHandler);

The idea is that while we set our SelectedItem, there should be no event set and nothing should fire. However, this is not the case. Instead as soon as we resubscribe to the event, the event fires all the same. Is this a bug?
Ristogod
Top achievements
Rank 2
 answered on 17 Feb 2011
6 answers
472 views
I am new to WPF Controls, we are using RAD Grid view in my project, this is a touch screen application. my question is .
Is there any way that i can show the horizontal scrollbar on the top of the column header and i want to show the horizontal scrollbar right after the frozen column. not from the begining of the grid.

regards
sarag.
sarag
Top achievements
Rank 1
 answered on 17 Feb 2011
1 answer
191 views
Can someone please explain how to cancel a drop operation? I tried the delayed drag/drop example before with mixed results. It seems now with the latest release things may have changed on how this may be accomplished.

Scenario:
Upon drop, get the slot time and resource in the destination slot. Create update back to the DB. If that update fails, cancel the drop operation and make sure the appoitment ends up in the position where it started.

Thanks,
Rod
George
Telerik team
 answered on 17 Feb 2011
1 answer
489 views
I am trying to do something extremely simple.
I am trying to populate a GridViewComboBoxColumn with a list of numbers ranging from 1 - 16.
This is what I have so far:

<Window x:Class="Login"
        xmlns:systhreading="clr-namespace:System.Threading;assembly=mscorlib"
        xmlns:myNamespace="clr-namespace:myNamespace"
        xmlns:primatives="clr-namespace:System.Windows.Controls.Primitives;assembly=PresentationFramework"
        xmlns:sys="clr-namespace:System;assembly=mscorlib"
        Title="Login" Height="768" Width="1024" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Window.Resources>
        <Style TargetType="Label">
            <Setter Property="Width" Value="100"></Setter>
        </Style>
        <Style TargetType="TextBox">
            <Setter Property="Width" Value="100"></Setter>
        </Style>
        <myNamespace:TestUser x:Key="testUser"/ >
        <x:Array x:Key="PortValues" Type="sys:Int32">
            <sys:Int32>1</sys:Int32>
            <sys:Int32>2</sys:Int32>
            <sys:Int32>3</sys:Int32>
            <sys:Int32>4</sys:Int32>
            <sys:Int32>5</sys:Int32>
            <sys:Int32>6</sys:Int32>
            <sys:Int32>7</sys:Int32>
            <sys:Int32>8</sys:Int32>
            <sys:Int32>9</sys:Int32>
            <sys:Int32>10</sys:Int32>
            <sys:Int32>11</sys:Int32>
            <sys:Int32>12</sys:Int32>
            <sys:Int32>13</sys:Int32>
            <sys:Int32>14</sys:Int32>
            <sys:Int32>15</sys:Int32>
            <sys:Int32>16</sys:Int32>
        </x:Array>
    </Window.Resources>
    <DockPanel DataContext="{Binding Source={StaticResource testUser}}">
        <StackPanel DockPanel.Dock="Top" VerticalAlignment="Stretch" HorizontalAlignment="Center">
           <telerik:RadGridView Name="RadGridView1" ItemsSource="{Binding FooBars}">
                <telerik:RadGridView.Columns>
                    <telerik:GridViewComboBoxColumn
                       Header="Something"
                       ItemsSource="{Binding Source={StaticResource PortValues}}" />
                </telerik:RadGridView.Columns>
            </telerik:RadGridView>
        </StackPanel>
      
    </DockPanel>
</Window>


This is my "TestUser" and "FooBar" classes that I am using for testing:

Imports System.ComponentModel
Imports System.Collections.ObjectModel
 
Public Class TestUser
 
    Private _fooBars As ObservableCollection(Of FooBar)
 
    Public Property FooBars As ObservableCollection(Of FooBar)
        Get
            Return _fooBars
        End Get
        Set(ByVal value As ObservableCollection(Of FooBar))
            _fooBars = value
        End Set
    End Property
 
    Public Sub New()
        _fooBars = New ObservableCollection(Of FooBar)
        For i As Integer = 0 To 10
            _fooBars.Add(New FooBar("FooBar" + i.ToString, i))
        Next
    End Sub
End Class
Public Class FooBar
    Public Property Value As Integer
    Public Property Name As String
 
    Public Sub New(ByVal name As String, ByVal value As Integer)
        Me.Value = value
        Me.Name = name
    End Sub
End Class


For some reason I cannot get the GridViewComboBoxColumn to populate with the "PortValues" (I can't even get it to appear).
What am I doing wrong?!?!

Thanks a lot for your help!

-Newbie
Maya
Telerik team
 answered on 17 Feb 2011
1 answer
60 views

 

 

 

RadCalendar c = new RadCalendar();
c.FirstDayOfWeek = null;

See the method (RadCalendar.):

private static bool IsValidFirstDayOfWeek(object value)
{
    DayOfWeek? nullable = (DayOfWeek?) value;
    return (Enum.IsDefined(typeof(DayOfWeek), nullable) || !nullable.HasValue); // ???
}

I getting "throw ArgumentNullException: Value cannot be null.Parameter name: value"

Maybe code change to:

private static bool IsValidFirstDayOfWeek(object value)
{
    DayOfWeek? nullable = (DayOfWeek?) value;
    return (!nullable.HasValue || Enum.IsDefined(typeof(DayOfWeek), nullable.Value));
}

Its really working without exceptions!

Kaloyan
Telerik team
 answered on 17 Feb 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?