| |

VerySource

 Forgot password?
 Register
Search
View: 627|Reply: 4

IEWebControl's TreeView client adds Node how to get the added node on the server

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-2-1 18:40:01
| Show all posts |Read mode
JavaScript script
 var node = TreeView1.createTreeNode ();
 node.setAttribute ("Text", "Node");
 TreeView1.add (node);

How can I get this node on the server side, depressed.
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-18 09:00:02
| Show all posts
Not directly available on the server. You can add a HIDE or add a hidden text box to get it.
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-3-18 15:45:01
| Show all posts
It is better to add on the server side.

Or put some information in hide. Page_load is increased on the server side according to the value of hide.
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-5-27 16:45:02
| Show all posts
Is it possible to get the server side through the JS script plus the XML node <TREENODE> [I have n’t experimented temporarily]

To: the first 2 Xiongtai
If you put the Hide domain, you have to deal with too many things. For example, under that node, etc. related information.
Especially when deleting is added and deleted (it is processed N times back and forth), it is even more depressed.

Before resolving this issue, submit the request to the server for execution.
For a friendly user experience, workload has skyrocketed.
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-8-11 12:00:02
| Show all posts
Currently feasible method
Extend the source code of treeView to handle OnAdd and OnRemove events in it
The processing method refers to the OnChecked\OnExpand structure.
The details are still under consideration.

thank:
wenkemars
shenmue024
Suggestions.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list