This project is read-only.

Adding menu items causes error in maps

Feb 16, 2011 at 6:57 PM

Put just this in an ASPX page:

    <asp:Menu ID="Menu1" runat="server">
        <asp:MenuItem />

    <cc1:GoogleMap ID="GMap1"  runat="server" />

and an error occurs at: Function.Handler.add = $addHandler;  ('$addHandler' is undefined)

... omit the MenuItem tag, but keep all the other lines,  and no error occurs.

How can I keep my menu and avoid this error?

Feb 16, 2011 at 8:23 PM

Also, just putting:

    <asp:Menu ID="Menu1" runat="server" />
    <cc1:GoogleMap ID="GMap1"  runat="server" />

    and dynamically adding menu items at Page_Load() still gives the same error if any items are added (and no error if none added).

And putting the map inside an UpdatePanel also produces the same results.

Feb 17, 2011 at 7:18 AM


I have that issue reported many times.
I'm back and soon will continue my work for this project.
However, even if already creared issue #12939 describes the same problem, I 'm adding this item to issue tracker.


Feb 17, 2011 at 7:19 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.