Telerik Forums
UI for WinForms Forum
0 answers
4 views

As of 2024 Q4 (November), we will deprecate .NET 7 distribution. This decision is rooted in our dedication to align with Microsoft’s recommended framework versions so that our products leverage the latest advancements in technology, security, and performance.  

We are aligning our product with Microsoft’s lowest-supported framework versions for .NET Framework and .NET, respectively. Please refer to the following blog post: Product Update for Enhanced Performance and Security (telerik.com)

For more information about how to upgrade your project when a new version of the Telerik UI for WinForms suite is released, you can check here: How to Upgrade a Telerik UI for WinForms Project - Telerik UI for WinForms 

Nadya
Top achievements
Rank 1
 asked on 16 May 2024
0 answers
1 view

I have data from a table (child) that may or may not contain values from another table (parent).  When I use the data in the pivot grid, I only see the party field values that exist in my child table, I want to be able to see all the values from the parent table

Example

                  Status      ACTIVE          INACTIVE         DISABLED       CANCELED

Positions

FIRST BASE                    1                           0                           0                    0
SECOND BASE               2                           1                            0                    0
SHORT STOP                 0                           0                           0                    0
THIRD BASE                  10                          10                         13                    12

 

Is this at all possible, by just feeding the data to the DataSource of the pivot grid?

 

Thanks

Mark
Top achievements
Rank 2
Bronze
Iron
Veteran
 asked on 17 May 2024
0 answers
1 view

Is there the ability to set the default STEP for a field that has not been used as an aggregate but is in the list for the user to select? We have an AGE field, and when the user drags it to either the ROW or COLUMN, the default STEP is 100. We need it to default to 10. Can we do this programmatically?

 

TIA.

Mark
Top achievements
Rank 2
Bronze
Iron
Veteran
 asked on 17 May 2024
0 answers
3 views

Hello,
I have problem with performance of GridView in self referencing hierarchy mode. I am working on move up/down function to move specific row up or down. I need to move it also in my underlying list, so I move it first in my list and then clear BindingList for GridView and add new items. This is done in DoRefreshEditorItems method of TestParEditorCollection class:

		private void DoRefreshEditorItems()
		{
			EditorItems.Clear();
			maxGridId = 0;

			foreach (var item in Items)
			{
				var editorItem = new TestParEditorItem(item, ++maxGridId);
				EditorItems.Add(editorItem);

				if (item.HasSubItems)
					AttachSubItems(editorItem);
			}

			RenumberRows();
		}

Each call to EditorItems.Add() takes cca 100ms and whole refresh of 20 rows takes cca 2s. It looks like this:

I also tried to set DataSource to null, refresh binding list and set DataSource back, but it looks very similar. I have attached test project, it's TelerikTestReal project in solution.

Marian
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 17 May 2024
1 answer
8 views

I have a controls RadTextBox, RadDateTimePicker, RadDropdown etc... I want to add icon to each control that is the Mandatory Field sign to the user. Currently in TELERIK I am able to see only error icon, that also not showing immediately after the form load.

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

Below is an example for what I am expecting:

I used other tool controls which provides that facility.

I used below components in another tool, to show you what I am expecting.

  1. ValidationProvider
  2. ErrorProvider

Please see attached filed to know my expected result.

  • DesignTime:

           

  • Run Time:

           

 

Please do the needful, and code it/suggest and attach a sample app.

Thanks

Nadya | Tech Support Engineer
Telerik team
 answered on 17 May 2024
1 answer
3 views

How can a specific color be set to specific words in the TEXT value of a LABEL?

I have tried using the following

radLabel.Text = "<HTML><color=red>Hello<color=black>World</HTML>";

But it doesn't work, I get the following when running our code.

<HTML><color=red>Hello<color=black>World</HTML>

Any help would be greatly appreciated.

 

Thank You

Nadya | Tech Support Engineer
Telerik team
 answered on 16 May 2024
1 answer
9 views

I have this to change the tabs colors when selected/unselected 

         {

           .....

            this.radDock1.ActiveWindowChanging += new DockWindowCancelEventHandler(radDock1_ActiveWindowChanging);
            this.radDock1.ActiveWindowChanged += new DockWindowEventHandler(radDock1_ActiveWindowChanged);

         }

        void radDock1_ActiveWindowChanged(object sender, DockWindowEventArgs e)
        {
            SizeAndColorSelectedDocWindowTab(e.DockWindow.TabStripItem, Color.LightBlue, Color.CornflowerBlue);
        }

        void radDock1_ActiveWindowChanging(object sender, DockWindowCancelEventArgs e)
        {
            SizeAndColorUnSelectedDocWindowTab(e.OldWindow.TabStripItem, Color.CornflowerBlue, Color.DarkBlue);
        }

 

But how can I change the color of the Tab title? when unselected the text almost disappears, I would like to change to a whiter color

 

Also, this works when the children are Tabbed, how can I implement something similar on titlebar when DockPosition.Left  (or anything else than tabbed) ?

Nadya | Tech Support Engineer
Telerik team
 answered on 15 May 2024
1 answer
9 views

When using the filtering cells on the gridview, let's say it is set to "Contains:" 

When the user types in that filter cell, the word "Contains:" remains visible and uses up most of the space where the user is typing... this often results in the letters or numbers that the user is typing there to become 'chopped off'.

For example, if the column width is 100 and the user is typing a 3 digit number "123" the filter cell shows only "23" because the dropdown is showing the word "Contains:" and it obscures the "1" in "123".

Is there a way to collapse the dropdown filters lettering when the filter cell has a value in it?  E.g. - Initially, it shows the word Contains... but as soon as the filter cell has a value, I'd like the word "Contains" to collapse or be removed.  Then if the user removes any values from the filter cell - the filter Dropdown selector reappears.

Nadya | Tech Support Engineer
Telerik team
 answered on 15 May 2024
1 answer
8 views

Hello,

We have a RadTreeView control inside a ToolWindow (with Dock = Fill) in a RadDock control. The nodes are added to the tree programmatically and AllowArbitraryItemHeight=false and TreeViewElement.AutoSizeItems=true. There is no ItemHeight set at all. We are sporadically getting an issue where the RadTreeView won’t let the user scroll to the bottom of the tree. We can’t consistently reproduce this error however. Is there any advice you can give how to try figure out what is going on?

Thanks,

Hayley

Nadya | Tech Support Engineer
Telerik team
 answered on 15 May 2024
1 answer
11 views

Hello,

I have a RadGridView databound to a DataView with AddNewBoundRowBeforeEdit = true. Multiple columns in the DataView.Table have AllowDbNull set to false. I'm getting exceptions however when i try and add a new row without specifying a value for the columns that dont accept Db null, and even if i press Escape to cancel the new row the grid seems to freeze and i can no longer try add new rows. 

I've attached a sample application and a screenshot of the error.  The steps to reproduce the exception in the test app are:

1. Click on any column in add new record row
2. Click on an existing row in the grid. Exception will appear in message box. Press OK
3.. Try and click on add new record row again. Either nothing will happen or another exception will appear.

The exception will also appear if you click in the add new record row, then press Esc key

Thanks,

Hayley

 

Dinko | Tech Support Engineer
Telerik team
 answered on 15 May 2024
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
Buttons, RadioButton, CheckBox, etc
DropDownList
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
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
ContextMenu
Spreadsheet
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
DateTimePicker
CollapsiblePanel
Conversational UI, Chat
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
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
PictureBox
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?