it showed me the error :) in the educationInfoTab = tabStrip.FindTabByText("Academics Info");
i am using the telerik tab stip as wizard :)
similar to this example
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/wizard/defaultcs.aspx
the erro detils
System.NullReferenceException was unhandled by user code
Message=Object reference not set to an instance of an object.
Source=App_Web_e2z0fa1r
StackTrace:
at admin_support_files_addstudent_general.GoToNextTab() in
c:\Users\diamond\Desktop\work\site\admin\support_files\General_new_std.ascx.cs:line
25
at
admin_support_files_addstudent_general.nextButton_Click(Object sender,
EventArgs e) in
c:\Users\diamond\Desktop\work\site\admin\support_files\General_new_std.ascx.cs:line
18
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:
please help :)
private void GoToNextTab()
{
RadTabStrip tabStrip = (RadTabStrip)Page.FindControl("RadTabStrip1");
RadTab educationInfoTab = new RadTab();
educationInfoTab = tabStrip.FindTabByText("Academics Info");
educationInfoTab.Enabled = true;
educationInfoTab.Selected = true;
GoToNextPageView();
}