add dynamically tab panel and add the image button or button on the dynamically added tab and show like the internet explore tab
<p>I want to add a tab dynamically and also add a button or image button in the added tab. But when i add a but on the added tab the button show below the tab header text. I want that The header text of dynamic added tab and button show in single line i.e align horizontal. The code is given below.
Please suggest me.</p>

<pre><code>UserControl uscont = (UserControl)this.LoadControl("JQGrid.ascx");
                    TabPanel t = new TabPanel();                       
                    Button btnclose2 = new Button();
                    btnclose2.Text = "Xjkjlk";
                    btnclose2.ID = "btn" + id;
                    btnclose2.Click += new EventHandler(btnclose_Click);
                    btnclose2.CausesValidation = false;                        
                    PlaceHolder ph = new PlaceHolder();
                    t.Controls.Add(ph);
                    ph.Controls.Add(btnclose2);
                    ph.Controls.Add(uscont);                       
                    t.HeaderText = mybtn.Text;                      
                    newTabCon.BorderStyle = BorderStyle.Solid;                  
                    newTabCon.Tabs.Add(t);
</code></pre>
