ServiceBusExplorer icon indicating copy to clipboard operation
ServiceBusExplorer copied to clipboard

EventHub Partition Listener - Event Custom Properties displayed only on first use

Open DelS-AGL opened this issue 1 year ago • 1 comments

There is a problem with this use case:

  • open partition listener window
  • set starting date/time
  • Start and wait a few seconds, then Stop
  • View Events tab: Event Custom Properties are displayed - all good
  • Click Clear, then Start for a short time then Stop
  • Event Custom Properties are no longer displayed

If a new Listener is created, the information is again displayed correctly (first time)

DelS-AGL avatar Sep 28 '23 04:09 DelS-AGL

This has to do something with re-populating the ListView control used for custom properties. I'm not sure why it's not refreshing an my knowledge of WinForms is quite limited to answer the question. I've tried wrapping the change of the items with .BeginUpdate() and EndUpdate() but that doesn't help.

SeanFeldman avatar Oct 10 '23 06:10 SeanFeldman