开发者

Creating asp.net menus with optional check boxes in them

开发者 https://www.devze.com 2023-04-11 01:55 出处:网络
I want to have an asp.net menu where some menu items have a check box next to them. Some research has indicated that this can be don开发者_StackOverflow社区e using menu templates, this approach howeve

I want to have an asp.net menu where some menu items have a check box next to them. Some research has indicated that this can be don开发者_StackOverflow社区e using menu templates, this approach however will put a check box next to all the menu items; where as in my situation, I would like the check box there for some items and not others.

I am also thinking in my solution that if an item does not have a check box, I would like a gap in the front where the check box should be so that the text in the item is aligned with the text of all the other items that do have check boxes. May I get suggestions as to ways of doing this?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号