TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Rockafellow
NA
7
1.9k
Programmer in training stuck on placeholder adding control. Please help
Oct 23 2011 6:21 PM
I am useing the code below for a menu but where the item1, item2.. is I would like to have a linkbutton apear when displayed in the bullets. Any code I place in quotes will show the code on the page and not my intended resoults. Please point me in the right direction.
String[] mainmenuitems = { "item1",
"item2",
"item3"};
BulletedList MenuBulletedList1 = new BulletedList();
MenuBulletedList1.Items.Add(mainmenuitems[0]);
MenuBulletedList1.Items.Add(mainmenuitems[1]);
MenuBulletedList1.Items.Add(mainmenuitems[2]);
ContentUpperLeftBlock.Controls.Add(MenuBulletedList1);
ContentUpperLeftSmallTextLabel.Text = "Main menu";
Thanks for any help in advance,
David
Reply
Answers (
6
)
How to make a automatic print report?
Constructor