How to add a click event to the form header? How to do it so that the event fires only when you click on the header, excluding buttons and tabs.
For clarity, I have highlighted the area in the picture below, only it should react to the event.
Hi,
I'm currently using a dataentry connected to a bindingnavigator. I'm using the below code to check when the bindingsource collection change.
The goal is to disable the delete button in the bindingnavitor when the bindingsource collection has 1 item in it like shown below:
bs.ListChanged += (s, e) =>
{
int itemCount = Convert.ToInt32(bindingNavigator.BindingNavigatorElement.PageLabel.Text.Split(' ')[1]);
if (itemCount == 1)
{
bindingNavigator.BindingNavigatorElement.DeleteButton.Enabled = false;
}
else
{
bindingNavigator.BindingNavigatorElement.DeleteButton.Enabled = true;
}
};
However, I'm having a hard time disable the delete button. As seen in the ListChanged, I'm using below code to disable the button, but it seems that it has no effect at all. Am I doing something wrong?
bindingNavigator.BindingNavigatorElement.DeleteButton.Enabled = false;
I see TabbedForm has RightItems and LeftItems. How to add various controls there?
I've tried creating a Button(Button btn = new Button();), and adding it(RightItems.add(btn)). However, this did not work, since the Add method asks for a certain RadItem ?! I did not find details and examples in the documentation :(
Hello,
We're using RadTreeView with a mutiselection and expect that SelectedNodesChanged event will be fired once user select/deselect set of nodes (e.g. with Shit Key), Unfortunately it fires much more times.
Example: if I have several nodes selected and just click on any single node, I expect SelectedNodesChanged event will be fired only once, or at least two times (collection cleared, and then filled with single node), but it fires as much as I have selected nodes plus one? are you ok with that?
Could you explain how it works? for me it looks like a bug. It's replicated on latest 2019 R1 release
Good morning, I would like to know how you can combine an object that contains a list inside it and be able to pass it to a list in the document. This is my class to combine:
public class Customer
{
public string Name{ get; set; }
public int Age{ get; set; }
public string PaymentDate{ get; set; }
public ObservableCollection<string> ChildrenName{ get; set; }
}
Hi all,
I'm an onbording programmer and also new to Telerik. I'm taking a look at Telerik products. More specificaly at the Windows form TreeView from VS 2019 VB.NET.
I just tried to create a new Windows form project and added a RadTreeView. I try to add nodes but they don't show up in the TreeView. What I'm I doing wrong ?
I'm attaching a picture of the verry simple code with hope this can help you.
This is my first time here so I'm not sure if:
- I provide appropriate information
- I'm at the right place for that type of support
Just let me know!
Erik
Hello Team,
I need to remove the spacing in the text right and left side, or the text needed to fit in the border. Please see the attached image.
Thanks.
RadColorDialog.ColorDialogForm.ShowBasicColors = False
Ra
dColorDialog.ColorDialogForm.ShowSystemColors = False
RadColorDialog.ColorDialogForm.ShowProfessionalColors = False
RadColorDialog.ColorDialogForm.ShowHEXColorValue = False
RadColorDialog.ColorDialogForm.AllowColorPickFromScreen = False
RadColorDialog.ColorDialogForm.ShowCustomColors = False
The docking advanced layout designer is broken when using Visual Studio 2019 Version 16.8.3, some buttons are missing so cannot add ToolWindows etc.
If copying from an old template from net 4.6, the initial docking layout works but dragging a window does not show the dock graphics overlay to dock anywhere.
Essentially docking looks broken on net5.0 (just checked and it's also broken on netcore3.1)
I have a grid with 5 columns. If I drag a c column (say 4) to the group by box then the groups are shown. If I try to expand the groupby box with the mouse, rowchanged event is triggered and then reading a value from a cell, I get a null exception error.
Once the group is expanded, and I click on a row, I need the row changed event to trigger.
also, can I show the number of items in each group. Now it shows the group Text, but I want to show the group text and count in the group.
Thanks as always