Telerik Forums
UI for WPF Forum
13 answers
173 views
Hi,

I use a WeekView definition, I set the FirstDayOfWeek to Monday and the VisibleDays to 5 to see only Monday to Friday. I add 5 appointments, 1 for each day of the week. If my computer datetime is different than Sunday, all my appointments are visible in the control. If my computer datetime is on Sunday, no one are visible in the control!!!

Thank's
Alain
Rosen Vladimirov
Telerik team
 answered on 21 Feb 2014
1 answer
70 views
Hi,

I have an appointment at 8:00 (for example) on 18/02/2014 I would like to move it on the same hour by pressing shift for example.
This mean:
If shift is pressed then change only the date of the appointment
else change the date and the time of the appointment

Regards
Yana
Telerik team
 answered on 21 Feb 2014
1 answer
96 views
Hello,
I've just got 2 question on RadMaskedInput...
  1. I'm using a RadMaskedNumericInput inside a CellEdit with a CellTemplateSelector , if I click tab it's successfully update the value, if I press Enter nothing happens... how can I handle this? I need at the Enter key to save and exit the cell
  2. I've some fields that are Int? and Decimal? I need to have them null without the validation to appear...is there a way I can turn it off?

Thanks

Petar Mladenov
Telerik team
 answered on 21 Feb 2014
1 answer
205 views
I am trying to setup a RadGridView bound to the a collection similar to the following:
public partial class JobDTO
{
    public int Id { get; set; }
    public string JobNumber { get; set; }
 
    public ObservableCollection<MachineTrackerDTO> MachineList { get; set; }
    public ObservableCollection<FixtureTrackerDTO> FixtureList { get; set; }
 
    public JobDTO()
    {
        MachineList = new ObservableCollection<MachineTrackerDTO>();
        FixtureList = new ObservableCollection<FixtureTrackerDTO>();
    }
 
}


I would like the have the MachineList and FixtureList collections as child tables (HierarchyChildTemplate) when displaying the RadGridView, but I also want control of the columns, formats, etc. of the child lists.  For a single child table, this is very easy (from the examples) using HierarchyChildTemplate.  However, I can't figure out how to accomplish with multiple child tables that are at the same level.

Is this possible?

Thanks,
Tim
Dimitrina
Telerik team
 answered on 21 Feb 2014
2 answers
125 views
Hello.
I'm having some problems with binding values with autoselect value from database.
My grid looks like:
(...another columns...)
<telerik:GridViewComboBoxColumn UniqueName="groupCol" DataMemberBinding="{Binding groupList}"  DisplayMemberPath="name"  SelectedValueMemberPath="gid" Header="Group" >

</telerik:GridViewComboBoxColumn>

And in code behind:


using (SqlCommand cmd = new SqlCommand("SELECT ISNULL(groupID, 0) as gid, (...other values...) ", conn))
                    {
                        using (SqlDataAdapter sda = new SqlDataAdapter(cmd))
                        {
                            DataTable dt = new DataTable();
                            sda.Fill(dt);
                            cardsDG.ItemsSource = dt.DefaultView;
                            ((GridViewComboBoxColumn)this.cardsDG.Columns["groupCol"]).ItemsSource = getGroups();
                        }
                    }

Method to get groups is just select groupID as gid, name from myTable, and add to List<groupList> with public int gid, public string name.

What I'd like to reach is that, if select return ID = 10, I want to select this element in combobox, if isnull is reached, then nothing is selected.
What I'm doing wrong?

Yoan
Telerik team
 answered on 21 Feb 2014
1 answer
60 views
Hi,

I am not sure what has changed but after I updated to Q3 2013 SP2 my app that uses docking is now crashing with an exception that it can no longer find the PRISM region "ShellMainRegion". Before the update I had no issues and my code has not changed in over a year.

If I comment out the Docking control my application has no issues.

My XAML snippet is below.

Thanks
Anthony

​            <telerik:RadDocking x:Name="RadDocking" BorderThickness="0" PreviewShowCompass="OnRadDockingPreviewShowCompass" Close="OnRadDockingClose" PaneStateChange="OnRadDockingPaneStateChange" AllowDrop="False">
                <telerik:RadDocking.DocumentHost>
                    <telerik:RadSplitContainer AllowDrop="False">
                        <telerik:RadPaneGroup BorderThickness="0" AllowDrop="False">
                            <telerik:RadDocumentPane Header="DocPane" Visibility="Collapsed" CanUserClose="False" ContextMenuTemplate="{x:Null}" AllowDrop="False">
                                <Grid x:Name="ShellMainGrid" Margin="-10,-10,-10,-10" Background="{StaticResource WindowBackgroundBrush}">
                                    <ContentControl x:Name="ShellMainRegion" Margin="5,5,5,0" prismrgn:RegionManager.RegionName="ShellMainRegion" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch"/>
                                </Grid>
                            </telerik:RadDocumentPane>
                        </telerik:RadPaneGroup>
                    </telerik:RadSplitContainer>
                </telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer x:Name="RadSplitContainer" InitialPosition="DockedLeft" AllowDrop="False">
                    <telerik:RadPaneGroup x:Name="RadPaneGroup" AllowDrop="False"/>
                </telerik:RadSplitContainer>
            </telerik:RadDocking>
Kalin
Telerik team
 answered on 21 Feb 2014
3 answers
146 views
I am using the the RadDiagramContainerShape. I notice that when you drop a RadDiagramShape
component from the RadDiagramToolbox onto a RadDiagramContainerShape that works fine if there is no other item in the RadDiagramContainerShape.  But if you happen to be dropping a RadDiagramShape into a RadDiagramContainerShape that already has an item in it.  You try dropping this new shape on top of the item already in the container it fails to put the new dropped shape into the container.  But instead puts it under the RadDiagramContainerShape.  Is there way to get it to put into the container not under it?  
Martin Ivanov
Telerik team
 answered on 20 Feb 2014
1 answer
115 views
I have a treeview that is bound to an ObservableCollection<INode>. I use hierarchical templates to show the children property of each node when expanded. I have drag and drop working fine. However, I also want the user to be able to move nodes by right-clicking, opening a context menu, and choosing "Move Selected". This would move the selected leaf nodes to the different parent that was right-clicked. I have it working so that the ObservableCollection<INode> is updated and it updates the database, but the RadTreeView control does not update until the application is reloaded.

My question is how can I make the UI update after moving a node in code-behind.

Thanks,
Curtis
Curtis
Top achievements
Rank 1
 answered on 20 Feb 2014
9 answers
368 views
Hi,

I already have to Grid's (with controls inside) on my Window. How  do I transitions between these two Grid's. XAML code?

/Ken
Dimitrina
Telerik team
 answered on 20 Feb 2014
3 answers
408 views
Hello,

  I have a requirement for a custom control but not exactly sure which control to use or if it is possible. The sceanrio is simple enough with an explanation outlined below. Any ideas will be greatly appreciated!

REQS

control will be used to visualize the start and stop of a sales cycle

- the control will be embedded in a grid row as a column template
- the control needs to look and behave like a slider control
- the control needs to have two thumbs
- first thumb marks the start of a sales period
- the second thumb marks the end of a sales period
- ticks must be in date format
- the second thumb must enable the user to adjust it along the slider to any position but NOT before the first slider

- i looked at the RAD WPF Slider but the ticks dont appear to be able to render in date format nor did i see a way to add multiple thumbs beyond a range
- i looked at the time bar control but that would most likely be too large and overkill for a templated column
- i looked at the RAD time line control but that doesnt appear to be adjustable

Thank You,
Bill Spaulding
Kiril Vandov
Telerik team
 answered on 20 Feb 2014
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
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?