Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

Treeview webcontrol in ASP .NET : set width,height of ImageUrl,SelectedImageUrl,ExpandedImageUrl

Hi Experts,

I want to set height and width of my treeview images (16,16).
If for example my image is (96,96), my treeview is plus-minus aren't align.The treeview is built for (16,16) images,but doesn't verify if the image is at this size.
Thanks for telling me how to do.
0
noulouk
Asked:
noulouk
  • 3
1 Solution
 
ZvonkoSystems architectCommented:
That is not a JavaScript problem. That is a Graphic Image Program work to be done.
0
 
ZvonkoSystems architectCommented:
What I want to say, you can add html attributes to change the image dimensions, and you can even do it with a JavaScription function executed on page onLoad time.
But that all is done thousand a million times on browser side instead to be done once with appropriate Graphic Program and be stored with correct dimesions on server side.
0
 
nouloukAuthor Commented:
Thanks Zvonko, I found a solution by setting width and height in treeview.htc file which is written in javascript.
But you are right. The best way is to modify and customize the source code of the ie treeview to get what I want.
0
 
ZvonkoSystems architectCommented:
That's ok.
But the grad C is not OK.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now