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
545
CellSelectionChanged event arguments are Nothing.
posted

What circumstances would cause the "Infragistics.Web.UI.GridControls.SelectedCellEventArgs" portion of the event arguments of the Cellselectionchanged event on a webdatagrid to be nothing?

  • 545
    posted

    the process that the page is going through is

    1: The data grid is rendered and assigned a full dataset as the datasource. The user can click in the datagrid and it will update a group of child controls for editing purposes correctly.

    2: User selects an account from a drop down list which gets a different dataset, clears the datagrids datasource and resets it to its defaults, then sets the new dataset as the datasource and rebinds the datagrid to the new dataset.

    3: The user selects a row in the datagrid to edit using the child controls and an error is thrown saying the selectedcelleventargs.currentselectedcells(0) is nothing.

    the same exact code used before the filtered data is set as the datasource is throwing the error for the filtered data.