Hi,
I want to know information if the button is enabled. I use inspect.exe and for the option 'UI Automation', and the IsEnabled property is always set to true. While for option 'MSAA', IsEnabled is not supported.
How can I check is button enabled or disabled?
The latest .net 8 release has brought new features that now make it possible to use the MVVM pattern in windows forms projects in a serious way.
My question is, is it possible to assign the datagrid's row click or row double click event handler to the new ICommand (as is already possible for Button). This would allow these methods to be placed in the ViewModel as the MVVM pattern suggests?
Thanks
Description:
I recently upgraded my .NET Framework project to .NET Core 8. However, I'm now encountering an issue where the RadListView component is not recognized. I've tried adding the necessary NuGet packages, but the error persists.
The specific error message I'm receiving is:
CS0234: The type or namespace name 'RadListView' does not exist in the namespace 'Telerik WinControls.UI' (are you missing a reference?)
I've attached a screenshot of the error message for your reference.
I'm using the Telerik RadControls for WinForms library, and I've made sure to install the latest version of the NuGet package (Telerik.WinControls.dll). I've also tried adding the following using directives:
using Telerik.WinControls.UI;
using Telerik.WinControls;
But the error persists.
I've searched for similar issues online, but I haven't been able to find a solution that works for me. I'm hoping someone here can help me troubleshoot this problem.
Additional details:
Any help would be greatly appreciated.
Here are some additional things you can include in your forum post:
I hope this helps!
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.
Please see attached filed to know my expected result.
Please do the needful, and code it/suggest and attach a sample app.
Thanks
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.
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
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) ?
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.
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
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