Server Error in '/' Application.

Specified argument was out of the range of valid values.
Parameter name: value

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value

Source Error:


Line 47:             Case "QRCodeSetup"
Line 48:                 Pnl = container.FindControl("QRCodeSetup")
Line 49:                 container.ActiveTab = Pnl
Line 50:             Case "Merge"
Line 51:                 Pnl = container.FindControl("Merge")

Source File: E:\web\glidersc\MainMenu.aspx    Line: 49

Stack Trace:


[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value]
   AjaxControlToolkit.TabContainer.set_ActiveTab(TabPanel value) in d:\hg\act\Server\AjaxControlToolkit\Tabs\TabContainer.cs:196
   ASP.mainmenu_aspx.OnLoad(EventArgs e) in E:\web\glidersc\MainMenu.aspx:49
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0