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
260
Selected Row
posted

Hi , i'am trying to get the selected row in a ultrawebgrid, i'm using the event SelectedRowsChange, but it always throw an exception this rhe code:

protected void uwgDocumentos_SelectedRowsChange(object sender, Infragistics.WebUI.UltraWebGrid.SelectedRowsEventArgs e)

    {

        string i = string.Empty;

 

        i = e.SelectedRows[e.SelectedRows.Count].Cells[0].Text;

       

    }

the exception is nullReferenceException, it seem that there is no row selected or something like that, please i really need help with this. thanks