Telerik Forums
UI for WinForms Forum
1 answer
443 views

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;

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Dec 2020
1 answer
95 views

I've created a custom binding navigator that inherits from the default to be able to optionally cancel the button navigation. When I add the custom navigator to the form, I don't get the default images. Instead they all use a default image like the attached image. How can I create a custom navigator with the standard button images?

 

This issue happens even if there is no custom code like the example below:

Public Class CancelBindingNavigator
    Inherits RadBindingNavigator
 
    Protected Overrides Function CreateNavigatorElement() As RadBindingNavigatorElement
        Return New RadBindingNavigatorElement()
    End Function
End Class
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Sep 2020
1 answer
106 views

I've bound a RadBinding Navigator to a binding source

every thing is ok Before any event is fired like 

Move to first item 
Move to previous item  
Move to next item  
Move to last item 

unfortunately after One of the above event is fired , all the buttonS (first ,previous,next,last ) Get Disabled.

Can You Help Me?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jan 2020
0 answers
74 views

Hi,

Using BindingNavigator with DataLayout - how to add confirmation dialog to Delete button?

Also how to disable Delete button? 

Me.RadBindingNavigator1.BindingNavigatorElement.DeleteButton.Enabled = False 

- has no effect

Thanks

Alex

 

Alex Dybenko
Top achievements
Rank 2
 asked on 28 Mar 2019
1 answer
29 views
After chasing my tail for longer than I will admit I found the very important note in the RadBindingNaviagator Getting Started page not to change the design time name of the control or the control will not function. By convention and policy all controls are changed to meaningful names in my programming environment. I would like to say that this non-standard behavior is very unwelcome I strongly request that behavior gets corrected going forward. It makes me wonder what other traps are in the controls. Thanks 
Dimitar
Telerik team
 answered on 28 Jan 2019
2 answers
602 views
Although I have many icons from Microsoft to use in the RadBindingNavigator that don't go well with the default icons. So my question is, are there a set of icons that match up with the default icons?
Karen
Top achievements
Rank 1
 answered on 25 Sep 2018
3 answers
198 views
Hi

I'm using Office2010SilverTheme. The Font of UI Controls in English and Farsi culture is different.
Where is this default is set? How can I set a new Font for controls in Farsi culture?

Cheers
Hristo
Telerik team
 answered on 18 Sep 2018
6 answers
180 views

Hello, my English is bad, very bad 8D 

BindingNavigator don't work, when I write code:

 

RadBindingNavigator.BindingSource = tableBindingSourse;

 

however, in the standart BindingNavigator it's working this code

pls, help ^___^ 

Hristo
Telerik team
 answered on 20 Nov 2017
2 answers
126 views

How can I add new controls (buttons, raddropdownlist etc) to RadbindingNavigator? When using Microsoft control it is pretty easy and can be done at design time. Any clues?

Thanks

Wojciech

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Nov 2017
4 answers
612 views

Hi,

I'm trying to perform operations as illustred in your article here: http://docs.telerik.com/data-access/developers-guide/data-access-model/advanced-model-tasks/developer-guide-domain-model-managing-advanced-project-data-source.

 

I can't! Object's three in the Data Source tool window seems to be "readonly", not draggable to the RadForm. They have aspect like in the first image attached. If I try to switch to a regular WinForm form, and I come back to the Designer, the aspect of the objects and field is slightly different, as in the second attachment, and I can drag them to the form succesfull.

 

Where is the trick? Why I can't with the RadForm form?

 

Thanks in advance.

Hristo
Telerik team
 answered on 16 Sep 2016
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
Menu
RichTextEditor
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
PopupEditor
RibbonForm
TaskBoard
Barcode
Styling
ColorBox
PictureBox
Callout
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
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
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?