Solved

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

Posted on 2004-08-11
4
315 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
  • 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 500 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now