Telerik Forums
UI for WinForms Forum
1 answer
102 views

Hello!

When i right left click on a cell (of a radgridview) then right click on the same cell, my custom contextmenu (doesn't need to be custom, i can replicate this exact behaviour on the default one) works as intended. However, when i use the right click first, the contextmenu doesn't work as intended... It shows but if i hover my mouse the items don't get "pre-selected", is as it isn't focused. I already exported the properties of the cell on both situations and the one that doesn't work has fewer properties than the one that works (like 30 or so). So, I'm assuming some information is getting lost on the right click. Is there a way to workaround this? Is it a known bug and can i fix it?

I'm using the assemblies '2020.3.1020.40'.

Thank you for the attention!

 

JP

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2022
1 answer
156 views

I have a radGridView, bound to a datatable with certain columns marked as readonly. The problem is that for the readonly columns, the user can still attempt to edit the cell text/value and only upon leaving the cell are they presented with a message that appears as so.

My goal when clicking on the cell of a readonly column, BeginEdit would not fire (ie, the cursor would not enter the cell). I've tried creating several different events and checking if column is readonly and then cancelling the event but I seem to have no luck.

        private void radGridView1_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)
        {
            if (e.Column.ReadOnly)
            {
                e.Cancel = true;
            }
        }

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2022
1 answer
101 views

Hello good day.

I am making an application that shows a graph, I use the chartview control, but when there is too much data on the X axis, the information is not distinguished.


I have read that it can be fixed by using MajorTickInterval on the horizontalAxis, I use this lines:

horizontalAxis.LabelFitMode = AxisLabelFitMode.Rotate;
horizontalAxis.MajorTickInterval = 7;

The clearest information is already displayed, but when displaying the information some data should appear in the graph but they are not shown because they are not in the interval.

Is there a solution?

Another question,

Can you remove or hide from the graph the values that have zero or null on the X axis?

Awaiting your comments.
Thank you very much.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Nov 2022
2 answers
330 views

Count total checked values from checkbox column of RadGridView ?!

seems very east stuff but dont know why telerik does not support like normal gridview !! strange but true !

Regards,

Dipan Chikani

Nandan
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 14 Nov 2022
1 answer
112 views
RADControls are not loaded in ToolBox after upgrading Visual Studio to version 17.4.0 with .Net 4.8.04084 and Telerik WInform 2022.2.613.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Nov 2022
1 answer
58 views

Hello,

I managed to get the RADControls to the Tookit but when I drag it to a RADForm I got the error attached. 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Nov 2022
1 answer
125 views
I hope that I could use TreeView but there is no option, only to load XML which needs a TreeView definition structure.
(same hope I had for JSON)
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Nov 2022
5 answers
228 views
I have a GridViewComboBoxColumn with AutoCompleteMode = SugestAppend, and DropDownStyle = DropDown, and a DataSource of a DataSet with a blank record at the top (so a selection can be removed). If you use the drop down button and select the blank entry then the cell in the GridView clears as expected.  However, if you clear the data in the cell instead, it does not select the blank entry in the drop down list, and when you tab away from that cell the value goes back to what it was before the delete.
Alessandro
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 11 Nov 2022
1 answer
560 views

I am just now attempting a RadSpreadSheet project, and am not finding an example of how to import and populate the form with an SQL Server Stored Procedure.

Can you provide a sample code please?

 

Thanks,

Peshito
Telerik team
 answered on 11 Nov 2022
0 answers
189 views

Hi,

On Telerik for Winforms 2022.3.109.45, using VS 2022 Enterprise on a .Net 7 project, I encounter this error when trying to migrate my projects to the latest Winforms components version, using the Wizard

I'm trying to upgrade from 2022.3.921.48

The wizard encountered an error while trying to handle user event.

System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
   Ã  Telerik.VSX.Internal.FileSystem.GacPathDetector.IsGacBased()
   Ã  Telerik.VSX.Internal.ProjectManagement.ApplicationProjectAssemblyReference.EnsureLoadInformation()
   Ã  Telerik.VSX.Internal.ProjectManagement.ApplicationProjectAssemblyReference.get_LoadInformation()
   Ã  Telerik.VSX.Internal.ProjectManagement.ProjectAssemblyReferenceBase.GetAssemblyReference()
   Ã  Telerik.VSX.Internal.ProjectManagement.ProjectWrapUIComponentsBase.get_IsTelerikReferenceValid()
   Ã  Telerik.VSX.ProjectListing.ProjectListerItemHelper.GetDistributionVersion(IProjectWrapUIComponents projectWrap)
   Ã  Telerik.VSX.ProjectListing.ProjectListerItemHelper.GetTitle(IProjectWrapUIComponents projectWrap)
   Ã  Telerik.VSX.DistributionListing.CheckableItemFactory.Create[T](IList`1 list, Func`2 getTitleFunc, Action`1 callback, Boolean isChecked)
   Ã  Telerik.VSX.Wizards.ViewModels.UpgradeProjectWizardViewModel`2.get_AllProjectItems()
   Ã  Telerik.VSX.Wizards.ViewModels.UpgradeProjectWizardViewModel`2.GetProjectsWithVersionLessThanSelectedDistributionVersion()
   Ã  Telerik.VSX.Wizards.ViewModels.UpgradeProjectWizardViewModel`2.OnCurrentDistributionPropertyChanged(Object sender, PropertyChangedEventArgs e)
   Ã  Telerik.WizardFramework.ScenarioDriven.ViewModelBase.RaisePropertyChanged(String propertyName)
   Ã  Telerik.VSX.ViewModels.DistributionChooserViewModelBase`1.get_CurrentDistribution()
   Ã  Telerik.WinControls.VSX.Wizards.UpgradeProjectWizardBase`2.TryGetDistributionToken(Version targetFramework)
   Ã  Telerik.WinControls.VSX.Wizards.UpgradeProjectWizardBase`2.TryGetMainLoadInformation(Version targetFramework)
   Ã  Telerik.VSX.WizardEngine.Controls.WizardControlBase.PopulateCollectedValues(IPropertyDataDictionary gatheredData)
   Ã  Telerik.VSX.WizardFramework.Pages.DynamicPageController.GetData()
   Ã  Telerik.WizardFramework.Wizard.GetCurrentPageData()
   Ã  Telerik.WizardFramework.Wizard.UpdateNavigation()
   Ã  Telerik.WizardEngine.Helpers.EventHelper.CatchExceptionAndSendReport(Action action)
Jérôme
Top achievements
Rank 1
Iron
Iron
Iron
 updated question on 10 Nov 2022
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
+? 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?