'bsMaintenance is the bindingsource
bsMaintenance.RemoveCurrent()
bsMaintenance.EndEdit()
Dim
myBuilder As SqlCommandBuilder = New SqlCommandBuilder(daDataAdapter)
Dim iResult As Integer
Dim bResult As Boolean = False
bsMaintenance.EndEdit()
myBuilder.GetUpdateCommand()
daDataAdapter.UpdateCommand = myBuilder.GetUpdateCommand()
daDataAdapter.Update(DSData, "TBL_CALL_TYPES")
The button is now to the right of the text box, but the image is not vertically centred in the button (note that if you set the MinSize.Width to be large than the image's width, it will not be horizontally centred either).
Most importantly, changing the buttons' ImageAlignment does not appear to have any effect - it is still displayed only at the top of the button and not centered, regardless of the setting of this property.
Is there a way to get the image to display in the centre of the button in this instance?
Thanks!
Cheers,
FRASER TUSTIAN
Specs:
OS: Windows Vista SP1
.NET Version: 3.5
Telerik Libraries Referenced:
Telerik.WinControls.dll 8.0.0.0
Telerik.WinControls.UI.dll 8.0.0.0
TelerikCommon.dll 8.0.0.0
Hi
I am getting the below strange warning, because of these error, I can not see the design view.
I am using version 2009.1.9.604.
Warning
Warning 2 No such property registered: NumberOfColors, Telerik.WinControls.UI.LightVisualElement
(warning @ Me.dtEnd.Checked = True )
Warning 8 No such property registered: BorderBoxStyle, Telerik.WinControls.UI.LightVisualElement
(warning @ Me.RadGridView1.Size = New System.Drawing.Size(690, 242) )
Designer.vb
Me.dtEnd.AutoSize = True
Me.dtEnd.Checked = True
Me.dtEnd.CustomFormat = "dd/MMM/yyyy"
Me.dtEnd.ForeColor = System.Drawing.Color.Black
Me.dtEnd.Format = System.Windows.Forms.DateTimePickerFormat.[Long]
Me.dtEnd.Location = New System.Drawing.Point(269, 57)
Me.dtEnd.MaxDate = New Date(9998, 12, 31, 0, 0, 0, 0)
Me.dtEnd.MinDate = New Date(1900, 1, 1, 0, 0, 0, 0)
Me.dtEnd.Name = "dtEnd"
Me.dtEnd.NullDate = New Date(1900, 1, 1, 0, 0, 0, 0)
Me.RadGridView1.RootElement.ForeColor = System.Drawing.Color.Black
Me.RadGridView1.ShowNoDataText = False
Me.RadGridView1.Size = New System.Drawing.Size(690, 242)
Me.RadGridView1.TabIndex = 0
Me.RadGridView1.ThemeName = "Telerik"
Regards
raju