[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2004-08-11
4
Medium Priority
?
332 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 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
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

834 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