Telerik Forums
UI for WinForms Forum
6 answers
242 views
hi, below is a list of errors I have since upgrading to SP2.

1)  'Error 4 function 'ProcessTabKey' cannot be declared 'Overrides' because it does not override a function in a base class. '

 

 

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

 

 

 

 


Hilda Kenny
Top achievements
Rank 1
 answered on 04 Oct 2010
2 answers
238 views
Yeah that wasn't the best subject line ever.

OK so I've added a gredview to the form.  Now I want to setup some hierarchy.  Using the help as a guideline I'm looking for the MasterGridViewTemplate property in the properties - can't find it, so going to the property builder for the grid I look in there for the ChildGridViewTemplates, no luck with that either.

I'm using the 2010 Q2 SP1 version of WinForms.... 

Any ideas what is going on?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 04 Oct 2010
2 answers
110 views
Hi:
I have a project developed with Rad Controls For WinForms Q2 2009 and I installed a lastest  the version Q2 2010.
After, I open the Project Update Utility and update my project, however I have many errors in the designer.

Help me please!
Thanks
Jack
Telerik team
 answered on 04 Oct 2010
2 answers
160 views
Hello All

What event is trigrred on change of calculated column value is changed.

Thanks & regards
Pulkit
Jack
Telerik team
 answered on 04 Oct 2010
4 answers
223 views
I have a treeview that is dynamically populated with nodes.   I have enabled the default context menu for the treeview.  When I use the default context menu to delete a node, how do I get a reference to the radtreenode object that is being deleted?   There appear to be no standard event handlers for winforms treeview default context menus.

Thanks.
Nikolay
Telerik team
 answered on 04 Oct 2010
11 answers
340 views
Calling BetFitColumns (or BestFit on each Column) is not working in ChildGrivdViewTemplates.  It just sets all Column Widths to some default width (i.e. 50).  I'm binding to a DataSet filled by a SqlDataAdapter.

2009Q2 (2009.2.9.729), VS 2005 (v8.0.50727.762 SP.050727-7600), .Net2 (2.0.50727), XP SP3, Core2Duo 2.99GHZ with 3GB.
Nikolay
Telerik team
 answered on 04 Oct 2010
6 answers
425 views
I created a project that has a MDI frame and a form. I run it and open the form in the MDI frame. It looks fine if it is not maixmized. But once the form is maximized in the MDI frame, then there is a not usable gray color space on  the bottom and right side of the form. I placed a gridview and I maximized the form, then still there is a gray space on the bottom and left side. I see it only the form is maximized.

What is happening? 

Ver : Rad Control Winform Q3 2009 Sp1
Emanuel Varga
Top achievements
Rank 1
 answered on 03 Oct 2010
2 answers
212 views
Hello,

We have notice a problem in DateTime Picker in latest version that  when year is typed it set the value of Date to blank....  
this seems to be introduced in latest build as this was not happen in previous build....

Thanks,
devoas
Emanuel Varga
Top achievements
Rank 1
 answered on 03 Oct 2010
1 answer
290 views
I am using Linq to pull data for grid, so properties has to be set by coding such as header text, cell format, and size.
I tried below code and it causes this error, "Object reference not set to an instance of an object."

Is there any way that I can set properties by coding before data is pulled?

  Private Sub frmEmployee_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        InitializeGridView()
    End Sub

Public Sub InitializeGridView() 
        Me.rgvEmployee.Columns("EMP_ID").HeaderText = "Man"
    End Sub
Emanuel Varga
Top achievements
Rank 1
 answered on 03 Oct 2010
2 answers
205 views

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:

What will happen to the old controls?

The old controls will be supported for at least one year after the release of Q2 2010. Users will nevertheless be encouraged to use RadPageView since it addresses the fundamental shortcomings of the previous controls.

Is upgrading to the new controls easy?

Upgrading from the old to the new control should be easy and painless, unless you have extended the previous controls with custom functionality. If this is the case, please contact Telerik support and we will help you move to the new version. We will also try to provide an automatic upgrade tool with Q2 2010 SP1.

Videos and instructions on how to upgrade from the old versions to the new control will be posted shortly.

How do I get support for the new controls?

To get technical support, either contact Telerik support or post in the PageView Forum.

Nikolay
Telerik team
 answered on 01 Oct 2010
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
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?