• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • 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

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

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