Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
Object reference not set to an instance of an object
posted

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

I have a webdatagrid Infragistics NetAdvantage 2011.2 defined as follows

<asp:UpdatePanel ID="up_gridCustomers" runat="server" ChildrenAsTriggers="False" UpdateMode="Conditional">
<ContentTemplate>
<ig:WebDataGrid ID="uwg_gridCustomers" runat="server" Height="300px" StyleSetName="XSALESNRO1" StyleSetPath="~/ig_res" AutoCRUD="true"  Width="800px" DefaultColumnWidth="100px" AutoGenerateColumns="True">                                                                                           
 <Behaviors>      
<ig:Selection RowSelectType="Single" Enabled="true" />                                                                                  
<ig:Paging PagerAppearance="Bottom" PageSize="50" Enabled="true" />
<ig:RowSelectors Enabled="true" RowNumbering="true" />
<ig:ColumnMoving Enabled="true" />
<ig:ColumnResizing Enabled="true" />
<ig:Filtering Alignment="Top" Visibility="Visible" Enabled="true" AnimationEnabled="true" />
<ig:Sorting SortingMode="Single" Enabled="true" />                                                                                                                                                                                       
<ig:VirtualScrolling Enabled="true" ScrollingMode="Deferred" />
</Behaviors>                                                                                           
</ig:WebDataGrid>                                                                                                                                                                           
</ContentTemplate>
</asp:UpdatePanel>

 

When I select a row I works perfect.

But when I select a cell and then pressed link_button any object that has a process for the server side it generates the following message

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

 

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

- <Errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <Procedure>/content/editTablesCustomers.a</Procedure>

  <Date>2/13/2012 2:38:58 PM</Date>

  <Message>Object reference not set to an instance of an object.</Message>

  <StackTrace>at Infragistics.Web.UI.GridControls.Selection.LoadPositionalProperty(Int32 index, Object value) at Infragistics.Web.UI.Framework.ObjectBase.LoadClientPropsTransactionList(Dictionary`2 list) at Infragistics.Web.UI.GridControls.Selection.LoadClientPropsTransactionList(Dictionary`2 list) at Infragistics.Web.UI.Framework.ObjectBase.LoadTransactionList(Boolean deferLoadPostDataProcessing) at Infragistics.Web.UI.Framework.ObjectBase.Infragistics.Web.UI.IClientState.LoadTransationList(Boolean deferLoadPostDataProcessing) at Infragistics.Web.UI.GridControls.GridBot.LoadClientObjectsTransactionList() at Infragistics.Web.UI.Framework.RunBot.HandleRaisePostDataChangedEvent() at Infragistics.Web.UI.GridControls.GridBot.HandleRaisePostDataChangedEvent() at Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.RaisePostDataChangedEvent() at System.Web.UI.Page.RaiseChangedEvents() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</StackTrace>

  </Errors>

 

Be possible that can help me on how to solve this problem?


Parents
  • 49378
    posted

    Hi edgutol,

    Thank you for posting in the community.

    I have tested the code you have provided using version 11.2.20112.1019 but am so far unable to replicate the described behavior. I assume that the link button you are referring is the page links. Please let me know if this is not the case.

    In order to investigate this further I would appreciate a small sample page illustrating the scenario. Note that the matter may alos be related to the manipulations done to the grid server-side.

    Do not hesitate to contact me if you have any questions.

Reply Children