Hello all,
In our UltrawebGrid, we have several columns with the first one being a checkbox. We need this checkbox to allow a user to select which row he/she wishes to print. Unfortunately, I needed to set "Autopostback" to true or else, upon clicking the "Print" button, it does not detect any checkboxes being checked.
Our UI allows a user to select up to 100 rows per page and when attempting to click multiple checkboxes, there is a pause and results with an "Type is not resolved for member" warning. Our users will not accept this.
What I really need is to capture the selected rows without the postback when a checkbox is checked/unchecked.
Thank you,
Peter
hi Peter ,
even i have same issue with checkbox.
onclick of first checkbox ,response is very slow ,am having a foreach loop inside the client side function.
Hi Peter,
It has been a while since your post but in case you still need help I would be glad to assist you.
The state of an UltraWebGrid column of type checkbox is kept in the value property. For your implementation you could iterate through your rows on the client and keep the indeces of the checked boxes in some control's tag (so the values can be persisted and passed to the server) prior to initiating the postback. A similar approach would be to "build up" a list of indeces by using the CellClick event of the grid.
To check the value of a cell client-side, you can use code similar to:
igtbl_getGridById("UltraWebGrid1").Rows.getRow(0).getCell(2).getValue()
Please contact me if you have any questions.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support