Quantcast
Viewing all articles
Browse latest Browse all 7205

How to use ASPxClientGridView GetSelectedKeysOnPage and GetVisibleRowsOnPage to manage row deletion on the client side

This example demonstrates how to use ASPxClientGridView.GetSelectedKeysOnPage and ASPxClientGridView.GetVisibleRowsOnPage to prevent a user from deleting all rows on a single grid page (if editing logic requires it).

To do this, you can compare the array length of keys obtained through GetSelectedKeysOnPage (returns keys only on a visible page) and the number of rows on a page obtained through GetVisibleRowsOnPage.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>