Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

I am working on a Institutes Management System. In my current UI i have used a TabControl having 5 tabs. One of my tab is search tab in which I search the DB and populate a grid view.

On clicking a student name in the grid view i have to show all the information of that student. I can show that information in a new tab but the problem is if the user clicks on multiple students should I create multiple tabs or a single tab with multiple child windows in that Tab.

I don't whether the latter case is even possible or not ?

But need your help on this.

bottom line is I have to show records of multiple students. How I should approach this ? help me :D

PS: I have searched the internet and I know MS discourages MDI.
Posted

You can always create new tabs if you want to avoid MDI forms.
Just as an example, Internet Explorer or other browsers support multiple tabs and many tabs can be opened together.

Note: Having tabs and MDI's together might be a little confusing to the user anyway.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 3-Jan-11 1:45am    
Abhinav, you're right about having MDI + tabs. However, the combination is not so much confusing as MDI itself. The arguments about inconvenience of MDI are quite convincing.
Sergey Alexandrovich Kryukov 3-Jan-11 2:23am    
Anyway, I voted 5.
Create a tab per student. To avoid confusion, thoroughly devise what to put in the tab's title -- the only visible part of a non-current tab.

You cannot create child window in a tab, only FrameWorkElement children (Controls, in particular) -- don't do it: it will be too confusing.

By all means, don't use MDI, not just because it is discouraged by Microsoft where this style was created. The arguments about inconvenience of MDI are quite convincing.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 3-Jan-11 1:53am    
Do you need any help of Tab Control techniques? They are fairly simple for those having basic experience with WPF...
Phan7om 4-Jan-11 12:24pm    
Hi SAKryukov

I've decided to use tabs and I think google will be able to solve all the problems. Thnx for the help, but still if i find any difficulties I will bug you :)
Sergey Alexandrovich Kryukov 4-Jan-11 12:59pm    
Phan7om,
You're welcome.
(I've already given some advices on navigation here. Clear design is the key.)
If you decide on tabs, will you please also formally accept the answer?
Thank you.

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