ie treeview images problem ...

A

Andrew

hi,
i try to use the i.e. treeview download from asp.net , but i have got
a very huge problem ...
i've some nodes that present text on two lines and so the size of the
node is higher that the default 20px .... the result is that i have space
between images of my tree ... for example between the t.gif images....
i try to replace the t.gif with an image of 30 px height but the result
is a stretched image ....
what can i do ??? suggestion ? ideas ?
thanks much
andrew
 
A

Andrew

i found a solution ...
i need to modify the size of the element in the file treeview.htc ....
like this

//junctionNode = element.document.createElement("<IMG
align='absmiddle' border='0' class='icon' name='junction'>");
junctionNode = element.document.createElement("<IMG
align='absmiddle' border='0' height='28px' name='junction'>");
junctionNode.src = imageSrc;
junctionNode.height = 28;

then i've modified the iamges in the treeimages folder ...
thanks
andrew
 

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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top