Telerik Forums
UI for WinForms Forum
1 answer
154 views

Any possible solution for set Place Holder/Null Text in Radgriview Cell without editing mode

Dinko | Tech Support Engineer
Telerik team
 answered on 14 Sep 2022
2 answers
140 views

Hi.

Winforms, c#, .net core 6, VS2022.

I googled to discover, in a very old post, that a gridview was only capable of exporting data from the whole grid unless a flag was set for it to ignore hidden columns/rows.

So I decided to hide columns/rows whilst exporting, then restore the original view afterwards.

But. Is there a clean method to retrieve the start/end column/row indexes or do I have to laboriously step through selected cells to find min/max index values for each cell?

Thanks in advance :)

 

Czeshirecat
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 14 Sep 2022
3 answers
343 views

I use RadGridView in WinForms. There is search field, when I set AllowSearchRow property to 'true'.

When I search there numbers everything is ok until I put separator of thousands. First screen 'Clipboard01' without separators.

Second and third screen 'Clipboard02' and 'Clipboard03' shows how it looks like when i put separator or write number without separator.

I will mention that numbers in grid have 'space' as separator of thousands.

How you can see nothing is found.

Have you any idea how to handle separators of thousands in the search engine?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Sep 2022
1 answer
302 views
Hello community!!!

I searched for this here but I didn't find something that could help me. I am trying to change the "BackColor" of selected "RadPageViewNavigationViewItem". For example the green one with the text "Subscriptions". Let's say I would like to make it red. How can I do that programmatically?



Thank you for your precious time!!!
Maria
Telerik team
 answered on 13 Sep 2022
1 answer
767 views

Hello,

I have a form with a splitcontainer with 2 splitpanel:
- splitpanelFilter
- splitpanelMain

/* SplitContainerMain */
        /*  */
        THIS-OBJECT:SplitContainerMain:AutoScroll = TRUE.
        THIS-OBJECT:SplitContainerMain:Controls:Add(THIS-OBJECT:splitPanelFilter).
        THIS-OBJECT:SplitContainerMain:Controls:Add(THIS-OBJECT:splitPanelMain).
        THIS-OBJECT:SplitContainerMain:Dock = System.Windows.Forms.DockStyle:Fill.
        THIS-OBJECT:SplitContainerMain:Location = NEW System.Drawing.Point(0, 0).
        THIS-OBJECT:SplitContainerMain:Name = "SplitContainerMain".
        THIS-OBJECT:SplitContainerMain:Orientation = System.Windows.Forms.Orientation:Horizontal.
        /*  */
        /*  */
        /*  */
        THIS-OBJECT:SplitContainerMain:RootElement:MinSize = NEW System.Drawing.Size(25, 25).
        THIS-OBJECT:SplitContainerMain:Size = NEW System.Drawing.Size(644, 480).
        THIS-OBJECT:SplitContainerMain:SplitterWidth = 2.
        THIS-OBJECT:SplitContainerMain:TabIndex = 1.
        THIS-OBJECT:SplitContainerMain:TabStop = FALSE.
        THIS-OBJECT:SplitContainerMain:ThemeName = "Crystal".
        /*  */
        /* splitPanelFilter */
        /*  */
        THIS-OBJECT:splitPanelFilter:Controls:Add(THIS-OBJECT:BtnFilterDown).
        THIS-OBJECT:splitPanelFilter:Controls:Add(THIS-OBJECT:BtnFilterDefault).
        THIS-OBJECT:splitPanelFilter:Dock = System.Windows.Forms.DockStyle:Top.
        THIS-OBJECT:splitPanelFilter:Location = NEW System.Drawing.Point(0, 0).
        THIS-OBJECT:splitPanelFilter:Name = "splitPanelFilter".
        /*  */
        /*  */
        /*  */
        THIS-OBJECT:splitPanelFilter:RootElement:MinSize = NEW System.Drawing.Size(25, 25).
        THIS-OBJECT:splitPanelFilter:Size = NEW System.Drawing.Size(644, 28).
        THIS-OBJECT:splitPanelFilter:SizeInfo:AutoSizeScale = NEW System.Drawing.SizeF(Progress.Util.CastUtil:ToSingle(0), Progress.Util.CastUtil:ToSingle(-0.4393305)).
        THIS-OBJECT:splitPanelFilter:SizeInfo:SplitterCorrection = NEW System.Drawing.Size(0, -192).
        THIS-OBJECT:splitPanelFilter:TabIndex = 0.
        THIS-OBJECT:splitPanelFilter:TabStop = FALSE.
        THIS-OBJECT:splitPanelFilter:ThemeName = "Crystal".
/*  */
/* BtnFilterDefault */
        /*  */
        THIS-OBJECT:BtnFilterDefault:Image = CAST(resources:GetObject("BtnFilterDefault.Image"), System.Drawing.Image).
        THIS-OBJECT:BtnFilterDefault:Location = NEW System.Drawing.Point(3, 3).
        THIS-OBJECT:BtnFilterDefault:Name = "BtnFilterDefault".
        THIS-OBJECT:BtnFilterDefault:Size = NEW System.Drawing.Size(73, 22).
        THIS-OBJECT:BtnFilterDefault:TabIndex = 0.
        THIS-OBJECT:BtnFilterDefault:Text = "Filtres".
        THIS-OBJECT:BtnFilterDefault:TextAlignment = System.Drawing.ContentAlignment:MiddleRight.
        THIS-OBJECT:BtnFilterDefault:ThemeName = "Crystal".
        THIS-OBJECT:BtnFilterDefault:Click:Subscribe(THIS-OBJECT:BtnFilterDefault_Click).
        /*  */
        /* splitPanelMain */
        /*  */
        THIS-OBJECT:splitPanelMain:Location = NEW System.Drawing.Point(0, 31).
        THIS-OBJECT:splitPanelMain:Name = "splitPanelMain".
        /*  */
        /*  */
        /*  */
        THIS-OBJECT:splitPanelMain:RootElement:MinSize = NEW System.Drawing.Size(25, 25).
        THIS-OBJECT:splitPanelMain:Size = NEW System.Drawing.Size(644, 450).
        THIS-OBJECT:splitPanelMain:SizeInfo:AutoSizeScale = NEW System.Drawing.SizeF(Progress.Util.CastUtil:ToSingle(0), Progress.Util.CastUtil:ToSingle(0.4393305)).
        THIS-OBJECT:splitPanelMain:SizeInfo:SplitterCorrection = NEW System.Drawing.Size(0, 192).
        THIS-OBJECT:splitPanelMain:TabIndex = 1.
        THIS-OBJECT:splitPanelMain:TabStop = FALSE.
        THIS-OBJECT:splitPanelMain:ThemeName = "Crystal".


I want to dynamically manage the size of the Split Panels on the click of a button.
I have a variable iHeight= 30.
If I click I increase the height of the SplitPanelFilter by (28 + iHeigth) and I decrease the height of the SplitPanelMain (450 - iHeigth)
And conversely when I click again on the button ==> default position

I use this command
THIS-OBJECT:SplitPanelMain:Height= 450 - iTaille.
THIS-OBJECT:SplitPanelFilter:Height= 28 + iTaille.
but nothing ....
Are you a solution ??

Thank you

Laurent TROMBINO

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Sep 2022
1 answer
220 views

Hello community!!!

Is there any way we can change the BackColors of bar behind icon? To something custom.



Thank you for your time!!!

PS: There is no TaskDialog tag into Tags field!!!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Sep 2022
1 answer
1.0K+ views

Hey all!

I have a radGridView where i need to capture the mouse-over so i can assign a "MouseOver" background color at runtime. 

Some of my rows are default and will use the default "MouseOver" color and some of my rows are "custom" with a custom background color applied using ViewRowFormatting and so i would like a Custom "MouseOver" color.  At this time even the DEFAULT mouse-over color...does NOT apply to rows that have their background handled in ViewRowFormatting (I do not know why this is.)

So that's it :)

How do i capture pre-mouse-over painting and apply a different color?  Or maybe this would happen at the theme level with a replacement theme element?  I dont know i'm just rambling at this point :(

If anyone has done this type of customization please let me know and thanks all!

Cheers!  Curtis.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Sep 2022
0 answers
425 views

Currently, I am facing an issue when exporting the pdf report from the winform report viewer, the preview is fine, but when I try to use the export pdf button and then select folder as desktop, the entire app will be closed without any exception, the app just closed itself. If I select a different folder, it works fine. For the same PDF I use the PdfViewer to test, the same issue. I suspect some shared components failed around PDF export.  The version is 2022.2.622

Faulting application name: CustomDecoder.exe, version: 1.0.0.0, time stamp: 0x631d7036
Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2be1e
Exception code: 0xc0000417
Fault offset: 0x0008af3e
Faulting process id: 0x4a20
Faulting application start time: 0x01d8c65568c81b08
Faulting application path: C:\dev\Telerik\winforms-sdk\PdfViewer\CustomDecoder\CustomDecoderCS\CustomDecoder\bin\Debug\CustomDecoder.exe
Faulting module path: C:\WINDOWS\SYSTEM32\MSVCR100.dll
Report Id: 2571b31a-1468-4eb5-b7f3-c51355fa69d4
Faulting package full name: 
Faulting package-relative application ID: 

 

Sydneyandy
Top achievements
Rank 1
 asked on 12 Sep 2022
1 answer
140 views

Dear all,

does anyone know how to change the BackColor ofthe RadDataEntry ValidationPanel.

I have tried various ways like setting it up at design time in Visual Studio,

or just before showing it at run time

                dataEntry.ValidationPanel.BackColor = Color.PapayaWhip;
                dataEntry.ShowValidationPanel = true;

and also via some event such as

  private void rdeDynamicInput_Initialized(object sender, EventArgs e)
    {
        ValidationPanel vpanel = (sender as RadDataEntry).ValidationPanel;
        if(vpanel != null) vpanel.BackColor = Color.PapayaWhip;
    }

Thanks for your answer

 
 
Maria
Telerik team
 answered on 09 Sep 2022
1 answer
177 views

Hello, 

 

I'd like to know if it is possible to insert rotated text into TableCell (like in the attached image - orange part of table).

I read many forums about this problem, found only one solution - https://www.telerik.com/forums/rotate-text-in-table-cell

The problem is, this custom class is implemented for Telerik.Windows libraries, I'm using Telerik.Winforms.

 

Thanks,

Martin.

Dimitar
Telerik team
 answered on 09 Sep 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)
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?