I can't not add indented listitems to a dropdown menu, even I add many spaces, like this
dropAction.Items.Add(new ListItem(Server.HtmlDecode(" To Recipient"),"2"));
it won't work! because when converted to html, thes space will despear like I add many usefulless spaces when edit html file. I know I need to use to deal with this, but after I add this it will not give me what I want:
OK, here is the real solution:
dropAction.Items.Add(new ListItem(Server.HtmlDecode(" To Recipient"),"2"));
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment