473,407 Members | 2,546 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,407 software developers and data experts.

<asp:BulletedList>

Hi:

I'm using the <asp:BulletedListcontrol in a TemplateField in a GridView.
The extra height generated by this control increases the height of the rest
of the row it's in. Is there a way around this?

Thanks,

Jibey
Jan 30 '07 #1
5 2648
There's no way around the fact that, if your bulleted list is higher than
the height of the rest of the row, it will make the rest of the row higher.
However, you could make the viewing of the bulleted list, an 'on-demand'
function, with just a link or regular button, that, when clicked will view
the list.

--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com

"Jibey Jacob" <Ji********@discussions.microsoft.comwrote in message
news:5D**********************************@microsof t.com...
Hi:

I'm using the <asp:BulletedListcontrol in a TemplateField in a GridView.
The extra height generated by this control increases the height of the
rest
of the row it's in. Is there a way around this?

Thanks,

Jibey

Jan 30 '07 #2
Hi:

The bulletedlist is not that much higher - I mean there isn't much content
in it. Just the superfluous space above and below it makes it higher than
what it should be. I can't make it an on-demand function. The users expect to
see its contents on the UI as soon as the page is visible. Is there a css
style for the <asp:BulletedListthat decreases or even eliminates the
superfluous space above and below it?

Thanks,

Jibey

"David Wier" wrote:
There's no way around the fact that, if your bulleted list is higher than
the height of the rest of the row, it will make the rest of the row higher.
However, you could make the viewing of the bulleted list, an 'on-demand'
function, with just a link or regular button, that, when clicked will view
the list.

--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com

"Jibey Jacob" <Ji********@discussions.microsoft.comwrote in message
news:5D**********************************@microsof t.com...
Hi:

I'm using the <asp:BulletedListcontrol in a TemplateField in a GridView.
The extra height generated by this control increases the height of the
rest
of the row it's in. Is there a way around this?

Thanks,

Jibey


Jan 30 '07 #3
I'm using the <asp:BulletedListcontrol in a TemplateField in a GridView.
The extra height generated by this control increases the height of the
rest
of the row it's in. Is there a way around this?
Wrap it in a DIV and set the DIV's style to 'overflow: scroll' and then give
it a specific height. That will create a scrollbar if the list is taller
than height of the div.

-Darrel
Jan 30 '07 #4
Look at the margin and padding properties of the <ULelement. You can
set those by CSS, and twiddle with the whitespace around your list.

On 30 Jan, 16:05, "darrel" <notr...@nowhere.comwrote:
I'm using the <asp:BulletedListcontrol in a TemplateField in a GridView.
The extra height generated by this control increases the height of the
rest
of the row it's in. Is there a way around this?Wrap it in a DIV and set the DIV's style to 'overflow: scroll' and then give
it a specific height. That will create a scrollbar if the list is taller
than height of the div.

-Darrel
Jan 30 '07 #5
Hi:

There's no whitespace around this control. The extra space that I want to
get rid of are at the top and bottom of the list.

I don't have access to the <ULelement. I'm loading this list dynamically.

Jibey

"Flinky Wisty Pomm" wrote:
Look at the margin and padding properties of the <ULelement. You can
set those by CSS, and twiddle with the whitespace around your list.

On 30 Jan, 16:05, "darrel" <notr...@nowhere.comwrote:
I'm using the <asp:BulletedListcontrol in a TemplateField in a GridView.
The extra height generated by this control increases the height of the
rest
of the row it's in. Is there a way around this?Wrap it in a DIV and set the DIV's style to 'overflow: scroll' and then give
it a specific height. That will create a scrollbar if the list is taller
than height of the div.

-Darrel

Jan 30 '07 #6

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

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.