TabStrip With Multipage - Controls not rendering when Within RadGrid

10 posts, 0 answers
  1. Pratik
    Pratik avatar
    2 posts
    Member since:
    Feb 2012

    Posted 07 Feb 2012 Link to this post

    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.
  2. Paul Butler
    Paul Butler avatar
    7 posts
    Member since:
    Jan 2010

    Posted 22 Feb 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. John Fetherolf
    John Fetherolf avatar
    17 posts
    Member since:
    Sep 2008

    Posted 22 Feb 2012 Link to this post

    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.
  5. Paul Butler
    Paul Butler avatar
    7 posts
    Member since:
    Jan 2010

    Posted 22 Feb 2012 Link to this post

    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.
  6. John Fetherolf
    John Fetherolf avatar
    17 posts
    Member since:
    Sep 2008

    Posted 22 Feb 2012 Link to this post

    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.
  7. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 24 Feb 2012 Link to this post

    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.
  8. Alex
    Alex avatar
    2 posts
    Member since:
    Sep 2011

    Posted 29 Feb 2012 Link to this post

    Hi Guys, I have the same issue "

    TabStrip With Multipage - Controls not rendering when Within RadGrid

    "
    did you find a solution for it?

    Thanks
  9. Sytecsa
    Sytecsa avatar
    2 posts
    Member since:
    Oct 2010

    Posted 25 Apr 2012 Link to this post

    Im having the same problem, any update to solve this issue?
  10. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 27 Apr 2012 Link to this post

    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.
  11. Sytecsa
    Sytecsa avatar
    2 posts
    Member since:
    Oct 2010

    Posted 27 Apr 2012 Link to this post

    Hi Dimitar, I´ve solved this issue validating earlier if the data source is null

    Regards
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017