Click here to Skip to main content
15,071,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am Using tree view control of asp.net
there are 2 problems:

1) using table to place tree view and when I expand it the tree view goes down I want to fixed the height if tree view grows so it should grow in specific td or area and there should be scroll bar to go down. I need to handle this else it pushes whole page down and my save button also goes down because of if I fixed the area or td of tree view so it will grow up in its particular region and rest of layout remain on it place

2)There are Check-boxes in tree view in this hierarchy
Grand Father -->Father -->Child
All with check boxes.
When user click on check box with the help of JavaScript I use onclick to use _dopostback to use "check change event of tree view" to do some functionality. Problem is How can use Update Panel properly as we use ...


This function Onclick onntreeview
JavaScript
function postBackByObject()
{
    var o = window.event.srcElement;
    if (o.tagName == "INPUT" && o.type == "checkbox")
    {
       __doPostBack("","");
    }
}




Need Help Because Deadline Of Project Coming Close
Posted
Updated 9-Dec-10 10:15am
v3
Comments
fjdiewornncalwe 9-Dec-10 14:42pm
   
Just added pre tags to the source block. Cheers.

1 solution

Hi ,

You keep the treeview inside a panel . And set some hieght and scroll bar there.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900