how to define Documentcontent is open or not?

Jan 13, 2012 at 3:34 AM

How can one define Documentcontent is open or close. In a menu when I click menu 10 times, the same window open 10 times in the different tab. If the document is already open should not be open again and open document is set active again.

for ex:

I have menu,

1. Order2. Invoice

When the use click Order, usercontrol will open in the tab. Again user click Invoice it will open in the another tab perfectly. Now the user try to open Order in the menu. Already Order is opened so it will not re-open again in the tab, Already Opened Order tab will be Set Active.

How can I do this?

thank in advance