Feature request GridviewComboBoxColumn

5 posts, 1 answers
  1. fbc
    fbc avatar
    11 posts
    Member since:
    Oct 2009

    Posted 22 Jun 2010 Link to this post

    I'd like to have 'SelectionChanged' event on GridViewComboBoxColumn, like it is on a 'normal' RadComboBox.
    /Flemming
  2. Answer
    Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 22 Jun 2010 Link to this post

    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
    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
  3. DevCraft banner
  4. fbc
    fbc avatar
    11 posts
    Member since:
    Oct 2009

    Posted 22 Jun 2010 Link to this post

    Yes, this will fulfill my needs, right now; I just find it so much easier to hook up an event  from xaml.
  5. Vinicius Maeda
    Vinicius Maeda avatar
    3 posts
    Member since:
    Jan 2010

    Posted 09 Sep 2010 Link to this post

    I tried convert the follow code to vb.net but I got a error (Bold selection)

    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'


  6. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 13 Sep 2010 Link to this post

    Hello Vinicius Maeda,

    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
Back to Top
DevCraft banner