Hi Telerik,
I have a radtreeview which is dynamically binded to database. Following is the table structure:
AreaId | ParentAreaId | AreaName | IsRoomLevel | IsExpanded
1. When the treeview is generated, I want to assignment the "OnNodeClick" event only to the nodes whose attribute IsRoomLevel = 'True', i.e. not all the nodes can trigger the OnNodeClick event. How to achieve this?
2. When the "OnNodeClick" event is on, the nodes cannot be double clicked to expand or shrink because the page will refresh when the node is clicked.
3. I want to save the status of the treeview, i.e. the expend status of each node. But it is not efficient if I save the status of all the nodes to the database every time the their status are changed.
Any suggestions for these three questions? Thanks!
Best regards,
Hank
I have a radtreeview which is dynamically binded to database. Following is the table structure:
AreaId | ParentAreaId | AreaName | IsRoomLevel | IsExpanded
1. When the treeview is generated, I want to assignment the "OnNodeClick" event only to the nodes whose attribute IsRoomLevel = 'True', i.e. not all the nodes can trigger the OnNodeClick event. How to achieve this?
2. When the "OnNodeClick" event is on, the nodes cannot be double clicked to expand or shrink because the page will refresh when the node is clicked.
3. I want to save the status of the treeview, i.e. the expend status of each node. But it is not efficient if I save the status of all the nodes to the database every time the their status are changed.
Any suggestions for these three questions? Thanks!
Best regards,
Hank