This is a migrated thread and some comments may be shown as answers.

TabStrip With Multipage - Controls not rendering when Within RadGrid

9 Answers 184 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Pratik
Top achievements
Rank 1
Pratik asked on 07 Feb 2012, 05:50 PM
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.

9 Answers, 1 is accepted

Sort by
0
Paul Butler
Top achievements
Rank 1
answered on 22 Feb 2012, 03:12 PM
Hi...

I have the same sort of issue but my issue is within an ASPWizard control.

Does anyone have any idea how we should be fixing this?

Also, this issue is new to .net 4.0 assemblies or one of the later versions of RadControls cause I am only getting this with the newer controls. The required functionality works fine with the version I was using beforehand.

Any help would be appreciated.
0
John Fetherolf
Top achievements
Rank 1
answered on 22 Feb 2012, 05:02 PM
We are having the same issue as well.  We have a RadGrid in a RadTabStrip control, but have taken the RadGrid out of the TabStrip.  The Object Reference error that occurs after "Telerik.Web.UI.RadComboBox.OnInit()" still firing.  So, we believe the issue is related to the RadGrid pager.  This seems to have started with the Telerik.UI.dll 2011 Q2 release.

One additional note, we have a custom skin.

Any help would be appreciated.
0
Paul Butler
Top achievements
Rank 1
answered on 22 Feb 2012, 07:11 PM
I can confirm that the problem did not exist in v2010.2.929.40.

I have reverted back to that version for now until we have a proper solution.
0
John Fetherolf
Top achievements
Rank 1
answered on 22 Feb 2012, 07:59 PM
Just an FYI.  We tried upgrading from 2011 Q1 to 2011 Q2 when we noticed the issue for the first time.  Have been using 2011 Q1 for almost a year now with no issue.
0
Dimitar Terziev
Telerik team
answered on 24 Feb 2012, 02:02 PM
Hello guys,

We are not familiar with such problem with the latest version of our controls, so in order to troubleshoot it could any of you please open a support ticket and provide a runnable sample which could be debugged and tested locally?

Greetings,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Alex
Top achievements
Rank 1
answered on 29 Feb 2012, 06:16 PM
Hi Guys, I have the same issue "

TabStrip With Multipage - Controls not rendering when Within RadGrid

"
did you find a solution for it?

Thanks
0
Sytecsa
Top achievements
Rank 1
answered on 25 Apr 2012, 08:01 PM
Im having the same problem, any update to solve this issue?
0
Dimitar Terziev
Telerik team
answered on 27 Apr 2012, 11:53 AM
Hi Oskar,

As I've suggested in my previous post, please open a support ticket and provide a runnable sample so we could test it locally in order to identify the cause of the issue that you are experiencing.

Regards
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Sytecsa
Top achievements
Rank 1
answered on 27 Apr 2012, 04:29 PM
Hi Dimitar, I´ve solved this issue validating earlier if the data source is null

Regards
Tags
TabStrip
Asked by
Pratik
Top achievements
Rank 1
Answers by
Paul Butler
Top achievements
Rank 1
John Fetherolf
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Alex
Top achievements
Rank 1
Sytecsa
Top achievements
Rank 1
Share this question
or