asp.net - Gridview losing changes made via Javascript on postback -


i have gridview bind data to. have checkboxes on each row of gridview use delete records via javascript. delete works good. problem have when postback on page, deleted records reappear. i'm assuming viewstate issue.

how can javascript deleted rows stay deleted on postback?

you have databind grid again on postback fresh datasource, not contain deleted items ! if datasource contains old items, show again.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -