Hello,

i am having treeview control say Numbers(Parent node) under this i have numbers say 1,2,3,4,5...

I have several methods in my projects for each numbers 1,2,3,...

I just want to know how to get the click event for each child node? ie. When i click on 1 my method should execute..ex: I want to know how to get the below :..

protected 1_click(obj... event e)
{
mymethod();
}

Guys awating for ur early response...

Thanks,

Rohan

In button tag in the page add the following: onclick="1_click"

This will call the event handler 1_click() when the button is clicked.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.