Telerik Forums
UI for WinForms Forum
5 answers
341 views

I am currently facing two issues using the RadTrackBar control.

First issue:

When the width of the control is smaller then 100px, the text and graphics bar are cut off (see image).

For this reason the control is not usable with a smaller size then 100px

 

Second issue:

When setting label style and tick style to none the control height is automatically set to 16px.

When switching to Material theme, the button shown on mousedown is larger then these 16px and the image is cut-off.

 

For issue 2 there is a workaround, setting minimum size of the control will "fix" this but is there a solution for issue 1?

 

Best regards

Patrick Vossen

Patrick
Top achievements
Rank 1
 answered on 07 Sep 2018
3 answers
386 views

Good evening,

I have a number of integer columns that show up fine in the grid but after exporting to excel they appear with .00 at the end of them.

How do I make the exported doc look the same as the grid?

Example:

On the winforms grid value in cell  = 330249, and on the excel cell = 330249.00.

 

Thanks.

Deasun

Deasun
Top achievements
Rank 1
Iron
 answered on 06 Sep 2018
3 answers
225 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
193 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
231 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
535 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
378 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
139 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
484 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.5K+ 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
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?