Telerik Forums
UI for WinForms Forum
3 answers
164 views

Hi, 

I am currently trying to achive a vertical menu inspired by the attached picture.

I have been trying with radMenu, radTreeview, but i remain unsatisfied .

Just as piece of advice, what would be the best Controls tool solution to achive something similar, knowig that on each root click, all the other menu collapse to let only one expand ?

 

 

Jeff
Top achievements
Rank 1
 answered on 06 Sep 2018
1 answer
149 views

I want users to be able to resize an expanded CollapsiblePanel. I've not tried autosize, but I don't want it autosizing if the user is scrolling through the datagrid.

The panel is docked to the right, as is a splitter, the gridview is docked to fill. I make the splitter invisible if the collapsible  panel is collapsed.

When expanded, and I use the splitter to make the collapsiblepanel narrower, the header vanishes off to the right. I'm assuming that the controlcontainer at the back isn't being resized to fit within the bounds of the collapsiblepanel.

Pls see attachment. Pic on the left is showing the collapsiblepanel design time width, on the right is showing how the container isn't resizing .

How do I code, or set up properties, to fix this please?

Dimitar
Telerik team
 answered on 06 Sep 2018
4 answers
179 views

I originally posted this in the wrong forum, so that one can be delete.

I am having an issue with SplitPanels that are added into a RadSplitContainer when those controls are inherited.  I have a base form class that has a RadSplitContainer on it, with two SplitPanels in it.  Then I create the new form based on that base form.  I can open the designer the first time and save, but once I close it and re-open it, I get "Duplicate component name 'splitPanel1'. Component names must be unique and case-insensitive"

Some things I have noticed is that the splitPanel lack the "Modifier" property. 

Any help would be greatly accepted.

Thanks


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Sep 2018
17 answers
459 views
Hi

How can i specify a location to open the DesktopAlter i.e. a specific point on the screen. I am trying to use this as an advanced tool tip screen but cannot specify X & Y coordinates to open this.

Regards
Harsh

Marc
Top achievements
Rank 1
Veteran
 answered on 06 Sep 2018
3 answers
331 views

     Hey guys, I've customized the Fluent(just changed the blue) and currently using it fine on my project. I just don't like it on RadGridView and i really liked VisualStudio2012Light on it, is there a easy way to mix my whole Fluent theme with just RadGridView of VisualStudio2012Light ?

And another question, how can I change the border color of RadForm on the Fluent Theme, couldn't find it.

Thanks in advance and sorry for bad english.

Dimitar
Telerik team
 answered on 06 Sep 2018
0 answers
100 views

Hey guys, I've inherited RadDateTimePicker to do a better handling of null value with databinding and the problem is when it got focused by Tab key it borders don't change as it should be. Ive tried setting focus to DateTimePickerElement when my picker got focus, but it didn't solve as well. 

 

 public partial class NossoRadDateTimePicker : RadDateTimePicker
    {
        public NossoRadDateTimePicker()
        {
            InitializeComponent();
            TabStop = true;
            this.ValueChanged += NossoRadDateTimePicker_ValueChanged;
            this.GotFocus += NossoRadDateTimePicker_GotFocus;
        }

        private void NossoRadDateTimePicker_GotFocus(object sender, EventArgs e)
        {
            base.DateTimePickerElement.Focus();
        }

        private void NossoRadDateTimePicker_ValueChanged(object sender, EventArgs e)
        {
            if (ShowCheckBox && checking == false)
                this.Checked = true;

        }

        [Browsable(false), EditorBrowsable(EditorBrowsableState.Never), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        public new DateTime? NullableValue
        {
            get
            {
                throw new Exception("Use Value");
            }
            set
            {
                throw new Exception("Use Value");
            }
        }

        [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        /// <summary>
        /// Poderá retornar null caso use o checkbox e ele não esteja checkado
        /// </summary>
        public new DateTime? Value
        {
            get
            {
                DateTime? valor = base.Value;

                if (ShowCheckBox && Checked == false)
                    valor = null;

                return valor;
            }
            set
            {
                //garantir que essa bosta n sete valor fora do range de datas
                if (value != null)
                {
                    value = value > MaxDate ? MaxDate : value;
                    value = value < MinDate ? MinDate : value;
                    Checked = true;
                }
                else if (ShowCheckBox)
                    Checked = false;

                checking = true;
                base.Value = value ?? DateTime.Now;
                checking = false;

            }
        }

        protected override void OnKeyDown(KeyEventArgs e)
        {
            if (e.KeyData == Keys.Space)
            {
                this.Checked = !this.Checked;
            }
            else
            {
                base.OnKeyDown(e);

            }
        }

        bool checking;
    }

Leandro
Top achievements
Rank 1
 asked on 05 Sep 2018
2 answers
365 views

Hello!

I need to deselect only one cell once selected.
I have tried the following code in the SelectionChanged and SelectionChanging events. But it does not work.

Any suggestions?

RadGridView1.CurrentCell.IsSelected  = false

 

 

Thanks.

 

 

 

Esteban
Top achievements
Rank 1
Iron
Iron
 answered on 05 Sep 2018
14 answers
1.3K+ views
I have a docked RADSplitContainer with 3 panels, 2 horizontal splitters. I only want the middle panel to resize when the form is resized the top & bottom are can not be resized. Will an absolute size take care of that, or do I need to do something else (and what would that be?)?

Thanks

:)
jr
Hristo
Telerik team
 answered on 05 Sep 2018
3 answers
86 views

I am trying to set the color of the bar , when a value goes below a certain amount. I have tried the below, but none of them change the color of the bar from Green to red. :

      barBat.BackColor = Color.Yellow
                        barBat.GaugeElement.BackColor = Color.Yellow
                        barBat.GaugeElement.BackColor2 = Color.Yellow
                        barBat.GaugeElement.BackColor3 = Color.Yellow
                        barBat.GaugeElement.BackColor4 = Color.Yellow

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Sep 2018
15 answers
1.0K+ views
Hi,

Is it possible to get the selected text value of a GridViewComboBoxColumn for a set cell in a row?

thanks

David
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Sep 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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?