Telerik Forums
UI for WinForms Forum
2 answers
265 views

How can I format fields of my Decimal type class?

125 ---> 125.00
80.0000 -> 80.00

See image and class.

Also, how can I change the font size of only some fields?

 

Thanks,

 

Best regards

 

Nadya | Tech Support Engineer
Telerik team
 answered on 03 Dec 2020
3 answers
253 views

Hi everyone,

 

Currently I'm doing insert custom textbox and button for image editor. The problem is I cannot save the image with the textbox. My expectation is the image will save with the textbox but hide the button. Here I attached the scene.

 

Thankyou

Nadya | Tech Support Engineer
Telerik team
 answered on 02 Dec 2020
1 answer
852 views

Hi,

How to Implement item click event in Chartview Pie and Bar. (not ledger Click)

If it possible to store and retrieve item Id also ?.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Dec 2020
3 answers
399 views

I have 2020 R3 SP1 installed (2020.3.1020) and have run the toolbox configurator.

I created a new Telerik RadForm project using .NET Core. I intend this to be a .NET 5 project and have the release .NET 5 SDK installed.

After creating the project, I change it to target.NET 5.0 and compile. It compiles and runs fine.

If I then try to run the designer for RadForm1, it fails to load the designer with the message about rootcomponent value cannot be null. I also noticed that the toolbox has no Rad controls.

I tried resetting the toolbox and reapplying the toolbox configurator, but it behaves the same.

What am I doing wrong?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Dec 2020
3 answers
387 views

It seems the Cell and Row Validating events only work when editing an existing cell.    

 

They do not work when adding a new row.  The event is called, but the validating code does not work correctly.

Code is fine when updating an existing row. 

 

I can do data validation in the userAddingRow event, but then the ((GridViewDataRowInfo)e.Row).ErrorText = "All Columns Require Data";  produces an error so then you need to use a messagebox.  

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Dec 2020
2 answers
270 views

If someone could point me in the right direction I'd appreciate it.

I am exporting a grid using the GridViewSpreadExport. I stylize the cells using the grid's ViewCellFormatting event.

I expected WYSIWYG functionality. For the most part, everything exports as expected. However, it seems some of the cell formatting that I perform in the ViewCellFormatting event to format the Header cells isn't captured in the grid's exportation to Excel.Specifically, the Header cell textorientation and fliptext properties are ignored.

How might I incorporate that into the exportation??

 

Thank you for your time!

 

 

James
Top achievements
Rank 1
 answered on 01 Dec 2020
3 answers
818 views

How do I copy the the current image to the Clipboard?

 

Clipboard.SetImage(radImageEditor1.?);

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Dec 2020
4 answers
188 views

I have a pushbutton to save current image to disk.  2 problems

 

1. it takes at least 15 seconds for FileSaveDialog to open?

 

2. Cannot get SaveImage or SaveImageAs to work.  

 

Code: Below:

private void butSavePreview_Click(object sender, EventArgs e)

        {
            string saveFName;
            saveFName = Path.GetFileNameWithoutExtension(dgvFiles.CurrentRow.Cells[1].Value.ToString());
            radSaveFileDialog1.FileName = saveFName;
            radSaveFileDialog1.Filter = "JPG | *.jpg";
            if (radSaveFileDialog1.ShowDialog() == DialogResult.OK)
            {
                saveFName = radSaveFileDialog1.FileName + ".jpg";

                radImageEditor1.SaveImage(saveFName);
            }
        }

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Dec 2020
4 answers
695 views

I collapse some groups of RadPropertyGrid programmatically, but it's don't work. Those groups collapse, but I can't expand it with the mouse. those appear as disabled.

 

        #region RPG: CONFIGURACION DE GRUPOS----------------------ini

        private void rpgMaquina_CustomGrouping(object sender, PropertyGridCustomGroupingEventArgs e)
        {
            switch (e.Item.Category)
            {
                case "General": e.GroupKey = 0; e.Handled = true; break;
                case "Inventario": e.GroupKey = 1; e.Handled = true; break;
           
                case "Pares de apriete": e.GroupKey = 2; e.Handled = true; break;
                case "Accesorios": e.GroupKey = 3; e.Handled = true; break;

                default:
                    break;
            }


        }

        private void rpgMaquina_ItemFormatting(object sender, PropertyGridItemFormattingEventArgs e)
        {
            PropertyGridGroupItem groupItem = e.Item as PropertyGridGroupItem;
            if (groupItem != null)
            {
                e.Item.Label = groupItem.GridItems[0].Category;
                if (e.Item.Label == "Inventario" || e.Item.Label == "Accesorios")
                {
                    groupItem.Collapse();
                    //groupItem.Enabled = true;

                }

            }
        }
        #endregion RPG: CONFIGURACION DE GRUPOS-------------------fin

Nadya | Tech Support Engineer
Telerik team
 answered on 01 Dec 2020
1 answer
280 views

Hi,

Actually, I have data as attached Data.png file. I have to create a bar chart for Pendency type grouped in Project wise, Level wise just like attached BarChartMultipleGroups.png file.

Please help me to achieve this.

Thank You.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 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
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
CollapsiblePanel
TextBoxControl
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
NavigationView
Callout
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
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?