Hello,
I have an UltraWebGrid in a WARP, it is made to display the multiple choices from a search. This part works just fine, the data is gathered from the DB, and the ultraWebGrid displays it well. Just after the loading, I check the number of rows of the grid, and I see the exact number of rows at this point.
Under the grid, not in the WARP (but the bug happens whether the button is in the WARP or not), I placed a button which will display in labels the details of the selected ultraWebGrid line. The problem is that in the click event, I see an empty grid.
protected void ButtonAfficherRef_Click(object sender, EventArgs e){ this.FillLabels((string)this.UltraWebGrid1.DisplayLayout.ActiveRow.Cells[0].Value);}
In this part, ActiveRow is null, and this.ultraWebGrid1.Rows is also empty, just as SelectedRows. I don't do any DataBind() after the load of the Grid (I saw on the forums that the DataBind() empties the SelectedRows). The weirdest thing is that the UltraWebgrid has rows on display, but seems to have none in the code.
Do you have any clue on this problem?
Thanks,
Thomas
P.S: Please excuse my English, I post from France