Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 9th, 2004, 08:38 AM
Registered User
 
Join Date: Jan 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems formatting MS Treeview control

I've been able to populate the MS Treeview control properly, but I'm having trouble getting it to look the way I want.

The treeview control is placed inside a table, and I would like the text of the nodes to wrap around if it is too long. I've tried doing this by setting the width of the treeeview, which didn't work. Setting the width of the node will only cut off the text, rather than have it wrap around.

Also, I'm having problems setting the indent spacing of the nodes (TreeView.Indent) programattically. Setting the property doesn't seem to do anything, but other properties that I set in the same method seem to work fine.

Has anyone had any luck doing what I'm trying? Thanks.

 
Old September 10th, 2004, 01:44 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr
Default

Look at the sample code

http://www.codeguru.com/Cpp/controls...cle.php/c3987/






Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting TreeView AspDotNetProgrammer ASP.NET 2.0 Basics 0 August 10th, 2007 05:31 PM
MS Data Grid control in ms access application roshla_p Access VBA 5 October 16th, 2006 02:37 AM
Column Sorting/Formatting in MS Datagrid! ao7711 C# 1 July 13th, 2006 02:32 PM
Treeview Checkbox Problems lagyossarian ASP.NET 2.0 Basics 0 April 11th, 2006 05:49 PM
TreeView Formatting Questions Aaron Edwards ASP.NET 2.0 Basics 3 December 27th, 2005 06:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.