Telerik Forums
UI for WPF Forum
4 answers
422 views
Hi,

I would like to know when Information Layer is preferred over Visualization Layer and vice versa.

Thank you !
Abder Rezak
Top achievements
Rank 1
 answered on 31 Jan 2014
6 answers
239 views
Hi,

when the user use CTRL + Drag&Drop to duplicate appointments, I would like to know how I can raise a custom event with all new duplicated appointments...

Thank's
Alain
Kalin
Telerik team
 answered on 31 Jan 2014
3 answers
566 views
Hi

I'm currently using a MaskedTextInput control and have noticed that the default error template used to display validation errors is different to that used by other controls on my form (TextBox, RadCombo, RadDatePicker etc).

I'm using the StyleManager to apply the Windows7 theme to all the controls...

I don't want to create a custom template and apply this to the MaskedTextInput as described in other posts, I simply want to use the same standard error template (Windows7 theme) that the other controls all seem to use so that my UI is consistent...

Please can you suggest how this may be achieved?

Thanks

Jamie
Evgenia
Telerik team
 answered on 31 Jan 2014
3 answers
349 views

Hi,
I'm looking for an example of using RadDataForm to Update and/or Insert data in a SQL Server table in a WPF MVVM Light application.

I've binding DataForm with a LIST that contains a result of a sql query but I've not idea how to update or inser a value.

Thank's a lot!

Yoan
Telerik team
 answered on 31 Jan 2014
1 answer
264 views

I have two buttons one to show and other to close my RadDoking. By default, the RadDoking is deactivated(not show), when I press the show button, the RadDoking opens but on I prese my close button it does not work

My Xaml :

<telerik:RadDocking Grid.Column="1"     x:Name="radDocking1"  Grid.Row="1" Margin="0 0 0 10" BorderThickness="0"   
                  Visibility="{Binding Hidden,ConverterParameter=True, Mode=TwoWay,  Converter={StaticResouce                                    CvtVisibilityConverter}}"
                  Padding="0" >
             
            <telerik:RadSplitContainer InitialPosition="FloatingOnly" 
                    telerik:RadDocking.FloatingLocation="450, 250" >
                <telerik:RadPaneGroup >
                    <telerik:RadPane          Title="My Pane"
                                              CanDockInDocumentHost="False"
                                              CanUserClose="False" CanUserPin="False" >
                        
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
 </telerik:RadDocking>

My ViewModel

public class MyViewModel: ViewModelBase
{
 
public MyViewModel
{
    Hidden = true ;
}
 
 
public bool Hidden
        {
            get
            {
                return hidden;
            }
            set
            {
                 
                    hidden = value;
                    OnPropertyChanged("Hidden");
                 
            }
        }
 
        private ICommand showCommand;
        private ICommand closeCommand;
 
        public ICommand CloseCommand
        {
            get
            {
                if (closeCommand == null)
                    closeCommand = new RelayCommand(param => this.CloseCommandEvent());
                return closeCommand;
            }
        }
 
 
        private void CloseCommandEvent()
        {
            Hidden = true;
        }
 
 
        public ICommand showCommand
        {
            get
            {
                if (showCommand == null)
                    showCommand = new RelayCommand(param => this.ShowCommandEvent());
                return showCommand;
            }
        }
 
        private void ShowCommandEvent()
        {
            Hidden = false;
      
        }
}

My Converter 
public class VisibilityConverter : IValueConverter
   {
       public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
       {
           if (value == null || !(value is Boolean))
               return Visibility.Collapsed;
 
           var parm = parameter ?? false;
           bool flip;
           Boolean.TryParse(parm.ToString(), out flip);
           var visible = flip ? !((bool)value) : (bool)value;
           return visible ? Visibility.Visible : Visibility.Collapsed;
            
 
 
 
       }
 
       public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
       {
           throw new NotImplementedException();
       }
   }

I do not understand why it does not work, Thank you for your help :) 
Kalin
Telerik team
 answered on 31 Jan 2014
7 answers
366 views
Hi,

I would like to know how it's possible in the header of each column to have only the first day instead of having the beginning and the end of the week.

Thank's
Alain
Yana
Telerik team
 answered on 31 Jan 2014
3 answers
101 views
Hi Telerik
I have been working on a project with you brillant TreelistView for over a year now - so glad I bought your product!

But heres my little problem - and it is also not working in your own example:
In your DragDrop-example for radTreeListView, it is not posible to drop an item on the last item.
It is posible to drop on all the other elements - except the last one.
Could you please help me with a workaround?

With kind regards from Kenneth
Nick
Telerik team
 answered on 31 Jan 2014
4 answers
123 views
How can I tell whether Esc is from an Insert or Edit in a KeyboardCommandProvider?
Thanks in advance,
Steve
Dimitrina
Telerik team
 answered on 31 Jan 2014
5 answers
458 views
Per this post (http://www.telerik.com/community/forums/wpf/gridview/edit-mode-and-the-keyboardcommandprovider.aspx) it was recommended that I implement key handling for navigation by handling PreviewKeyDown. This was working fine up until the latest version of the GridView control, in my case, Q1 2011. If I press the down arrow while in a text box in edit mode, it should move down, select the next box and then go into edit mode. Now, the cursor does move down but the cell does not enter edit mode. This is the code that's been working for some time:

        private void HandleKeyDown(KeyEventArgs e)
        {
            if (e.Key == Key.Down)
            {
                RadGridViewCommands.MoveDown.Execute(null);
                RadGridViewCommands.SelectCurrentUnit.Execute(null);
                RadGridViewCommands.BeginEdit.Execute(null);

                e.Handled = true;
            }
        }
Hristo
Telerik team
 answered on 31 Jan 2014
15 answers
342 views
Hi,

we use the SchduleView to plan our staff. Works great and we are very happy with this control. Now we have this situation:

Two employees are planed for the same service oder. Now I we change the time for this work by moving the appointment from
one employee and we want, that the second appointment of the second employee will move too! Is this possible and how do
we solve this?

Thanks a lot
best regards
Rene
Kalin
Telerik team
 answered on 31 Jan 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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?