4 Answers, 1 is accepted
0
Accepted
Hi Flemming Clausen,
Please have a look at point 3 in my blogpost. I believe it offers a solution .
Regards,
Pavel Pavlov
the Telerik team
Please have a look at point 3 in my blogpost. I believe it offers a solution .
Regards,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Flemming
Top achievements
Rank 1
answered on 22 Jun 2010, 02:48 PM
Yes, this will fulfill my needs, right now; I just find it so much easier to hook up an event from xaml.
0
Vinicius Maeda
Top achievements
Rank 1
answered on 09 Sep 2010, 09:22 PM
I tried convert the follow code to vb.net but I got a error (Bold selection)
C#
VB.Net
The error that I got is:
'SelectionChangedEvent' is not an event of 'Telerik.Windows.Controls.RadComboBox'
C#
this
.AddHandler(RadComboBox.SelectionChangedEvent,
new
Telerik.Windows.Controls.SelectionChangedEventHandler(comboSelectionChanged));
VB.Net
AddHandler
RadComboBox.SelectionChangedEvent,
AddressOf
comboSelectionChanged
Private
Sub
comboSelectionChanged(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.Windows.RadRoutedEventsArgs)
The error that I got is:
'SelectionChangedEvent' is not an event of 'Telerik.Windows.Controls.RadComboBox'
0
Hello Vinicius Maeda,
Here is some working code I have tested in VB :
Let me know in case you have any troubles implementing this.
Regards,
Pavel Pavlov
the Telerik team
Here is some working code I have tested in VB :
Imports
Telerik.Windows.Controls
Imports
Telerik.Windows
Partial
Public
Class
MainPage
Inherits
UserControl
Public
Sub
New
()
InitializeComponent()
Me
.
AddHandler
(RadComboBox.SelectionChangedEvent,
New
Telerik.Windows.Controls.SelectionChangedEventHandler(
AddressOf
comboSelectionChanged),
True
)
End
Sub
Private
Sub
comboSelectionChanged(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.Windows.RadRoutedEventArgs)
MessageBox.Show(
"Selection changed"
)
End
Sub
End
Class
Let me know in case you have any troubles implementing this.
Regards,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items