We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PopupMenu _BeforePopup event not fired all the times - MutliThreaded Application

Thread ID:

Created:

Updated:

Platform:

Replies:

38035 Dec 5,2005 09:53 AM UTC Mar 20,2006 05:11 PM UTC WinForms 3
loading
Tags: Tools
Badri Rajani Kanth
Asked On December 5, 2005 09:53 AM UTC

Hi, I am using Synchfusion controls v 3.2.1.0. In our application, I have a form in which I have used XPMenus.PopupMenu. This form is called from multiple screens of the application. Also from other context menus and toolbar menus. Now there exists problem when this form is called from one particular sequence. PopupMenu _BeforePopup event is NOT fired i that sequence. I have checked form code. Execution steps are same as always the form entry point is one public method and input values are also same. On difference I think is threads. As our application is multi threaded, it is possible that each sequnce has a different thread. So, we are unable to identify how to identify problem. Can any one throw light on this? Rgds Rajani Kanth

Administrator [Syncfusion]
Replied On December 7, 2005 05:53 AM UTC

Hi Rajani, Our apologies for the delayed response.I have tested for this issue with v3.3 and was not able to see the problem.I have attached the sample used for testing.Please modify the sample to show us the problem and send it back to us so that we can investigate it. Thanks for your patience. Regards, Ebenezer.P

Popup0.zip

Badri Rajani Kanth
Replied On December 7, 2005 12:21 PM UTC

Hi, My problem is same as one listed in http://64.78.18.34/Support/Forums/message.aspx?MessageID=29562 http://64.78.18.34/Support/Forums/message.aspx?MessageID=15847 But in my case the event "popmenu_BeforePopup(object sender, CancelMouseEventArgs e)" is never fired when I open model dialog from context menu. Even setting "popmenuTextbox.SynchronousPopup = false;" doesnt make any difference. I am still not getting menu. What to do? Rgds Rajani Kanth >Hi Rajani, > >Our apologies for the delayed response.I have tested for this issue with v3.3 and was not able to see the problem.I have attached the sample used for testing.Please modify the sample to show us the problem and send it back to us so that we can investigate it. > >Thanks for your patience. > >Regards, >Ebenezer.P > >

Popup0.zip

Badri Rajani Kanth
Replied On March 20, 2006 05:11 PM UTC

Hi, Can any of you plz look into this issue again. Recently we have found that PopUpmenu control has memory leaks, raised issue and got a patch for that. But still, we are unable to work with _BeforePopup event(as it is never raised) in screens where there thread switches. I mean screen will be created on main thread, some methods(doing heavy processings) are done using worker threads, after that again screen will be running on main thread. Only in these screens we have this problem. We have temporary work arounds, still want to fix problem with _BeforePopup forever. Rgds Rajani Kanth

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;