Telerik Forums
UI for WinForms Forum
4 answers
304 views

i want to customise Scheduler's Ruler like Attached Image 

can any one tell me set start time and end time 

and 

how to set gap between two time?

Hristo
Telerik team
 answered on 12 Feb 2018
5 answers
290 views

Hi

My application has three documentWindows (image 1) and window3 can float (other two windows cannot float and are pinned). None of the them can be hidden or closed or autohide. When user tries to re-dock the floating window3, the docking guides show all directions (Image 2), I want the user to be able to dock in center (fill) position or to the right of window2 only. User cannot dock to any side or center of window1.

 

1.User should only be able to dock window3 side by side or as vertically tabbed group to window2. window3 cannot enter the container of window1 in any case.

2. When the user clicks on close button of floating window3, it should re-dock itself as tabbed document in the layout configuration the user last had; meaning if user had window2 and window3 tabbed side by side (traditional tabbed view), it should redock back to center (fill) position and if window3 was to the right of window2 (as shown in Image1), then likewise.

Thanks.

 

Hristo
Telerik team
 answered on 09 Feb 2018
14 answers
2.9K+ views
Hi
            I am using the strip mode of the RadPageView i want to disable the close button can anyone explain how to do.....



Thanks
Divya
Javad
Top achievements
Rank 1
 answered on 09 Feb 2018
1 answer
122 views

I've been searching and searching lol - the nested properties are impressive!  Somewhere in side a RadDropDownListEditor there's a ListElement where I can change the back color and border color and size...but after several hours, this eludes me.

Can someone show me how to access the ListElement of a RadDropDownListEditor please :)  THANK YOU!!!

-C

 

Dimitar
Telerik team
 answered on 09 Feb 2018
3 answers
838 views

Hi folks :)

Is there any way to tell a specific column inside a grid to "Stretch to Fill" so it completely fills the leftover space in a grid where the column widths added up do not equal the total width of the grid control?

 

Hard to describe so out comes Photoshop so I can create a couple of images to demonstrate what I'm talking about:

The first image shows the grid "as-is" the second images shows the effect I'm looking for:  The "Description" column would stretch to fill all remaining space.

 

Any help would be very much appreciated!

-Curtis

Dimitar
Telerik team
 answered on 09 Feb 2018
6 answers
65 views

When I am using the  CheckState=TriStateMode.Indeterminate, all works fine when I check and uncheck.

But when I call CollapseAll or ExpandAll, all parents that have a Indeterminate check get removed.

This is easily replicable. Is there a workaround?

Hristo
Telerik team
 answered on 09 Feb 2018
2 answers
220 views

Hi, 

I think I have found a problem with the drag and drop behavior.

I have implemented the drag and drop as explained in the documentation, but when I test with a touch screen, it doesn't work.

I think it's because only OnMouseDownLeft(MouseEventArgs e) function is overrided in RowSelectionGridBehavior class, but can't find a way to handle that.

 

florian
Top achievements
Rank 1
 answered on 08 Feb 2018
2 answers
134 views

Hi,

How can I hide PivotAggregateDescriptorContainer in code? Is it something like ShowFilterArea property, but for Aggregates area? Can't find one...

Thanks

Alex


Alex Dybenko
Top achievements
Rank 2
 answered on 08 Feb 2018
1 answer
58 views
I am working with Radscheduler when i say new appointment it redirects to AppointmentEditDialog . then its fill raddatetimePicker with selected area date and time Here Now i want show my custom date instead  on raddatetimepicker . Is their any way to do it?  ,because i have tried to set my custom date to radDateTimePicker but its does change when it runs.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Feb 2018
6 answers
1.2K+ views

I'm trying to create a ListView with custom items, as shown in the attached image. The lower textbox can be of varying height due to containing more or less text lines.

I have tried a horizontal StackLayout with three text boxes (RadTextBoxElement). I then use a vertical StackLayout containing the first stacklayout plus a fourth textbox. I have used the sample in the docs as a basis.

I have the listview type as ListViewType.ListView. I also have AllowArbitraryItemHeight = true.

I can't get the lower textbox to display larger than a single line, despite containing multiple text lines.

The custom visual item class is below. In this version I'm actually using a RadLabelElement for the lower item instead of a textbox as it does show relatively ok, but has drawbacks like not being able to select & copy text from it.

using System;
using System.Drawing;
using System.Windows.Forms;
using Telerik.WinControls.Layouts;
using Telerik.WinControls.UI;
 
namespace UCStudio.UI
{
    public class RuleVisualItem : SimpleListViewVisualItem
    {
        private RadTextBoxElement _idElement;
        private RadTextBoxElement _sequenceElement;
        private RadTextBoxElement _nameElement;
        private RadLabelElement _ruleTextElement;
        private LightVisualElement _contentElement;
        private StackLayoutPanel _vStackLayout;
        private StackLayoutPanel _stackLayout;
 
        protected override void CreateChildElements()
        {
            base.CreateChildElements();
 
            _stackLayout = new StackLayoutPanel
            {
                Orientation = Orientation.Horizontal,
                //AutoSize = true,
                EqualChildrenWidth = true,
                ShouldHandleMouseInput = false,
                NotifyParentOnMouseInput = true
            };
 
            _vStackLayout = new StackLayoutPanel
            {
                Orientation = Orientation.Vertical,
                ShouldHandleMouseInput = false,
                NotifyParentOnMouseInput = true
            };
 
            _contentElement = new LightVisualElement
            {
                StretchHorizontally = true,
                MinSize = new Size(120, 0),
                ShouldHandleMouseInput = false,
                NotifyParentOnMouseInput = true
            };
            _idElement = new RadTextBoxElement {Text = ""};
            _idElement.TextBoxItem.ReadOnly = true;
            _stackLayout.Children.Add( _idElement);
 
            _sequenceElement = new RadTextBoxElement {Text = ""};
            _sequenceElement.TextBoxItem.ReadOnly = true;
            _stackLayout.Children.Add( _sequenceElement);
 
            _nameElement = new RadTextBoxElement {Text = ""};
            _nameElement.TextBoxItem.ReadOnly = true;
            _stackLayout.Children.Add( _nameElement);
 
            _stackLayout.Children.Add( _contentElement);
 
            _ruleTextElement = new RadLabelElement
            {
                Text = "",
                ShouldHandleMouseInput = false,
                NotifyParentOnMouseInput = true
            };
 
            _vStackLayout.Children.Add( _stackLayout);
            _vStackLayout.Children.Add( _ruleTextElement);
 
            Children.Add( _vStackLayout);
        }
 
        protected override void SynchronizeProperties()
        {
            base.SynchronizeProperties();
 
            Text = "";
            _contentElement.Text = "";
            _idElement.Text = Convert.ToString( Data["RuleItemId"]);
            _sequenceElement.Text = Convert.ToString( Data["Sequence"]);
            _nameElement.Text = Convert.ToString( Data["Name"]);
            _ruleTextElement.Text = Convert.ToString( Data["RuleItemText"]);
        }
 
        protected override Type ThemeEffectiveType => typeof(SimpleListViewVisualItem);
    }
}

 

Also I don't know why I need to use the LightVisualElement _contentElement; If I remove this the textboxes in the horizontal stacklayout show as minimal size.

Another thing is I need the third textbox in the top group to be of varying size, i.e. to fit itself to its content but it isn't, because of EqualChildrenWidth = true (which I need or the textboxes show as tiny, again).

I'm struggling to find the correct combination of techniques to achieve the above. Any help appreciated.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Feb 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?