Class
CustomGridBehavior
Inherits BaseGridBehavior
Protected Overloads Overrides Function ProcessTabKey(ByVal keys As System.Windows.Forms.KeyEventArgs) As Boolean
If Me.CheckIfLast() Then
Me.GridControl.EndEdit()
Me.GridControl.Rows.AddNew()
Me.GridControl.Rows(Me.GridControl.Rows.Count - 1).IsCurrent = True
Me.GridControl.Columns(1).IsCurrent = True
Me.GridControl.Focus()
Me.GridControl.BeginEdit()
Return True
Else
Me.GridControl.Focus()
Me.GridControl.EndEdit()
TryCast(GridControl.DataSource, BindingSource).EndEdit()
Return MyBase.ProcessTabKey(keys)
End If
End Function
2) 'Error 5 'ProcessTabKey' is not a member of 'Telerik.WinControls.UI.BaseGridBehavior'. '
Same code as above
3) 'Error 6 Value of type 'Debitask.CustomRadGridView' cannot be converted to 'Telerik.WinControls.UI.RadGridViewElement'.'
Class
CustomRadGridView
Inherits RadGridView
Public Sub New()
Dim gridBehavior As New CustomGridBehavior()
gridBehavior.Initialize(
Me) '<-- This line.
Me.GridBehavior = gridBehavior
End Sub
4) 'Error 33 Property 'Index' is 'ReadOnly'.'
newColumn =
New GridViewCheckBoxColumn
With newColumn
.BestFit()
.HeaderText =
"Selected"
.ReadOnly = False
.Index = 0
End With
5) Error 38 'CellElement' is not a member of 'Telerik.WinControls.UI.GridViewCellInfo'.
rowCurrent.Cells(
"image").CellElement.Image = Debitask.My.Resources.delete16
6) Error 117 Event 'GroupSumaryEvaluate' cannot be found'
private Sub grdAccessGroups_GroupSumaryEvaluate(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GroupSummaryEvaluationEventArgs) Handles grdAccessGroups.GroupSumaryEvaluate
RadPageView will be the successor of RadPanelBar and RadTabStrip by providing different views over a collection of pages. Each page is a stand-alone Panel where controls may be added through the Visual Studio Designer. The control is fully customizable yet greatly optimized for both memory consumption and performance. It will offer better item sizing and spacing, as well as extended orientation modes over the other two controls. Read more in the following blog posts:
To get technical support, either contact Telerik support or post in the PageView Forum.