Telerik Forums
UI for WPF Forum
2 answers
167 views
Hello,
The default selection behaviour of the Gantt view is -
1. When selecting a row in the Grid view part the related event is selected in the Time Ruler view (scrolled horizontally if required to get visible)
2. When selecting event in the Time Ruler view the row in the Grid view is selected

My problem is - when selecting a row (in the Grid view) that doesn't contain any events, the Time Ruler scroll (horizontally) to the left (starting of the Visible Range)

I want the Time Ruler to scroll horizontally only if there is an event for the selected Grid row. If no event is defined for the selected Grid row, leave the Time Ruler horizontal position untouched.

Thanks!
Aviv
Aviv
Top achievements
Rank 1
 answered on 14 Jan 2014
2 answers
122 views

Hello

Below I have listed the method to reproduce the problem.
Open the Telerik WPF Controls Examples > ScheduleView > Features > Configurator.
Check "Snap Appointments" and set "Day Start Time" to for example 08:00.
Start dragging an appointment to start time 08:00, nothing strange will happen, when you now drag the appointment a little bit higher (so the start time will be earlier) the appointment disappears.

I assume this is a bug?
Can you help on this? (maybe a workaround?)

Thanks!

ks
Top achievements
Rank 1
 answered on 14 Jan 2014
36 answers
2.3K+ views
After reading numerous solutions on this forum and the inability to use RadWindow as a regular window, I started experimenting with RadWindow and was able to consolidate some of the solutions in this forum and create a simple example which will enable RadWindow to be used as any other window. Following code example is self explanatory and should give you a starting point.

 

public partial class MainWindow : RadWindow
{
    public MainWindow()
    {
        InitializeComponent();
        RadWindowHelper windowHelper = new RadWindowHelper();
        windowHelper.TaskBarDisplayed += new EventHandler(windowHelper_TaskBarDisplayed);
        windowHelper.ShowWindowInTaskBar();
    }
  
    void windowHelper_TaskBarDisplayed(object sender, EventArgs e)
    {
        this.Show();
        this.WindowState = WindowState.Maximized;
        this.BringToFront();
        var window = this.ParentOfType<Window>();
        window.ShowInTaskbar = true;
        window.Title = "My RadWindow";
    }
}
  
  
public class RadWindowHelper
{
     public event EventHandler TaskBarDisplayed;
            
     public void ShowWindowInTaskBar()
     {
         if (this.TaskBarDisplayed != null)
            this.TaskBarDisplayed(this, new EventArgs());
     }
}

Vladi
Telerik team
 answered on 13 Jan 2014
1 answer
587 views
Hello, I'm trying to get the grid editing to behave like Excel. I've seen numerous posts on this, but some are a few years old, so I'm wondering if it is supported now. I'm setting the following grid properties to get close to what I want:
radGrid.SelectionUnit = GridViewSelectionUnit.Cell;
radGrid.EditTriggers = GridViewEditTriggers.TextInput | GridViewEditTriggers.CurrentCellClick;
 radGrid.SelectionMode = SelectionMode.Extended;

Specifically, I'm looking for the following behavior:

1. Select a cell. Start typing and the cell goes into edit mode. This works.
2. Select a cell. Single click the cell again causes the cell to go into edit. I would like the cell to go into edit mode on a double click, like Excel. Also, this causes a selection problem as well because if I mouse down in the already selected cell to do a multiple cell selection, I can't because the cell goes into edit. This is actually my biggest issue.
3. Press Enter key after edit causes the next cell to go into edit mode. I would like Enter to just move to the next cell without editing. This goes for the Tab key, and click another cell in the same row(clicking a cell in another row will not place that cell into edit mode). All place you into edit mode. Excel does not do this and this is the behavior I would like.

If there's a way to set properties to get the functionality I'm looking for, that would be great. Otherwise, any suggestions?
This post http://www.telerik.com/community/forums/wpf/gridview/cell-edit-mode.aspx discusses overriding the keyboard command provider. Is that what is recommended? It seems like editing like Excel would be functionality that should be built into the grid control.

Thanks,
Scott



Vera
Telerik team
 answered on 13 Jan 2014
4 answers
138 views
Hi,

I have to plot some rectangles in for example a RadCartesianChart.

I have tried to do it with the AreaSeries but when i do so all rectangle are bound to the x axis.

I want to be able to plot Rectangles anywhere within the RadCartesianChart(see attached image).

I hope you understand the problem :)

Can i do this using the AreaSeries or should i do something else?

Best Regards,
Jeppe
Unisense
Top achievements
Rank 1
 answered on 13 Jan 2014
1 answer
181 views
Hi,

I am developing a WPF application in my company.
The main window contains a Docking control.
UserControls are displayed in floating Panes at run time.
A floating Pane in the application is the only Pane in its PaneGroup and the PaneGroup is the only PaneGroup in its SplitContainer.
I use the RadPane.MakeFloatingDockable method to make a Pane floating but the Pane is initially displayed in the top left corner of the main window.
What do I need to do to initially display a floating Pane in the center of the main window ?

Thank you in advance for your help
Kalin
Telerik team
 answered on 13 Jan 2014
2 answers
135 views

I am using a horizontal path for the radcarousel panels. There are 3 panels in the carousel ItemsPerPage="3". The middle panel is the focused panel. Is there a way to specify spacing between central panel and panels on either side.
Thanks in advance
YK

Maya
Telerik team
 answered on 13 Jan 2014
5 answers
159 views
Hello,

I'm trying to save a radchart to a file using the save() method.
No matther what method overload I use I always get an ArgumentOutOfRange Exception with the following description:

[System.ArgumentOutOfRangeException] = {"The parameter value must be greater than zero.\r\nParameter name: pixelWidth"}

I'm not able to figure where to set that parameter in the RadChart.

Documentation on the method does not provide any usage examples and all the old posts on the forum I've found point on this issue to a demo page that no more exist (they point to demos based on chartview now).

Thanks for help

Antonello


Pavel R. Pavlov
Telerik team
 answered on 13 Jan 2014
1 answer
172 views
I've got charts where a series can be a user defined color and where specific points can be a user defined color. The models for my series & all my points already have that info & so I'm binding to those colors via styles for LineSeries, PointSeries, etc.  Whenever I use a DefaultVisualStyle or a PointTemplate, the legend markers in my RadLegend lose their color.  Is there a way to get all three things: series color via DefaultVisualStyle, point color via Point template, LegendItem Colors? PS - I have the ability to set the palette for the chart as well if that matters.
Mitchell
Top achievements
Rank 1
 answered on 10 Jan 2014
0 answers
102 views
I want a RadGridView which has repeated columns in it as you can see in the picture below.

enter image description here

This is just one RadGridView and colums are repeated. How can we do this with wpf RadGridView

Thanks,

Tingting
Top achievements
Rank 1
 asked on 10 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
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?