PDA

Click to See Complete Forum and Search --> : [RESOLVED] different panels in form


kumar_1981
Jan 2nd, 2007, 12:30 PM
Hai

i want to display different panels depending on Authentication to user. the panel is completely different so as to draw three different panels. what is the best approach i can go for

please send me if u have any suggestions


Thanks and Regards
Vinay Kumar

jmcilhinney
Jan 2nd, 2007, 05:39 PM
You can either do exactly as you said and use multiple Panels all on the form at the same time, or else use UserControls and only have the one you need at any one time on the form. The former is easier at design time because you can manipulate all controls directly in the form. The latter is better at run time because there are fewer controls on the form at any one time so it will run more efficiently.

kumar_1981
Jan 2nd, 2007, 11:31 PM
Thanks for your ideas. i am going with user Controls for different panels.



Thanks and Regards
Vinay Kumar