iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Latest Development Blogs
ForumPostTopic
Browse By Tag
I created a simple sample of WebTreeView based on your description. The data source is a List and the treeview node is contructed on Page_Load event.
Following treeview events: Drag Drop, NodeMove, NodeAdd - are working as expected. Please have the attached sample evaluated on your end and let me know if you have different result.
Thank you Yudi for your reply.
I have modified your sample and just added AutoPostback setting for Add, Selected, DragDrop and Move. My application requires these server side events to display values in tabs.
Please go through the attachment (WebTreeview Sample Enhanced.zip) now you can see that None of functionality working correctly. Events are not firing.
Please let me know how your WebTreeview control works on postback.
Waiting for your reply. Thanks.
Regards,
Shailendra Singh
By enabling AutoPostBackSettings and specific action is executed (in this case: drag-drop, node add, node check changed, node delete, and node edit), WebTreeView will call specified event handler at server-side where developer can perform additional action based on that event.
Try to set PostBackModeType property to FlyPostBack to have advantages from both world. Event handler at server-side and client-side events are firing.
The changes can be seen in the following snippet code:
<ISWebTreeView:WebTreeView ID="WebTreeView2" runat="server" ... AllowAddNode="True" AllowDeleteNode="True" AllowNodeEditing="Yes" OnNodeSelectChanged="WebTreeView2_NodeSelectChanged" PostBackModeType="FlyPostBack"> <AutoPostBackSettings OnDragDrop="true" OnNodeAdd="true" OnNodeMove="true" OnNodeSelectChanged="True" /> <DragDropSettings AllowRootDrop="True" AllowChildDrop="True" AllowLeafDrop="True" AllowSiblingDrop="True" /> <NodeSettings EnableAnimation="True" /> <ClientSideEvents OnDragDrop="OnDragDrop" OnNodeMove="OnNodeMove" OnNodeAdd="OnNodeAdd" /> </ISWebTreeView:WebTreeView>
This should helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname