473,804 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I make a BulletList display a bullet?

Hi,

I have a BulletList that I fill with the BulletList1.Ite ms.Add("text
here"); method. When I display this BulletList I don't get the bullet
displayed. I've tried:
BulletedList1.B ulletImageUrl = "~/Images/BulletedList/Bullet.jpg"; but
it still dosen't display any bullet.

Am I missing something here?

Thanks for your help.

Steve

Oct 18 '06 #1
2 1725
Did you try setting the BulletStyle property?

"Steve Kershaw" <st***********@ yahoo.comwrote in message
news:11******** **************@ i42g2000cwa.goo glegroups.com.. .
Hi,

I have a BulletList that I fill with the BulletList1.Ite ms.Add("text
here"); method. When I display this BulletList I don't get the bullet
displayed. I've tried:
BulletedList1.B ulletImageUrl = "~/Images/BulletedList/Bullet.jpg"; but
it still dosen't display any bullet.

Am I missing something here?

Thanks for your help.

Steve

Oct 19 '06 #2
Yes I did try the BulletStyle property without success. Here is a code
snippit of what I did:

BulletedList1.I tems.Clear();
BulletedList1.B ulletStyle = BulletStyle.Cus tomImage;
BulletedList1.B ulletImageUrl = Resources.Resou rce.BulletLocat ion;

BulletedList1.I tems.Add(Resour ces.Resource.Be nefit1);

Thanks for your help.

Steve

Siva M wrote:
Did you try setting the BulletStyle property?

"Steve Kershaw" <st***********@ yahoo.comwrote in message
news:11******** **************@ i42g2000cwa.goo glegroups.com.. .
Hi,

I have a BulletList that I fill with the BulletList1.Ite ms.Add("text
here"); method. When I display this BulletList I don't get the bullet
displayed. I've tried:
BulletedList1.B ulletImageUrl = "~/Images/BulletedList/Bullet.jpg"; but
it still dosen't display any bullet.

Am I missing something here?

Thanks for your help.

Steve
Oct 19 '06 #3

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

Similar topics

14
16037
by: Gerald S. | last post by:
Hello, I am trying to set the space between the bullet and the first word in a UL, without any luck. My Lists look like: x Item 1 x Item 2 x Item 3
0
1922
by: Nikolaos Giannopoulos | last post by:
I am trying to get bullet images in paragraphs and lists to align properly - so far Moz 1.3 and Opera 6.05 handle both of these cases fine (NOTE: IE5 as expected does not render a bullet in the 1st case): http://solmar.ca/temp8/test4.html http://solmar.ca/temp8/test5.html which looks like this (taken with Moz 1.3): http://solmar.ca/temp8/img/moz13_bullet.gif
3
7587
by: Peter Schlenker | last post by:
In a navigation panel I try to place a bullet before each entry when the link is hovered at (see http://www.shambhala.de). Mozilla does it like expected, but IE doesn't - any ideas? <a href="http://www.shambhala.de/reisen/kailash.php" title=""><span class="bullet"><img src="http://www.shambhala.de/media/grafik/arrow_small.gif" width="9" height="9"/>&nbsp;</span>Tibet</a><br/>
1
12184
by: David Bradbury | last post by:
I may be thinking about this the wrong way, but here goes: In my style sheet I've specified that bullet points should use a specific image rather than just be default bullet points. However, at some later point in the text I don't want to use the bullet point with an image, but rather use the standard bullet point. Is it possible to switch off a style sheet instruction for an individual instance? Or do I need to define a new style...
6
8059
by: Thresh | last post by:
Hi all, two problems that I've been wrestling with: 1) I've got some images on a site that are links. I've got them set for 2px of padding, and a 1px border. The color changes upon hover. This works fine in IE v6 (amazingly), but it doesn't work correctly in Mozilla v1.7! It's getting the left and right padding correct, but the top padding is 7px instead of 2, and the bottom padding is 5 (instead of 2). It looks exactly right in IE,...
8
61499
by: Udo Marx | last post by:
Hello to ciwas! Is there a way to change the bullet form, color, etc, of the element <li> under<ul> via css? Any reply will be appreciated. -- Freundliche Gruesse, Netzteil - Udo Marx http://www.netzteil.com mailto:marx@netzteil.com
13
49892
by: Matt | last post by:
I would like to set the "list-style-type" to be a hyphen (-). How can I accomplish this in a style sheet. I tried list-style-type: hyphen; and list-style-type: dash; but neither worked. I also tried adding this to the style sheet (with the list-style-type set to none in the UL element). LI:Before { content: "- "; }
1
1691
by: veena | last post by:
can u help to build line numbers option which is very similar to line numbers option in text editor using c# and how can we set our own bullet style to selected bullet property in rich text box.
6
4713
by: Nathan Sokalski | last post by:
I am creating a BulletedList and would like to use a - as the bullet. However, I could not find a way to do this using the properties for the BulletedList control. Is there a way to use a specific character for the bullet without manually adding it to each ListItem? Thanks. -- Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/
0
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10604
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10354
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9177
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6870
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4314
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3837
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.