Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Tuesday, March 15, 2011
How to set default menu item in ASP.NET Menu control
foreach
(
MenuItem
m
in
menus.Items)
{
if
(m.Value == menuSelectedValue)
m.Selected =
true
;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment