This is a migrated thread and some comments may be shown as answers.

Autopostback of checkboxes in TreeView

1 Answer 52 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Joan Adams
Top achievements
Rank 1
Joan Adams asked on 15 Dec 2008, 09:58 AM
What is the preferred method of autopostbacking when checkboxes are checked/unchecked in the TreeView? Obviously doing a full postback is not acceptable and putting the tree in an update panel seems like overkill/slow/etc. Is there a built-in lightweight method of saving the checkbox states to the database as they are changed?

Thanks

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 15 Dec 2008, 06:03 PM
Hello Joan Adams,

You could handle the OnClientNodeChecking client-side event of the TreeView and using a RadAjaxManager to perform an AJAX callback to the server.

I hope this gets you started.

Regards,
Simon
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
Joan Adams
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or