473,320 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ASP.NET Treeview control...

I am using a treeview control for data display, and am having a bit of a hard
time getting the thing styled the way I need it. There appears to be empty
rows added in between the tree nodes, causing a (1+1) 2px 'gap'......I
noticed in the rendered markup that the height is set to 0px in the style
attribute, but it seems to be ignored.

I have removed all of my style sheets, emptied cache, start w/blank pages,
etc. Testing on IE 6.0 and FF 1.5...

Any ideas on how to remove this annoying spacing (and no, VerticalPadding
did not change anything - just made it bigger)....

TIA...
Feb 1 '06 #1
2 1022
Michael are you using Treeview webcontrol ver 1.1 or 2.0
And try posting to the webcontrol news group
Patrick


"MichaelY" <Mi******@discussions.microsoft.com> wrote in message
news:EB**********************************@microsof t.com...
I am using a treeview control for data display, and am having a bit of a hard time getting the thing styled the way I need it. There appears to be empty rows added in between the tree nodes, causing a (1+1) 2px 'gap'......I
noticed in the rendered markup that the height is set to 0px in the style
attribute, but it seems to be ignored.

I have removed all of my style sheets, emptied cache, start w/blank pages,
etc. Testing on IE 6.0 and FF 1.5...

Any ideas on how to remove this annoying spacing (and no, VerticalPadding
did not change anything - just made it bigger)....

TIA...

Feb 2 '06 #2
The new ASP.NET v2.0 control.....

"Patrick.O.Ige" wrote:
Michael are you using Treeview webcontrol ver 1.1 or 2.0
And try posting to the webcontrol news group
Patrick


"MichaelY" <Mi******@discussions.microsoft.com> wrote in message
news:EB**********************************@microsof t.com...
I am using a treeview control for data display, and am having a bit of a

hard
time getting the thing styled the way I need it. There appears to be

empty
rows added in between the tree nodes, causing a (1+1) 2px 'gap'......I
noticed in the rendered markup that the height is set to 0px in the style
attribute, but it seems to be ignored.

I have removed all of my style sheets, emptied cache, start w/blank pages,
etc. Testing on IE 6.0 and FF 1.5...

Any ideas on how to remove this annoying spacing (and no, VerticalPadding
did not change anything - just made it bigger)....

TIA...


Feb 2 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: SoKool | last post by:
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control. I intend to use a treeview to generate a...
8
by: Hrvoje Voda | last post by:
What is wrong in this code? private void tree_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { if (e.KeyCode == Keys.Enter ) {
3
by: Peter | last post by:
Hello, We are inserting a side menu to our application using a class that is writing HTML on all our pages. This is a part of the code as an example: writer.Write(" <table WIDTH=""100%""...
4
by: Ben Coats | last post by:
Hey, I'm trying to find code for an Explorer-style Directory ComboBox. (You know, it display "Desktop", "My Computer", all drives, etc., but it has a treeview control inside the combobox so that...
10
by: p3t3r | last post by:
I have a treeview sourced from a SiteMap. I want to use 2 different CSS styles for the root level nodes. The topmost root node should not have a top border, all the other root nodes should have a...
1
by: musosdev | last post by:
Hi guys I was using the Microsoft.Web.UI.WebControls extra namespace in my application to provide me with a TreeView control. I was using specifically ..GetNodeFromIndex(), SelectedNodeIndex and...
2
by: rolf.oltmans | last post by:
Hello all, I need to place treeview control in Grid control. I need to place it in a grid because I need to show calendar against every node. Is placing a treeview in grid possible? If I need...
1
by: doemon | last post by:
Hi, I'm working on a pagination control and I need to dynamically rerender a treeview to display the next set of nodes depending on which page we're on. For example, page 1 will dispaly only...
0
by: noneya22 | last post by:
I want to use a TreeView control as a one-level, vertical navigation menu. I'm using this control currently with a SiteMapDataSource and .sitemap file. I've written code that associates an image...
0
by: jiing | last post by:
Hi all, I want to use sting(the same as Node.Text) to judge if a node exists in TreeView. I've tried several ways, but seems all failed. could anybody help me? Thanks in advance. //My...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.