Telerik Forums
UI for WPF Forum
1 answer
116 views
I have the following control defined in a simple Grid control:

<telerik:RadNumericUpDown x:Name="TotalTimeSpent" Grid.Column="1" Grid.Row="1" Focusable="True" LargeChange="1.0" SmallChange="0.1" Value="0.1" Maximum="24.0" Minimum="0.0" TabIndex="1" UpdateValueEvent="PropertyChanged" ValueFormat="Numeric" />

Note that I have specified a TabIndex of 1.  However when I tab through the UIElemets in the Window the RadNumericUpDown is always last.  I have discovered that the template TextBox has a TabIndex of 2147483647 causing this behavior.  As a work around I do this: 

TextBox totalTimeSpent = TotallTimeSpent.FindChildByType<TextBox>() as TextBox;
 
if (totalTimeSpent != null)
{
    totalTimeSpent .TabIndex = TotalTimeSpent .TabIndex;
}

in the Loaded event.  The result is as if the TabIndex was propagated to the templated TextBox.

 
Konstantina
Telerik team
 answered on 01 Feb 2011
1 answer
70 views
 My requirement is as follows:

I have a table of similar format -

<Id> <Name>

where I want to have the fields under 'Id' column as read-only, while those under 'Name' would be editable. How to achieve this?
Milan
Telerik team
 answered on 01 Feb 2011
1 answer
91 views
I am using the timeline view. when the appointemt start is less then the first thay of the view, the rendered appointmenitem as wrong end day

For exemple, I add a appointment with start = 24/01/2011 and end = 29/01/2011. when I set the the scheduelerview in the day 27/01/2011 I will see one appoint that start = 27/01/2011 and end = 31/01/2011. I think this is not right...

Hristo
Telerik team
 answered on 01 Feb 2011
1 answer
120 views
Both the RadScheduler and RadScheduleView controls are included in the installation package; but, I don't see any mention of the RadScheduleView in the "RadControls For WPF Documentation." Is that new documentation available now or will it be available soon? Thanks ... George
Hristo
Telerik team
 answered on 01 Feb 2011
1 answer
110 views
Hi,

How do i make the cell readonly while in edit mode but not when the user inserts a new row?

thanks
Maya
Telerik team
 answered on 01 Feb 2011
2 answers
156 views
Hello,

I have a requirement where I want to highlight a for x seconds when the object bound to a row is in certain state.I am using a datatrigger together with a coloranimation for this purpose. When the condition is met, I trigger the storyboard action.  Below is the xaml. The problem I am facing is when I scroll the animation seems to be carrying to other rows which do not satisfy the condition. I have enabled row virtualization. This seems something to do with recycling the row containers ? Any help is greatly appreciated.

 <Style x:Key="test" TargetType="{x:Type telerikGridView:GridViewRow}">
            <Setter Property="Background" Value="White"/>
            <Style.Triggers>
                <DataTrigger Value="true">
                    <DataTrigger.Binding>
                        <MultiBinding Mode="OneWay" Converter="{StaticResource backgroundConverter}">
                            <Binding Path="FirstName"/>
                            <Binding Path="LastName"/>
                        </MultiBinding>
                    </DataTrigger.Binding>
                    <DataTrigger.EnterActions>
                        <BeginStoryboard>
                            <Storyboard>
                                <ColorAnimationUsingKeyFrames AutoReverse="True"  BeginTime="00:00:00" Duration="00:00:5"                                                               Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
                                    <LinearColorKeyFrame Value="Green" KeyTime="00:00:.5" />
                                </ColorAnimationUsingKeyFrames>
                            </Storyboard>
                        </BeginStoryboard>
                    </DataTrigger.EnterActions>
                </DataTrigger>
            </Style.Triggers>
        </Style>

Bhargava
Top achievements
Rank 1
 answered on 31 Jan 2011
2 answers
88 views
I am dragging/dropping from RadTreeView to Listbox.

My problem is that even when DragStatus is Impossible, the TreeViewItem is removed.

Any ideas?
Ryan
Top achievements
Rank 1
 answered on 31 Jan 2011
8 answers
1.0K+ views
Hi!

I'm running in a strange exception:

I've created a menu with 4 entry, each are 16x16px large.

But, when i launch the application, I get this:
http://dl.dropbox.com/u/368403/radmenuitemImage.png

Some icons are magnified.

My icons declaration:
<telerik:RadContextMenu.ContextMenu>
    <telerik:RadContextMenu IsEnabled="{Binding MainTree.CurrentItem.IsFolder, Mode=OneWay}" >
        <telerik:RadMenuItem Header="Create new folder" Icon="/GuiResources;component/ActionsIcons/newFolder.png"/>
        <telerik:RadMenuItem Header="Create new file"  Icon="/GuiResources;component/ActionsIcons/newFile.png" />
        <telerik:RadMenuItem Header="Add a new version of this file" Icon="/GuiResources;component/ActionsIcons/newFolder.png" />
        <telerik:RadMenuItem Header="Delete" Icon="/GuiResources;component/ActionsIcons/delete.png" />
    </telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>

Icons are here: http://dl.dropbox.com/u/368403/icons.zip

So:
-why does it happen?
-How to solve it?

Thank you!

Edit: It seems it was my icons that were having a problem
Stefan
Top achievements
Rank 1
 answered on 31 Jan 2011
1 answer
144 views
Hi,

how do i bind the foreignkey in GridViewComboBoxColumn which item source from DataTable.

this is what I have so far but it does not display the value but the combox was correctly populated
<telerik:GridViewComboBoxColumn DataMemberBinding="{Binding PaymentTypeID}" Header="Payment Type"
DisplayMemberPath="PaymentTypeID"
SelectedValueMemberPath="{Binding PaymentTypeID}"
ItemsSource="{Binding PaymentType}">
</telerik:GridViewComboBoxColumn>
                                           
                                   
public DataView PaymentType
        {
            get
            {
                if (paymentType == null)
                {
                    paymentType = populateDataTable();
                }
                return paymentType.DefaultView;
            }
        }

Maya
Telerik team
 answered on 31 Jan 2011
1 answer
130 views
Hi,

I have a random number of carousel items in my list, currently my goal is to have all the items in one page (by setting the itemsPerPage property)
that works fine, but I don't want mouse wheel scroll, arrow keys on the keyboard or enter key to move the items (behaviors similar to .moveby)
I need to change those navigation controls to instead change the scale stops and the position of the top container item,
e.g. say topcontainer item is the middle one at the start, when user presses left arrow key on the keyboard should move the topcontainer item 1 space from the very middle to the left, and vise versa
Can this be achieved with RadCarousel?

btw, after loading the page with RadCarousel, I have set RadCarousel as focused, if I press navigation keys on the keyboard straight away, the items doesn't move straight away but have some delays, however the mouse scroll works immediately, is this a bug. Also, if I hide the scroll bars the navigations keys changed behaviors to select items instead of moving them. Is there a way to only hide the next page buttons? The reason is that my customers are saying is that going to the next page basically shows nothing in the screen which looks a bit weird

so basically my requirement is to have everthing in one page, and we don't want to go to the next page or previous page, instead we need to have mouse scroll, navigations keys to change the position of top container item and their scales

Cheers,
Tim
Maya
Telerik team
 answered on 31 Jan 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?