C1Menu click not firing

Posted by: marlonschreiber on 10 September 2017, 11:44 am EST

  • Posted 10 September 2017, 11:44 am EST

    Hi I got a C1Menu with just one item! But I don't get the event to fire?
    Protected Sub C1Menu1_ItemClick(sender As Object, e As C1.Web.Wijmo.Controls.C1Menu.C1MenuEventArgs) Handles C1Menu1.ItemClick
    Dim menuItemRef As C1MenuItem
    menuItemRef = e.Item
    Me.TextBox1.Text = menuItemRef.Text + " Clicked"
    Me.TextBox1.Text = e.Item.ID
    End Sub

    How comes? Can somebody help?

  • Replied 10 September 2017, 11:44 am EST

    Hello,

    ItemClick is a server-side event so you need to set the AutoPostBack property of C1Menu to true.

    Regards
    Ashish
  • Replied 10 September 2017, 11:44 am EST

    Thanks Ashish that's it!
    Regards!
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels