Posted
on Feb 7, 2012
(permalink)
Hi,
I have a RadGrid within which I use Tabstrip with Multipage as Edit FormTemplate. But when I Change the tabs (OnTabClick) its throws an Object Reference Error.
Below is the stack Trace of the errror
Source: System.Web
Message: Exception of type
'System.Web.HttpUnhandledException' was thrown.
Stack trace: at
System.Web.UI.Page.HandleError(Exception e) at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) at
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at
System.Web.UI.Page.ProcessRequest(HttpContext context) at
ASP.assetresource_manageresource_aspx.ProcessRequest(HttpContext context) in
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET
Files\root\1d05cdea\b7de89b2\App_Web_d4fj34vj.0.cs:line 0 at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
Inner Exception
Source:
Telerik.Web.UI
Message: Object reference not set to an instance of
an object.
Stack trace: at
Telerik.Web.UI.RadComboBox.OnInit(EventArgs e) at
System.Web.UI.Control.InitRecursive(Control namingContainer) at
System.Web.UI.Control.AddedControl(Control control, Int32 index) at
System.Web.UI.ControlCollection.Add(Control child) at
Telerik.Web.UI.GridPagerItem.InitializePagerItem(GridColumn[] columns) at
Telerik.Web.UI.GridPagerItem.SetupItem(Boolean dataBind, Object dataItem,
GridColumn[] columns, ControlCollection rows) at
Telerik.Web.UI.GridTableView.CreateTopPagerItem(Boolean useDataSource,
GridColumn[] copiedColumnSet, Boolean isPagingEnabled, GridTHead thead) at
Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) at
Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean
useDataSource) at
System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() at
System.Web.UI.Control.EnsureChildControls() at
Telerik.Web.UI.GridTableViewBase.get_Controls() at
Telerik.Web.UI.GridTableView.GetGridTable() at
Telerik.Web.UI.RadGrid.PrepareRowsVisibility(GridTableView view) at
Telerik.Web.UI.RadGrid.PrepareItems() at
Telerik.Web.UI.RadGrid.ControlPreRender() at
Telerik.Web.UI.RadCompositeDataBoundControl.OnPreRender(EventArgs e) at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)
Probably the multipage controls are not yet intiated at the time of tabclick. Not sure how this can be resolved. I am using stable release of Telerik Q3 2011
Any support/help is appreciated. Let me know if anyone needs markup/codebehind pasted over here.
Regards,
Pratik.