treeview onclick?

J

John Smith

I have the following problem:

An asp.net treeview for which an initial set of nodes is retrieved and
subsequently on expand the child nodes are retrieved.

For the initial set of nodes asp.net produces a 'javascript:eek:nclick()' in
the anchor element of each of these nodes that allows getting the selected
node later, the automagic onclick handler 'remembers' the selected node
for later use and is generated by asp.net (webresource.asd or something
like that).

For the childnodes retrieved later asp.net does not produce this automagic
onclick handler.

How can I make these childnodes have this automagic onclick handler as well,
without resorting to filtering and patching the response towards the client?

Many thanks in advance for any help.
 

Ask a Question

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.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top