Telerik Forums
UI for WinForms Forum
2 answers
161 views

I am working on the Bug Tracker sample and am getting this error when I try to run the program;

System.ArgumentOutOfRangeException: 'Index was out of range.

Must be a non-negative and less than size of the collection.

Parameter name index'

Below is the offending code. I am not seeing what is wrong with this;

private void ReadOnlyControls(bool readOnly)
{
    titleTextBox.ReadOnly = readOnly;
    idSpinEditor.ReadOnly = readOnly;
    descriptionTextBox.ReadOnly = readOnly;
    stepsToReproduceTextBox.ReadOnly = readOnly;
    idSpinEditor.ShowUpDownButtons = !readOnly;
 
    dateDateTimePicker.DateTimePickerElement.TextBoxElement.TextBoxItem.ReadOnly = readOnly;
    RadDateTimePickerArrowButtonElement arrowButton = dateDateTimePicker.DateTimePickerElement.Children[1].Children[1] as RadDateTimePickerArrowButtonElement;
    arrowButton.Visibility = readOnly ? ElementVisibility.Collapsed : ElementVisibility.Visible;
 
    priorityDropDownList.DropDownListElement.ArrowButton.Visibility = readOnly ? ElementVisibility.Collapsed : ElementVisibility.Visible;
    priorityDropDownList.DropDownListElement.TextBox.TextBoxItem.ReadOnly = readOnly;
 
    statusDropDownList.DropDownListElement.ArrowButton.Visibility = readOnly ? ElementVisibility.Collapsed : ElementVisibility.Visible;
    statusDropDownList.DropDownListElement.TextBox.TextBoxItem.ReadOnly = readOnly;
 
    ownerDropDownList.DropDownListElement.ArrowButton.Visibility = readOnly ? ElementVisibility.Collapsed : ElementVisibility.Visible;
    ownerDropDownList.DropDownListElement.TextBox.TextBoxItem.ReadOnly = readOnly;
}
Brian
Top achievements
Rank 1
Iron
Iron
 answered on 16 Apr 2018
1 answer
533 views

Each time you use RichTextEditor, RichTextEditor is slow to load for the first time, and the second time is very fast.

We have Splash Screen, how to speed up the first loading of RichTextEditor.

How to speed up the first loading speed of Spreadsheet.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Apr 2018
2 answers
162 views

I apologize if this is not the correct area, I did not see one for this.

With that said, I am working on the Bug Tracker example you have posted, and am trying to compile it and step thru what it does. I opened the ZIP file and extracted the contents. Went to compile the C# portion of the project and I get two errors.
The type name 'InnerItem' does not exist in the type of 'RadQuickAccessToolBar' and method 'GetInnerItem' accepting a first argument of type 'RadQuickAccessToolBar' could not be found (are you missing a directive or an assembly reference?)

This is the offending code section.

private void CustomizeRibbon()
{
    radRibbonBar1.RibbonBarElement.ApplicationMenuRightColumnWidth = 0;
    radRibbonBar1.OptionsButton.Visibility = ElementVisibility.Collapsed;
    RibbonBar.ExitButton.Visibility = ElementVisibility.Collapsed;
    RadQuickAccessToolBar.InnerItem item = RibbonBar.RibbonBarElement.QuickAccessToolBar.GetInnerItem();
    item.Visibility = ElementVisibility.Collapsed;
    radRibbonBar1.StartButtonImage = Resources.bug_logo;
}

I tried to update to the current WinControls.UI and that made it worse. Is this an older control thing?

 


Hristo
Telerik team
 answered on 13 Apr 2018
2 answers
153 views

I am trying the demo but I dont see if there is a way to put markers + text on the timeline for milestones.  Is there another way to accomplish this?

See attached image

Hristo
Telerik team
 answered on 13 Apr 2018
0 answers
112 views

hi

How can i do Search the database

And show on

 RadDropDownList?

Abbas
Top achievements
Rank 1
 asked on 13 Apr 2018
2 answers
1.6K+ views

Hello,

I'm looking for a tab control like the attached one.

Is there a winforms control which can be customized to look like that?

I've tried with Dock, but i don't want the user to drag around or close the tabs, and the Dock does not allow to arrange the tabs on the left without vertically rotating the text.

Thank you!

 

 

Andrea
Top achievements
Rank 1
 answered on 13 Apr 2018
9 answers
966 views
I have my object and all it's properties that i want to populate inside my DropDownList and i am doing this in this way:

            DescriptionTextListDataItem item = new DescriptionTextListDataItem();
            item.Text = "This is string test";
            radDropDownListAdapter.Items.Add(item);
            string str1 =
                "Name:: " + "test 1" + Environment.NewLine +
                "Age:: " + "test 2" + Environment.NewLine +
                "ID: : " + "test 3" + Environment.NewLine +
                "Scor: " + "test 4" + Environment.NewLine;

            item.DescriptionText = str1;
            radDropDownListAdapter.SelectedIndex = 0;

Currently i am using VisualStudio2012Light theme and you can see the result in my attach file.
As you can see all my object propertiesrarely seen because it's black and background is blue so my question is how to change this color from black ?

Andrea
Top achievements
Rank 1
 answered on 13 Apr 2018
24 answers
892 views

Screenshot

From this image, as you can see I have a formatting value condition if the cell is >= 80. If my cell values are strings, how do I control the conversion to an integer value in this case or have control of how this validation takes place? -8000 is nowhere near being >= 80...

Also - How do I control everything else in that Window? It isn't even using my application icon for the form icon. :/

Dimitar
Telerik team
 answered on 13 Apr 2018
1 answer
129 views

Hi.

I am accessing item through keyboard but issue is when access any form i lost my focus from main form so i cant access then cause i lost focus from main.

1) i want to access submenuitems through keyboard whether am focusing on any form.

Hristo
Telerik team
 answered on 12 Apr 2018
5 answers
583 views

I am trying to duplicate the "ShowUpDown" feature from the RadDateTimePicker. Ultimately, I want the user to navigate the DropDownList only using the Up and Down arrows, and disable the actual list that opens on the DropDownList. Is this possible?

 

 

 

 

Hristo
Telerik team
 answered on 12 Apr 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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
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?