Click here to Skip to main content
15,912,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have 3 tab(tab page1, tab page2, tab page3) page in a single tab control and i have 3 buttons.i want to open tab page1 on button1 click, and open tab page1n button2 click and so on.
but condition is that when user click button1 then tab page1 and tab page2 should not be display and when user click button2 then tab page1 and tab page1 should not be display and so on. plz help me as soon as possible
thank you!
Posted
Comments
Thomas Daniels 30-Oct-13 5:34am    
Are you using Windows Forms? WPF? ASP.NET?
arvindnitin7 30-Oct-13 5:39am    
Windows Form
What have you tried so far? Where exactly is the problem in coding?
BillWoodruff 30-Oct-13 6:00am    
Please take the time to improve your question if you want responses.

You state, now, that two different buttons will cause TabPage1 to be displayed; that's probably an error.

Also, the way the TabControl works is to only display one TabPage at a time, so your talking about how you don't want certain TabPages to display just doesn't make sense.
priya.priya503 30-Oct-13 7:56am    
please improve your question....

i am not understand properly.

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