Telerik Forums
UI for WinForms Forum
3 answers
127 views

Hi, how can I set the default value for Draw Shape and Draw Text element. For example I set the default value border thickness=3 , shape color = red, shape fill = transparent. For now, all the setting I need to set at the DrawShapeDialog. Can I hide this pop up? So that user can straight forward to make a draw.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Nov 2020
4 answers
89 views
The documentation makes no mention of a footer in a virtual grid.  Is it possible to put lets's say a label or some other control under the grid - to give a record count after filtering, for example.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Nov 2020
2 answers
389 views

Hi,

 

The default color of the checkbox in the grid is beige or grey. How do I change the color of the background to white?

I use: Office2013light

Attached image.


Eusebio
Top achievements
Rank 1
Veteran
 answered on 09 Nov 2020
2 answers
65 views

Hi, excel have a very nice feature that, when on a pivot, if you double click a cell, it shows the full dataset which is bound to the same cell.

It is possible to achieve the same by using the radpivotgrid?

For example we need to know, when a user double clicks on a cell which is the result of an aggregate (sum, average etc..) what are the rows on the dataset which generated that sum.

Best

Andrea

Andrea
Top achievements
Rank 1
 answered on 06 Nov 2020
2 answers
273 views

I am struggling with an feature that I'd like to implement.

Basically, I'd like a visual cue that indicates the current value of the range as end user changes the value of the range.

My TrackBar has 1440 minutes and I'd like to display what minute they're on without it being guess work.

I attached a screenshot of my implementation of the track bar.

Ideally, I'd like to display a label underneath the TrackbarThumbElement that would update as the value updates and then disappear. Any ideas how I might be able to update the UI with the current value of the range as the end user is manipulating the control?

James
Top achievements
Rank 1
 answered on 04 Nov 2020
6 answers
897 views
Hi guys,

I have a customized grid where i change the type of the editorElement in one cell based on the value on another cell.
One of this editors are the RadDropDownListEditorElement. The displaymembers shows nicly when dropped down.
But when i choose one of the elements in the dropdown list, the dropdown closes and the valuemember is presented in the cell.

I need the valuemember in some operations after this, but i want the cell to show the displaymember. 

Here is the code in the CellEditorInitialized:

void TextCodeGridView_CellEditorInitialized(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
{
    var editManager = sender as GridViewEditManager;
    var editor = editManager.ActiveEditor as RadDropDownListEditor;
 
    if (editor == null) return;
 
    var editorElement = ((RadDropDownListEditor)editor).EditorElement;
    switch (e.ColumnIndex)
    {
        case 0:
            var tcArray = _db.TCs.Where(t=>t.TC_GROUP_MEMBERs.Any(tcg=>tcg.TC_GROUP.LAND_IDX == Startup.CurrentConsultant.CountryId)).ToList();
            tcArray.Insert(0, null);
 
            ((RadDropDownListEditorElement)editorElement).DataSource = tcArray;
            ((RadDropDownListEditorElement)editorElement).DisplayMember = "TC1";
            ((RadDropDownListEditorElement)editorElement).ValueMember = "TC1"; ;
             
 
            if (this.TextCodeGridView.CurrentRow.Cells[0].Value == null)
                ((RadDropDownListEditorElement)editorElement).SelectedIndex = 0;
            else
                ((RadDropDownListEditorElement)editorElement).SelectedIndex = tcArray.IndexOf(_db.TCs.SingleOrDefault(t => t != null && t.TC1 == this.TextCodeGridView.CurrentRow.Cells[0].Value));
            break;
        case 1:
            var tclistArray = _db.TC_LISTs.Where(t => t != null && t.TC == this.TextCodeGridView.CurrentRow.Cells[0].Value).ToList();
            tclistArray.Insert(0, null);
 
            ((RadDropDownListEditorElement)editorElement).DataSource = tclistArray;
            ((RadDropDownListEditorElement)editorElement).DisplayMember = "TEXT";
            ((RadDropDownListEditorElement)editorElement).ValueMember = "VALUE"; ;
 
            ((RadDropDownListEditorElement)editorElement).SelectedIndex = tclistArray.IndexOf(tclistArray.SingleOrDefault(t => t != null && t.ISDEFAULT));
            this.TextCodeGridView.CurrentRow.Cells[1].Value = tclistArray.SingleOrDefault(t => t != null && t.ISDEFAULT).TEXT;
             
            break;
    }
}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Nov 2020
1 answer
80 views

Hello all,

 

i am trying to follow the official tutorial considering custom items for the RadPropertyGrid (https://docs.telerik.com/devtools/winforms/controls/propertygrid/custom-items) in a Progress Openedge 11.7 environment. I set up a test project consisting of a Form that holds a RadPropertyGrid and a Button whose Click Event will set the SelectedObject of the RadPropertyGrid. All other classes are more or less exactly translated into OpenEdge code from the tutorial.

The problem appears to be the assignment of the "ItemElementType" in the custom CreateItemElement

On the line "e:ItemElementType = TypeHelper:GetType("CustomItemElement")." the client begins to fire the event again and cause an infinit loop of event calls.

 

I could provide the sample project as .7zip if you like. 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Nov 2020
3 answers
265 views

HI,

   I tried to export from my winform radgridview data which contains view definition using example provided in link https://docs.telerik.com/devtools/winforms/controls/gridview/exporting-data/spread-export. Once I tried this code application is not compiling. There were no errors in output window when we carefully checked I found that there is an error related to SpreadExportRenderer. The error was "error BC30002: Type 'Telerik.WinControls.Export.SpreadExportRenderer' is not defined". My TelerikExport.dll version is 2016.1.216.20. Can you please help me out how to solve this issue.

 

Regards

Harsha D

 

Nadya | Tech Support Engineer
Telerik team
 answered on 04 Nov 2020
26 answers
510 views
can this be done?

I  enabled filtering on my command column buy setting

.AllowFiltering =

 

true

I also have a cellformatting event that will change the button text based on a date but I no longer am able to ref the cell.commandbutton as the cell type has changed from "GridCommandCellElement" to
 "GridFilterCellElement"

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Nov 2020
1 answer
179 views

Hi

This code correctly changes the name of the tab after a myUserControl is added.
How can I change the title of the selected tab anywhere in the program without calling RadTabbedFormControlEventArgs e?

code snippet:

private void radTabbedFormControl1_TabAdded(object sender, RadTabbedFormControlEventArgs e)
    {
        UserControl1 myUserControl = new UserControl1();
        myUserControl.Dock = DockStyle.Fill;
        e.Tab.Controls.Add(myUserControl);
        e.Tab.Owner.SelectedTab = e.Tab;
        e.Tab.Text = myUserControl.this_title;
    }

 

Nadya | Tech Support Engineer
Telerik team
 answered on 02 Nov 2020
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?