Skip to content

Replies

0
Pete Sral
Pete Sral answered on Mar 11, 2016 1:10 PM

Object reference not set to an instance of an object. at Infragistics.Web.UI.DataSourceControls.WebHierarchicalDataSource.FindControlRecursive(Control root, String id)

0
Pete Sral
Pete Sral answered on Mar 11, 2016 1:08 PM

jQuery is referenced:

<link href="../../ig_res/Default/ig_shared.css" type="text/css" rel="stylesheet" />
<link href="../../ig_res/RedPlanet/ig_shared.css" type="text/css" rel="stylesheet" />
<link href="../../ig_res/RedPlanet/ig_dataGrid.css" type="text/css" rel="stylesheet" />
<link href="../../ig_res/RedPlanet/ig_dialogwindow.css" type="text/css" rel="stylesheet" />
<link href="../../ig_res/Default/ig_texteditor.css" type="text/css" rel="stylesheet" />
<link href="../../ig_res/RedPlanet/ig_hierarchicalDataGrid.css" type="text/css" rel="stylesheet" />
<link href="../../ig_res/RedPlanet/ig_webtab.css" type="text/css" rel="stylesheet" /><link href="../../Styles/Site.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../Scripts/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="../../Scripts/slide-footer.js"></script>

When the error is thrown, it fails on the client side and the first line happens to be a jQuery call and that is the message that IE displays.  The root of the problem seems to be in the binding, but, why does the grid do a postback when checking a checkbox (there are no event to trigger a postback).  Why the 2nd or 3rd check and not the checked item?

0
Pete Sral
Pete Sral answered on Dec 30, 2013 5:51 PM

I think it has to do with the paging style.  We bind only 20 rows; but, when the total count is over 60,000 we get this error.  If we use Infragistics.Web.UI.GridControls.PagerMode.NextPreviousFirstLast  then no error.  However, if you use Infragistics.Web.UI.GridControls.PagerMode.NumericFirstLast  or Infragistics.Web.UI.GridControls.PagerMode.Numeric.

0
Pete Sral
Pete Sral answered on Dec 30, 2013 5:45 PM

We are getting the same error…

at Infragistics.Web.UI.GridControls.GridRenderer.RenderContents(HtmlTextWriter writer) at Infragistics.Web.UI.Framework.RunBot.HandleRenderContents(HtmlTextWriter writer, RendererBase renderer) at Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.RenderContents(HtmlTextWriter writer) at Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)

Were you able to work around this or did you have to ditch the Infragistics control?