Author: kitster | Posted on: 1/19/2009 11:32:47 AM | Views : 434


 Hello all,


I've got a dynamic nav for a bunch of websites,
which was working really well.  Until the client pointed out they want
to be able to link to other websites from their nav, which seemed
reasonable enough.  But now I need to have some options in the list
with target="_self" and some with target="blank".


 The problem
seems to be that the target property is set at the BulletedList level,
not at the individual ListItem level.  Is there a way around this?


Code is summarised below:


 


//Start the nav list
ListItem l1;
BulletedList blist1;
blist1 = new BulletedList();
blist1.CssClass = "link_list";
blist1.DisplayMode = BulletedListDisplayMode.HyperLink;
foreach Go to the complete details ...