Adding menu items causes error in maps

Feb 16, 2011 at 5:57 PM

Put just this in an ASPX page:

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

    <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 7: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.

Coordinator
Feb 17, 2011 at 6:18 AM

Hi

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.

Regards

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