Hi Telerik
I am creating Dynamic Rad Strip which is having 3 Rad Tabs namely "Newly Added", "Popular", "Create New". Now I have one button in Rad Tab1(Newly Added) by clicking which, I want to be in Rad Tab3(Create New) enable. I am following your "Wizard" example that switches to the next tab. But in my case, when I am hitting the Button the Error "Object reference not set to an instance of an object" is giving in the line having red color.
private void GoToNextTab()
{
try
{
RadTabStrip tabStrip = (RadTabStrip)Page.FindControl("ForumRadTabStrip");
RadTab professionalInfoTab = tabStrip.FindTabByText("Create New");
//LinkButton1.Text = tabStrip.FindTabByText("Newly Added").Text;
//professionalInfoTab.Enabled = true;
//professionalInfoTab.Selected = true;
}
catch (Exception ex)
{
LinkButton1.Text = ex.Message;
}
}
Why this is happening?
Regards,
Chandan