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

Firing both client & server-side 'Checked' events

1 Answer 24 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 04 Feb 2009, 07:17 PM
I am currently testing your earlier TreeView product.  Later this year I plan to upgrade my test project to your latest TreeView and then purchase a license from you.  So this question pertains to your newest TreeView:

I have a situation where I've implemented the checkbox feature in a fairly large tree.  The user uses this tree to assign rights to each user.  A necessary feature is that when one checks or unchecks a given node, all of the child nodes follow suit.  I know how to do this in both client-side and server-side code.  With the server-side version there is a noticeable delay (lag time) when the user sees the child nodes being checked/unchecked.

With your old treeview I could not get both client and server-side events to fire; one or the other but not both.  Has this been corrected with your latest version?

In case you're wondering, there has to be server-side code for this.  The TreeView in question is not in a modal dialog box but simply on the web page, along with other controls.  And to keep things as flexible as possible, the user has the ability (right) to move away from the page whenever they want.  So any checking/unchecking immediately has to be reflected in a Session data table.

My thinking is to fire the client-side code first, visually show the changes, but then also have the server-side code handle the behind-the-scenes stuff.

1 Answer, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 04 Feb 2009, 07:24 PM
My apologies, I forgot about "AutoPostBackOnCheck".  Once that's set to true, then both client & server events fire.

Tags
TreeView
Asked by
Robert
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Share this question
or