Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We are developing a windows based application using .NET 3.5 SP1. We have a form on which we have placed the panel control. First part of the panel displays the link of the form which needs to be opened in the right side panel.
The problem is that, when the form is opened by clicking the left side panel link on to the panel, the form is displayed on the right side panel. However, the right click feature is not working on the form which is opened in the right side panel.
Interesting part is that, if we open the form from the left side panel by using the right click option (pop-up). Then the right click works. Can anyone please let me know if you have ever encountered this issue? And If yes, then what is the cause and a fix for it..

we are using following code to add controls to panel:
form1 f1 = new form1();
f1.topLevel=false;
f1.show=true;
panel1.controls.add(f1);

Thanks.
Posted
Updated 7-Jun-10 20:51pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900