M
Mark Goldin
I'd like to run some script (on a client) when the user selects a node.
How do I do that?
How do I do that?
CMA said:in the navigation url field of the tree node put "javascriptrocess();" and
put the process() function in the page in <script> section.
so then it will be getting executed.
hope this helps,
CMA
CMA said:<body MS_POSITIONING="GridLayout">
<form id="ocx" method="post" runat="server">
<iewc:TreeView id="TreeView1" style="Z-INDEX: 102; LEFT: 337px; POSITION:
absolute; TOP: 114px" runat="server"
SystemImagesPath="/webctrl_client/1_0/treeimages/">
<iewc:TreeNode NavigateUrl="javascript:alert('1');"
Text="Node0"></iewc:TreeNode>
<iewc:TreeNode NavigateUrl="javascript:alert('1');"
Text="Node1"></iewc:TreeNode>
</iewc:TreeView>
</form>
</body>
when you click on the node, will excecute the javascropt. to your need,
include a javasript function name without using alert()
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.