show contect menu on rightclick listview items

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hi,

With version 1.3.23 the following code worked fine.

   Private Sub ListView_MouseRightClick(sender As Object, e As Wisej.Web.MouseEventArgs) Handles ListView.MouseDown
        If e.Button = MouseButtons.Right = True Then
ContextMenu.Show(Cursor.Position)
End If
    End Sub

After upgrading to any later version  it stopped working.

Is there a way to fix this?

 

b.t.w. EnableNativeContextMenu = True

 

 

  • You must to post comments
0
0

Hi Wies,

can you please retry with our latest release (1.3.44).

Thanks in advance.

Best regards
Frank

  • You must to post comments
0
0

The problem is in Details view correct? It seems to work fine in Icon View.  It’s related to the stopping of the event bubbling. It should be in the dev build coming up today.

  • You must to post comments
0
0

Just installed 1.3.43. Right mouse click in listview still not working. Is there something i should change?

  • You must to post comments
0
0

Got it. It was working in .23 because all bubbled events were dispatched, causing multiple keyboard and pointer events to go to containers since browsers bubble up events, when you clicked on a button, the click was also fired on all the containers all the way up.

Now the events are fired only to their original target. But we have composite widgets (like the ListView) where some event have to bubble. Logged as WJ-8111. Should be fixed quickly.

  • You must to post comments
0
0

Yes,  in details view

  • You must to post comments
0
0

In Details view?

  • You must to post comments
Showing 6 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json