hi all,
I want to check whether the ajax tab is empty, if there is nothing inside the ajax tab, I want to display "no content found" label message. My ajax tab is being populated dynamically in C# in this way:
public void BindChart()
{
//Create new TabContainer
AjaxControlToolkit.TabContainer container = new AjaxControlToolkit.TabContainer();
container.ID = "TabContainer";
container.EnableViewState = false;
container.Tabs.Clear();
AjaxControlToolkit.TabPanel panel = new AjaxControlToolkit.TabPanel();
panel.HeaderText += item.Text;
container.Tabs.Add(panel);Question: How to check if any ajax tab is empty/has no content then add in a label in that empty tab?
Thanks.