This is a migrated thread and some comments may be shown as answers.

[Solved] GridViewRow.EditEndedEvent

1 Answer 97 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeff
Top achievements
Rank 1
Jeff asked on 26 Jan 2009, 10:41 PM

In one of your samples, you add a handler for the grid row Edit.EndedEvent.  We use VB, and we cannot get this to work.  VisualStudio is complaining that EditEndedEvent is not part of GridViewRow.

 

this

 

.RadGridView1.AddHandler(GridViewRow.EditEndedEvent, new EventHandler<RecordRoutedEventArgs>(this.OnEditEnded));

 

 

Please provide an example of this in VB.

Thank you very much.
Jeff

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 27 Jan 2009, 07:36 AM
Hi Jeff,

Here is the VB version:

RadGridView1.AddHandler(GridViewRow.EditEndedEvent, New EventHandler(Of RecordRoutedEventArgs)(AddressOf EditEnded))

You need also following imports:

Imports Telerik.Windows
Imports Telerik.Windows.Controls
Imports Telerik.Windows.Controls.GridView.Rows
Imports Telerik.Windows.Controls.GridView


All the best,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Jeff
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or