Home - Forums-.NET - FlyTreeView (ASP.NET) - CLIENT SIDE CHECKBOX EVENT

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

CLIENT SIDE CHECKBOX EVENT
Link Posted: 12-Dec-2006 09:09
Is there any way to capture the checkbox on/off event on the server at the time it occurs on the client?
Link Posted: 12-Dec-2006 09:32
Do you mean the FlyTreeView for ASP.NET 2.0?

Use the OnNodeEventJavascript handler to handle checked and unchecked events.

Also refer to
http://www.9rays.net/asp.net_2/treeview/Demo_ClientEvents.aspx
Link Posted: 12-Dec-2006 09:56
I apologize, yes FlyTreeView for ASP.NET 2.0.

I have seen the client code sample and the checkbox samples, but they do not handle my needs.

I want to be able to intercept a checkbox checked/unchecked in C# code when it occurs, not when another event occurs such as the NodeSelected as is the case with the NodeCheckedChanged event.

Or... can you tell me how to fire a NodeSelected event through Javascript on the client...if this is even possible.

Thanks
Link Posted: 12-Dec-2006 10:55
I want to be able to intercept a checkbox checked/unchecked in C# code when it occurs, not when another event occurs such as the NodeSelected as is the case with the NodeCheckedChanged event.

So what is the problem with NodeCheckedChanged event. It handles checkbox state change at server-side. Or what do you need to handle?


Or... can you tell me how to fire a NodeSelected event through Javascript on the client...if this is even possible.

Just call someNode.select() method.