|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Setting menu properties - ForeColorI have a webcontrols menu on my webform (masterpage) that does not
display the font color properties I set. In the IDE I set the properties and can see them in the html code but when I run the website the menu items default to forecolor=green and onHover=orange. I am setting and binding the sitemap provider programmatically at runtime. Could this be why the properties are not being applied? When you use the ASP.NET menu control, you have to use the static and
dynamic items separately to get the effect you are looking for. Yes, it is a pain, but it works fine. -- Show quoteGregory A. Beamer MVP, MCP: +I, SE, SD, DBA ************************************************* | Think outside the box! | ************************************************* "SE.Computerguy" <SE.computer***@gmail.com> wrote in message news:1188836404.859348.272830@y42g2000hsy.googlegroups.com... >I have a webcontrols menu on my webform (masterpage) that does not > display the font color properties I set. In the IDE I set the > properties and can see them in the html code but when I run the > website the menu items default to forecolor=green and onHover=orange. > I am setting and binding the sitemap provider programmatically at > runtime. Could this be why the properties are not being applied? > I set them for the back color to be green and the forecolor to be
white in both the static and dynamic. For some reason it does not work. Could my installation be corrupted? Doug On Sep 5, 1:04 pm, "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbwo...@comcast.netNoSpamM> wrote: Show quote > When you use the ASP.NET menu control, you have to use the static and > dynamic items separately to get the effect you are looking for. Yes, it is a > pain, but it works fine. > > -- > Gregory A. Beamer > MVP, MCP: +I, SE, SD, DBA > > ************************************************* > | Think outside the box! > | > *************************************************"SE.Computerguy" <SE.computer***@gmail.com> wrote in message > > news:1188836404.859348.272830@y42g2000hsy.googlegroups.com... > > > > >I have a webcontrols menu on my webform (masterpage) that does not > > display the font color properties I set. In the IDE I set the > > properties and can see them in the html code but when I run the > > website the menu items default to forecolor=green and onHover=orange. > > I am setting and binding the sitemap provider programmatically at > > runtime. Could this be why the properties are not being applied?- Hide quoted text - > > - Show quoted text - |
|||||||||||||||||||||||