?
Solved

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

Posted on 2004-08-11
4
Medium Priority
?
329 Views
Last Modified: 2008-02-01
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
Comment
Question by:noulouk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 63

Expert Comment

by:Zvonko
ID: 11772054
That is not a JavaScript problem. That is a Graphic Image Program work to be done.
0
 
LVL 63

Accepted Solution

by:
Zvonko earned 1000 total points
ID: 11772075
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
 
LVL 9

Author Comment

by:noulouk
ID: 11864538
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
 
LVL 63

Expert Comment

by:Zvonko
ID: 11865464
That's ok.
But the grad C is not OK.
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question