Telerik Forums
UI for WinForms Forum
1 answer
101 views

Hi all, I'm trying to do something very similar to the WPF Custom Shape example; add controls to a shape in some sort of container (panel,...)

WPF Example desired in Winforms

Is there a Winforms version of this example somewhere?

Future Request:  I think (IMHO) that there should be a section for this.  Defining a Custom Shape, Adding Controls, Setting Custom Connection Points, Adding the new shape to the Toolbox, Configuring the Properties Editor, and setting up Drag-Drop.  If you are creating a custom shape all of these are parts of the effort.  The Documentation is all spread out over each element with no real guiding document to cover what all is possible/necessary to get a working shape (that i could find anyway).

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jan 2022
1 answer
121 views

Hi

Is there any way to use callout instead of tooltiptext in radstepprogress control

such that when i point to StepItemIndicatorElement the callout display the first header text

if yes , can you give me a sample please

Best regards

Atfat

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Jan 2022
1 answer
199 views

Hi

Is there any way to use callout instead of tooltiptext in radstepprogress control

if yes , can you give me a sample please

Best regards

Atfat

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Jan 2022
1 answer
167 views

hi

how show cell time like hh:mm

this code have error
GridViewDateTimeColumn column = (GridViewDateTimeColumn)this.radGridView1.Columns["Date"];

column.FormatString = "{0:hh.mm}";      //hour.minutes
thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Jan 2022
1 answer
293 views

Hi.

Is there any way to remove or hide the indicator icons shown in row header?

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Jan 2022
1 answer
141 views

Hello,

I have an MDI parent form with a radcommandbar across the top.

The commandbar contains 2 commandstripelements which have several buttons

One is left justified and one is right justified

Everything is working fine except when I deploy it to a touch enabled / touchscreen client.  Some users are accidentally dragging the commandstripelements into one another and even dragging them off the command bar making them disappear entirely.

Is there a way to disable dragging or reordering of the commandstrips.   Ideally I don't want any of the items to move at all

I have already tried

For each commandstripelemnt I set

            commandBarStripElement1.AllowDrag = false;
            commandBarStripElement1.AllowDrop = false;
            commandBarStripElement1.EnableDragging = false;
            commandBarStripElement1.EnableFloating = false;

For each button in either strip element I set

buttonX.AllowDrag = false;

I even tried returning e.Canceled in BeginDrag

Nothing seems to be working 

Any help would be appreciated

 

Thanks

Kevin


 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Jan 2022
1 answer
1.3K+ views

Hey there!

I was tasked with fixing the memory leak problem of some programs, and since they have more than 100k lines combined i wanted to know something before starting :D

I want to make sure that this is the correct way of clearing/cleaning an object:

/**************************/

tmpPanel:Dispose().

tmpPanel = ?.

IF VALID-OBJECT(tmpPanel) THEN DELETE OBJECT tmpPanel NO-ERROR.

/**************************/

Am I missing something? Do I need to do anything else?

And can I do this dynamically? By sending the object in an argument and running the "Dispose" method by invoking it. Does that work as well?

And If i assign the object i want to clear/clean before doing clearing/cleaning it to another variable, should I also clear/clean such variable?

 

JP

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jan 2022
3 answers
165 views

Hi there ,

I have a WindowsForms application with a RadGridView.
Now I would like to output the filtered values ​​as a report or transfer them to a report.
Is there an easy way?

Thanks

Udo

Udo
Top achievements
Rank 1
Iron
 answered on 19 Jan 2022
2 answers
830 views

Hello!

I was having a problem, in a client desktop wich I can't replicate on any other desktop my company owns, that I really can't fix ...

I'll paste the text bellow that comes with the alert ( some parts translated to english since I'm from Portugal:

 

 

Check the end of this message to obtain details on how to invoc the depuration
JIT (just-in-time)instead of this dialog box.

************** EXCEPTION TEXT **************
System.InvalidOperationException: COllection was modified; the operation of the enumeration  may not be executed.
   em System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
   em Telerik.WinControls.ComponentInputBehavior.ElementUnderMouseMonitorTimer_Tick(Object sender, EventArgs e)
   em System.Windows.Forms.Timer.OnTick(EventArgs e)
   em System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblies  **************
mscorlib
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.4180.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Progress.clrbridge
    Versão da assemblagem: 12.1.0.1135
    Versão Win32: 12.1.0.1135
    CodeBase: file:///C:/OE12/bin/Progress.clrbridge.DLL
----------------------------------------
Progress.NetUI
    Versão da assemblagem: 12.1.0.1135
    Versão Win32: 12.1.0.1135
    CodeBase: file:///C:/OE12/bin/Progress.NetUI.DLL
----------------------------------------
System
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.4110.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.4180.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Progress.Telerik
    Versão da assemblagem: 12.1.0.1099
    Versão Win32: 12.1.0.1099
    CodeBase: file:///C:/OE12/bin/Progress.Telerik.DLL
----------------------------------------
System.Windows.Forms
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.4150.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
OEEventHandlerAssembly
    Versão da assemblagem: 0.0.0.0
    Versão Win32: 12.1.0.1135
    CodeBase: file:///C:/OE12/bin/Progress.NetUI.dll
----------------------------------------
ISymWrapper
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/ISymWrapper/v4.0_4.0.0.0__b03f5f7f11d50a3a/ISymWrapper.dll
----------------------------------------
Telerik.WinControls.UI
    Versão da assemblagem: 2019.2.618.20
    Versão Win32: 2019.2.618.20
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Telerik.WinControls.UI/2019.2.618.20__5bb2a467cbec794e/Telerik.WinControls.UI.dll
----------------------------------------
Telerik.WinControls
    Versão da assemblagem: 2019.2.618.20
    Versão Win32: 2019.2.618.20
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Telerik.WinControls/2019.2.618.20__5bb2a467cbec794e/Telerik.WinControls.dll
----------------------------------------
TelerikCommon
    Versão da assemblagem: 2019.2.618.20
    Versão Win32: 2019.2.618.20
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/TelerikCommon/2019.2.618.20__5bb2a467cbec794e/TelerikCommon.dll
----------------------------------------
Telerik.WinControls.GridView
    Versão da assemblagem: 2019.2.618.20
    Versão Win32: 2019.2.618.20
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Telerik.WinControls.GridView/2019.2.618.20__5bb2a467cbec794e/Telerik.WinControls.GridView.dll
----------------------------------------
Telerik.WinControls.Themes.Aqua
    Versão da assemblagem: 2019.2.618.20
    Versão Win32: 2019.2.618.20
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Telerik.WinControls.Themes.Aqua/2019.2.618.20__5bb2a467cbec794e/Telerik.WinControls.Themes.Aqua.dll
----------------------------------------
Telerik.WinControls.Themes.CrystalDark
    Versão da assemblagem: 2019.2.618.20
    Versão Win32: 2019.2.618.20
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Telerik.WinControls.Themes.CrystalDark/2019.2.618.20__5bb2a467cbec794e/Telerik.WinControls.Themes.CrystalDark.dll
----------------------------------------
Telerik.WinControls.Themes.VisualStudio2012Light
    Versão da assemblagem: 2019.2.618.20
    Versão Win32: 2019.2.618.20
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Telerik.WinControls.Themes.VisualStudio2012Light/2019.2.618.20__5bb2a467cbec794e/Telerik.WinControls.Themes.VisualStudio2012Light.dll
----------------------------------------
Telerik.WinControls.Themes.VisualStudio2012Dark
    Versão da assemblagem: 2019.2.618.20
    Versão Win32: 2019.2.618.20
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Telerik.WinControls.Themes.VisualStudio2012Dark/2019.2.618.20__5bb2a467cbec794e/Telerik.WinControls.Themes.VisualStudio2012Dark.dll
----------------------------------------
Telerik.WinControls.Themes.TelerikMetroBlue
    Versão da assemblagem: 2019.2.618.20
    Versão Win32: 2019.2.618.20
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Telerik.WinControls.Themes.TelerikMetroBlue/2019.2.618.20__5bb2a467cbec794e/Telerik.WinControls.Themes.TelerikMetroBlue.dll
----------------------------------------
Progress.Messages
    Versão da assemblagem: 12.1.0.1135
    Versão Win32: 12.1.0.1135
    CodeBase: file:///C:/OE12/bin/dotnetmsgs/Progress.Messages.DLL
----------------------------------------
INFOSEncrypt.Net.Lib
    Versão da assemblagem: 1.0.0.0
    Versão Win32: 1.0.0.0
    CodeBase: file:///C:/OE12/bin/dotnetmsgs/INFOSEncrypt.Net.Lib.DLL
----------------------------------------
System.DirectoryServices
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
----------------------------------------
System.DirectoryServices.AccountManagement
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices.AccountManagement/v4.0_4.0.0.0__b77a5c561934e089/System.DirectoryServices.AccountManagement.dll
----------------------------------------
OEProxyAssembly
    Versão da assemblagem: 12.1.0.0
    Versão Win32: 12.1.0.1135
    CodeBase: file:///C:/OE12/bin/Progress.NetUI.dll
----------------------------------------
mscorlib.resources
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pt_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
Accessibility
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.GeneratedCode
    Versão da assemblagem: 1.0.0.0
    Versão Win32: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Numerics
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Windows.Forms.resources
    Versão da assemblagem: 4.0.0.0
    Versão Win32: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pt_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuração JIT **************
TO active depuration  just-in-time (JIT), the file .config 
for this app or computer(machine.config) needs to have the value  jitDebugging definido na secção system.windows.forms.
THe application also needs to be compiled with the depuration activated.

FOR EXAMPLE:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When it's activated, any non processed exception will be sent for the JIT instead using the dialog box.

 

 

--------------------------------------------------

IMAGE TEXT TRANSLATED:

A not processed exception occurred. If you click "continuar" the app with ignore this error and will proceed. If you choose the other option  the app will be closed instantly.

The collection was modified; the enumeration operation may not be executed.

 

------------------------------------------------

The client is using the 2019 version.

I'll wait for your response.

 

Have a nice day,

João Pinto.

João
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 19 Jan 2022
1 answer
107 views

How can I get all parent rows to expand when the search criteria is met?  Currently, only the parent of the first occurrence of the search result expands.  

Other parents have to be manually expanded to see if the search was found.

Thanks

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Jan 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
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
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
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?