Hi,

I've just downloaded the new mossmenu sourcode which i'm supposed to use to
replace the current moss topNav menu.

Is there anyone who has successfully done this? Please i need help on how
exactly to go about doing this.

Thanks,
Stark

Re: how to:MossMenu sourcecode by Chris

Chris
Wed Mar 21 17:13:42 CDT 2007

Are you planning to make changes to the MossMenu source code? Otherwise,
there is no difference between the AspMenu which is used by default for the
top and left navigation menus, and the MossMenu you are planning to replace
it with.

Assuming you will be making changes, you'll need to compile the class into a
signed assembly (if you're using VS, you can easily set up signing using
Project > Properties > Signing), add the assembly to the GAC, edit the
web.config and update the SafeControls list to include this control, and
then edit the masterpage and replace the AspMenu declarations with MossMenu
(or whatever you decided to name it).

"Stark Botha" <StarkBotha@discussions.microsoft.com> wrote in message
news:E3924E6C-925E-4974-828F-EFFAD762448C@microsoft.com...
> Hi,
>
> I've just downloaded the new mossmenu sourcode which i'm supposed to use
> to
> replace the current moss topNav menu.
>
> Is there anyone who has successfully done this? Please i need help on how
> exactly to go about doing this.
>
> Thanks,
> Stark



Re: how to:MossMenu sourcecode by StarkBotha

StarkBotha
Wed Mar 21 18:07:00 CDT 2007

Hey Chris,

Thanks for your reply. The reason why i wanted to replace the OOB menu
control was because i struggled for quite some time to replace the static
fly-out indicator (which i managed to do about 5 minutes ago and i want to
pull my hair out for not considering the obvious route earlier).

Looking at the source-code i saw the reference to largerightarrow.gif (i
stand corrected as to the precise filename) and its opposite
largearrowleft.gif which was intended to solve the right-to-left and
left-to-right orientation of the menu. I was considering just replacing the
right-facing arrow with my custom arrow.

I have since realised that all i need to do was specify the image in the
control the using StaticPopOutImageUrl property/parameter.

However, for interest's sake, i understnad most of your previous post, but
one thing: what is the GAC? I've seen it mentioned briefly once or twice in
my arduous efforts to find a solution to the above-mentioned arrow problem.

Sorry if this is an obvious question. Is there perhaps an established
resource i could peruse that describes the process you mentioned in detail?
For example: if its in the SDK (which i assume it is) what should i be
searching for?

Again, thank you kindly for reply so swiftly to my post.

"Chris Richard [MSFT]" wrote:

> Are you planning to make changes to the MossMenu source code? Otherwise,
> there is no difference between the AspMenu which is used by default for the
> top and left navigation menus, and the MossMenu you are planning to replace
> it with.
>
> Assuming you will be making changes, you'll need to compile the class into a
> signed assembly (if you're using VS, you can easily set up signing using
> Project > Properties > Signing), add the assembly to the GAC, edit the
> web.config and update the SafeControls list to include this control, and
> then edit the masterpage and replace the AspMenu declarations with MossMenu
> (or whatever you decided to name it).
>
> "Stark Botha" <StarkBotha@discussions.microsoft.com> wrote in message
> news:E3924E6C-925E-4974-828F-EFFAD762448C@microsoft.com...
> > Hi,
> >
> > I've just downloaded the new mossmenu sourcode which i'm supposed to use
> > to
> > replace the current moss topNav menu.
> >
> > Is there anyone who has successfully done this? Please i need help on how
> > exactly to go about doing this.
> >
> > Thanks,
> > Stark
>
>
>

Re: how to:MossMenu sourcecode by Chris

Chris
Thu Mar 22 21:04:32 CDT 2007

GAC = Global Assembly Cache
http://msdn2.microsoft.com/en-us/library/yf1d93sz(VS.80).aspx

There are various other tutorials online that can be found by searching for
"Global Assembly Cache".

Cheers

"Stark Botha" <StarkBotha@discussions.microsoft.com> wrote in message
news:F302A006-7735-4E9B-8884-047DF7CEB7BA@microsoft.com...
> Hey Chris,
>
> Thanks for your reply. The reason why i wanted to replace the OOB menu
> control was because i struggled for quite some time to replace the static
> fly-out indicator (which i managed to do about 5 minutes ago and i want to
> pull my hair out for not considering the obvious route earlier).
>
> Looking at the source-code i saw the reference to largerightarrow.gif (i
> stand corrected as to the precise filename) and its opposite
> largearrowleft.gif which was intended to solve the right-to-left and
> left-to-right orientation of the menu. I was considering just replacing
> the
> right-facing arrow with my custom arrow.
>
> I have since realised that all i need to do was specify the image in the
> control the using StaticPopOutImageUrl property/parameter.
>
> However, for interest's sake, i understnad most of your previous post, but
> one thing: what is the GAC? I've seen it mentioned briefly once or twice
> in
> my arduous efforts to find a solution to the above-mentioned arrow
> problem.
>
> Sorry if this is an obvious question. Is there perhaps an established
> resource i could peruse that describes the process you mentioned in
> detail?
> For example: if its in the SDK (which i assume it is) what should i be
> searching for?
>
> Again, thank you kindly for reply so swiftly to my post.
>
> "Chris Richard [MSFT]" wrote:
>
>> Are you planning to make changes to the MossMenu source code? Otherwise,
>> there is no difference between the AspMenu which is used by default for
>> the
>> top and left navigation menus, and the MossMenu you are planning to
>> replace
>> it with.
>>
>> Assuming you will be making changes, you'll need to compile the class
>> into a
>> signed assembly (if you're using VS, you can easily set up signing using
>> Project > Properties > Signing), add the assembly to the GAC, edit the
>> web.config and update the SafeControls list to include this control, and
>> then edit the masterpage and replace the AspMenu declarations with
>> MossMenu
>> (or whatever you decided to name it).
>>
>> "Stark Botha" <StarkBotha@discussions.microsoft.com> wrote in message
>> news:E3924E6C-925E-4974-828F-EFFAD762448C@microsoft.com...
>> > Hi,
>> >
>> > I've just downloaded the new mossmenu sourcode which i'm supposed to
>> > use
>> > to
>> > replace the current moss topNav menu.
>> >
>> > Is there anyone who has successfully done this? Please i need help on
>> > how
>> > exactly to go about doing this.
>> >
>> > Thanks,
>> > Stark
>>
>>
>>