Telerik Forums
UI for WinForms Forum
2 answers
52 views

I have a radRibbonBatGroup.

I would like to put the following into it;

Label: Textbox    Label: DropDownList1  Label: DropDownList3

Label: Textbox    Label: DropDownList2

How do I do that?

Each time I add a element in the VS UI it goes next to each other.

Also don't see a label object to add for each item.

Thanks

Deasun.

Deasun
Top achievements
Rank 1
Iron
 answered on 12 Sep 2018
1 answer
83 views
I have a Grid with a GridViewMultiComboBoxColumn that has a DataSource, if the GridViewMultiComboBoxColumn not contain a item, the user can type one. the problem that i have is that if the item is not contained it in the DataSource the column erase the item that the user has entered. There are any way to keep the new value in the column?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Sep 2018
5 answers
182 views

Hi,

I have a problem: expand button in hierarchical GridView overlaps test in HyperlinkColumn. But TextBoxColumn has not this issue (please look at attachments)

Is this a bug? Or maybe I missed some property? Could someone please help me? 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Sep 2018
1 answer
78 views

Hi all

I'm working with Visual Studio 2017, .NET 4.6.1, Telerik UI for WinForms 2018.2.621

This is the code:

 

using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Telerik.WinControls.UI;

namespace TelerikTest
{
    public partial class Form1 : Form
    {
        private List<string> list = new List<string>() { "one", "two", "three" };
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            radCheckedDropDownList1.Items.Clear();

            foreach (string item in list)
            {
                radCheckedDropDownList1.Items.Add(new RadCheckedListDataItem(item, false));
            }
        }
    }
}

If I fill the radCheckedDropDownList after having selected an item by click (SelectByClick.png) all is fine.

If I fill the radCheckedDropDownList after having selected an item using autocomplete (SelectByAutoComplete.png), I get a NullReferenceException (NullReferenceException.png).

 

Could someone please tell me, what I'm doing wrong?

 

Thanks in advance

Daniel

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Sep 2018
2 answers
49 views

Hi

 

I'm building a chart but I wont to specify the vertical and horizontal axis minimum and maximum value.

also I want the vertical axis ti be inverse and to cross with the horizontal axis at the bottom (vertical axis maximum value)... but the code I wrote is not doing anything of what I want. this is what I code:

            radChartKatzA.Series.Clear();
            LinearAxis katzA_hor_Axis = radChartKatzA.Axes.Get<LinearAxis>(0);
            LinearAxis katzA_ver_Axis = radChartKatzA.Axes.Get<LinearAxis>(1);
            katzA_hor_Axis.Minimum = 0;
            katzA_hor_Axis.Maximum = 800;
            katzA_hor_Axis.MajorStep = 100;
            katzA_ver_Axis.Minimum = 0;
            katzA_ver_Axis.Maximum = 1400;
            katzA_ver_Axis.MajorStep = 50;

            katzA_hor_Axis.IsInverse = true;

            katzA_hor_Axis.LineWidth = 6;
            katzA_hor_Axis.TickWidth = 8;

            ScatterLineSeries katzLinea1A = new ScatterLineSeries();

            katzLinea1A.DataPoints.Add(0, 700);
            katzLinea1A.DataPoints.Add(350, 700);

           radChartKatzB.Series.Add(katzLinea1A);

 

thank you for your help

Carlos

Hristo
Telerik team
 answered on 12 Sep 2018
2 answers
80 views

Might have missed this somewhere, but is there a way the user can same count the rows  or say summarize this column?

Kind of like they do for the filters but for counting and totals of a column?

 

Thanks

Deasun

Deasun
Top achievements
Rank 1
Iron
 answered on 11 Sep 2018
4 answers
247 views

Hello Telerik Team,

 I'm using RadDateTimePicker with TelerikMetroBlueTheme. And I showed timePickerElement.

In dropDown of dateTimePicker, I found that theme of timePicker showing default theme.

How to change theme of timePicker ?

 

 

     

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Sep 2018
1 answer
355 views

Suppose I add from code some text to a shown document, like this:

try
{
    radRichTextEditor1.Document.History.IsEnabled = false;
 
    var editor = new RadDocumentEditor(radRichTextEditor1.Document);
 
    editor.Document.CaretPosition.MoveToLastPositionInDocument();
    editor.InsertParagraph();
    editor.Insert("XYZ");
 
    editor.Document.CaretPosition.MoveToFirstPositionInDocument();
 
    editor.Insert("ABC");
    editor.InsertParagraph();
}
finally
{
    radRichTextEditor1.Document.History.IsEnabled = true;
}

 

This code will destroy document's CaretPosition, Selection, and also user's view to the document (vertical scroll bar location). Is there a way to restore them to previous values?

 

Boby
Telerik team
 answered on 10 Sep 2018
4 answers
174 views

We recently upgraded from VS 2010 to VS 2017 - no troubles there.

We also recently upgraded to the most recent version of the UI for Winforms libraries from Telerik.

When I create a Telerik Winform project - no problem but when I right-click on the Project under the Solution Explorer in the VS 2017 IDE I was expecting to see the newly added "Telerik UI for Winforms" menu item but it's not there...??

 

Was this removed?  Can it be restored? 

-C

Attached is a screen snippet from VS2010 and the new context menu from VS2017

 

Vesko
Telerik team
 answered on 10 Sep 2018
1 answer
398 views

Hello Telerik Team !

On a first hand, I have a form with postcode and city fields.

On a other hand, I have a database, with a table who carry an entire country of codepost/city accordingly.

I turn the postcode into a MultiColumn ComboBox, and the idea is when someone start filling at least 3 char of a post code, programmatically launch a request to the database to fill as both  post code and city like : 

SELECT postcode as [Post Code], city as [City] FROM cityautocomplete where postcode like '" + key + "%'

 

the among query fill a DataTable "postcodeToCity" and I programmatically add the data like this :

ComboPostCode.DataSource = new BindingSource(postcodeToCity, null);
ComboPostCode.DisplayMember = "Post Code";
ComboPostCode.ValueMember = "City";
ComboPostCode.AutoCompleteMode = AutoCompleteMode.Suggest;

 

My problem belongs in the right event to choose to launch the request, TextChanging do not exist, so I have been trying KeyDown, KeyPress & KeyUp without any success, indeed all char entered beyond the first char reset to the beginning. Even if I try to launch the request beyond a minimum length.

The postcode Multi Combo is in Suggest mode only.

So I am wandering if an Events could allow me to achieve this or if I simply try to achieve something impossible with this Control ?

Many thanks in advance if you have any idea or feedback for me !

 

Jeff

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?