Telerik Forums
UI for WinForms Forum
1 answer
658 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
186 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
73 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
83 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
2 answers
160 views

Is it possible to add a Combo Box or a MultiColumnComboBox to a Task Dialog?

If so, how would I do that?

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

So I want the user to choose a time with an interval of 15 mins, I disabled key presses because their is no proper way to handle it to round up to the nearest 15 mins.

Anyways my issue is that I tried using this setup so that the user can easily pick 15 mins interval

      this.ReturnTimePicker.Step = 15;
      this.ReturnTimePicker.TimeTables = Telerik.WinControls.UI.TimeTables.HoursAndMinutesInOneTable;

The result looks like this

So ok, probably a bug or 15 mins is not supported because of how many the choices would be.

So now I decided just to use the 2 tables instead of 1.


  this.ReturnTimePicker.Step = 15;
  this.ReturnTimePicker.TimeTables = Telerik.WinControls.UI.TimeTables.HoursAndMinutesInTwoTables;

The result is

It technically works and it's great but as you can see the Minutes is hidden, I need to drag the popup so it opens up properly.

I don't want my users to do that every time, so I want the control to be already expanded fully

Any fixes or alternatives on this issues? 

 

 

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

Hi ,

I need to create RadContextMenuManager programmatically in a "base" RadForm ( wich is inherited by other Forms Classes).

I don't want to add it with the designer.

It's possible?

If i add a property RadContextMenuManager, i cannot see this.RadContextMenu .

Alessandro

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

Can I add a textbox on the map filled in a color of my choice just like in the attached photo ?

 

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

Hello community!!!

Every time I click on a RadDropDownList I get this message into my debug output window:

The thread 0x588c has exited with code 0 (0x0).
The 0x588c changes every time.

Any idea why is this happening? Is this a normal behavior of RadDropDownList or something?

Thank you for your time!!!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Sep 2022
1 answer
89 views
I'm populating the RadDataGridView via setting up the columns, then suppling an array of objects for each row I need to add. I can't use a bound grid as we need columns that are not actual values of the object (for example View/Edit buttons that then open the record for the user). I cannot run this in a virtual grid as we are using the grouping functionality to allow users to organize the data. Currently populating the grid takes over half the time of the process. Anyone have additional suggestion for things to try?
 public void AdvancedRowsPopulation(IList<object[]> rows, bool doReset = true)
        {
            var tmr = System.Diagnostics.Stopwatch.StartNew();
            radGridView1.BeginUpdate();
//Have to reset the columns so the object[] matches up again
            string settings = GetGridXml();
            SetGridToXML(BaseGridSettingsXML);
            DetachColumnListeners();
            tmr.Stop();
            Log.Info($"Grid to default took {tmr.ElapsedMilliseconds / 1000.0}s.");

            tmr = System.Diagnostics.Stopwatch.StartNew();
            if (doReset)
            {
                radGridView1.Rows.Clear();
                cachedRows = new List<object[]>();
                lastDataSet = new DataTable();
                foreach (var col in radGridView1.Columns) lastDataSet.Columns.Add(col.HeaderText);
            }
            for (int y=0;y<rows.Count;y++)
            {
                var row =rows[y];
                radGridView1.Rows.Add(row);
                lastDataSet.Rows.Add(row);
            }
            lblDataCount.Text = radGridView1.Rows.Count.ToString();
            tmr.Stop();
            Log.Info($"Grid Row Population took {tmr.ElapsedMilliseconds / 1000.0}s.");

            tmr = System.Diagnostics.Stopwatch.StartNew();
            BaseGridSettingsXML = GetGridXml();
//Set grid back to what the user had last seen
            SetGridToXML(settings);

            radGridView1.EndUpdate();
            tmr.Stop();
            Log.Info($"Grid to user's layout took {tmr.ElapsedMilliseconds / 1000.0}s.");
        }

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 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
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?