Dynamically add tab
Can You please tell me how to add tab in tab container dynamically when i click on Add Button?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sam HobbsRank #107 · 20.5K reputationPosted Oct 22, 2011, 6:21 AM EDT
There are very many useful articles in this web site; have you looked for one that answers your query?
Is this for Windows Forms application? It helps to put Windows Forms questions in the Windows Forms forum. I will assume that this is a Windows Forms question.
An easy way to find sample code such as that is to look at the code generated in the designer.cs file; Windows Forms applications generate controls dynamically in the designer.cs file.