[Mono-dev] asp.net menu StaticSelectedStyle

Onur Gumus emperon at gmail.com
Tue Sep 11 10:16:40 EDT 2007


I use that control successfully as of 1.2.5. I have digged all options but
here's my decleration:

     <asp:Menu  style="position:absolute; top:200px;"
           Id="menu1" DataSourceID="srcSiteMap"

             StaticMenuItemStyle-Font-Size="16"
             StaticHoverStyle-ForeColor="white"
             StaticHoverStyle-BackColor="Red"

              StaticHoverStyle-ItemSpacing="2"
              StaticMenuItemStyle-ForeColor="Red"
              StaticMenuItemStyle-BackColor="White"

               DynamicMenuItemStyle-Font-Size="16"
             DynamicHoverStyle-ForeColor="white"
             DynamicHoverStyle-BackColor="Red"

              DynamicHoverStyle-ItemSpacing="2"
              DynamicMenuItemStyle-ForeColor="Red"
              DynamicMenuItemStyle-BackColor="White"
     Runat="server"  />


This works exactly I expected (successfully). One important note . You must
get rid of the <!DOCTYPE decleration at top of the aspx page for this to
work


I hope it helps
On 9/11/07, Anton Andreev <fn30762 at fmi.uni-sofia.bg> wrote:
>
> Hi,
>
> It seems that there is a problem with StaticSelectedStyle in Microsoft
> version of Asp.NET Menu control.
> Does someone know something about that?
> Is it Mono Menu control stable enough, so I can use it instead of
> Microsoft one?
>
> Cheers,
> Anton
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



-- 
Warning: If you are reading this then this warning is for you. Every word
you read of this useless fine print is another second off your life. Don't
you have other things to do? Is your life so empty that you honestly can't
think of a better way to spend these moments? Or are you so impressed with
authority that you give respect and credence to all that claim it? Do you
read everything you're supposed to read? Do you think every thing you're
supposed to think? Buy what you're told to want? Get out of your apartment.
Meet a member of the opposite sex. Stop the excessive shopping and
masturbation.Quit your job. Start a fight. Prove you're alive. If you don't
claim your humanity you will become a statistic. You have been warned - Onur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070911/48f1bd66/attachment.html 


More information about the Mono-devel-list mailing list