RadMenu ItemTemplate and Image Maps

4 posts, 0 answers
  1. Terry Webster
    Terry  Webster avatar
    21 posts
    Member since:
    Dec 2009

    Posted 20 Feb 2013 Link to this post

    I am trying to use an Image and Map inside of a RadMenuItem and I cannot get the image map click events to fire.  If I pull the image and map code outside of the RadMenu, it works as expected?  Any ideas?

    <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="SOMS.master.cs" Inherits="SOMS.SOMS" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head runat="server">
        <title></title>
        <asp:ContentPlaceHolder ID="head" runat="server">
        </asp:ContentPlaceHolder>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <telerik:RadMenu ID="RadMenu1" runat="server">
                <Items>
                    <telerik:RadMenuItem Text="Main Menu" PostBack="false">
                        <Items>
                            <telerik:RadMenuItem>
                                <ItemTemplate>
                                    <img id="imgMainMenu" src="images/MainMenu.jpg" usemap="#mapMainMenu" border="0"
                                        width="950" height="510" alt="" />
                                    <map id="_mapMainMenu" name="mapMainMenu">
                                        <area shape="rect" coords="46,79,143,148" href="CSRRequestRefill.aspx" alt="Request Refill"
                                            title="Request Refill" />
                                        <area shape="rect" coords="46,293,143,362" href="PHRSubmitRequst.aspx" alt="Submit Request"
                                            title="Submit Request" />
                                        <area shape="rect" coords="233,79,330,148" href="CSRStatus.aspx" alt="CSR Status"
                                            title="CSR Status" />
                                        <area shape="rect" coords="233,179,330,248" href="CSRIntake.aspx" alt="CSRIntake.aspx"
                                            title="CSRIntake.aspx" />
                                        <area shape="rect" coords="233,291,330,360" href="CSRBillPrep.aspx" alt="CSRBillPrep.aspx"
                                            title="CSRBillPrep.aspx" />
                                        <area shape="rect" coords="233,406,330,475" href="CSRApproval.aspx" alt="Approval"
                                            title="Approval" />
                                        <area shape="rect" coords="419,291,516,360" href="PHRRequestHold.aspx" alt="Request Hold"
                                            title="Request Hold" />
                                        <area shape="rect" coords="623,292,720,361" href="PHRFilling.aspx" alt="Filling"
                                            title="Filling" />
                                        <area shape="rect" coords="623,404,720,473" href="PHRShipping.aspx" alt="Shipping"
                                            title="Shipping" />
                                        <area shape="rect" coords="810,90,907,159" href="PHRStatus.aspx" alt="Status" title="Status" />
                                        <area shape="rect" coords="808,291,905,360" href="PHRCompounding.aspx" alt="Compounding"
                                            title="Compounding" />
                                        <area shape="rect" coords="808,405,905,474" href="PHRShipped.aspx" alt="Shipped"
                                            title="Shipped" />
                                    </map>
                                </ItemTemplate>
                            </telerik:RadMenuItem>
                        </Items>
                    </telerik:RadMenuItem>
                </Items>
            </telerik:RadMenu>
     
            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
            </asp:ContentPlaceHolder>
        </div>
        </form>
    </body>
    </html>
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 25 Feb 2013 Link to this post

    Hello,

    As I already confirmed in thread 662203 the described behavior is misbehavior and I already logged this issue as bug in our system for future fixing.

    Thank you for cooperation and understanding.

    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. John Stewart
    John  Stewart avatar
    8 posts
    Member since:
    Sep 2007

    Posted 02 Jul 2013 Link to this post

    has this been addressed? this is a big problem.
  5. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 04 Jul 2013 Link to this post

    Hello,

    I am afraid that the issue is not resolved yet. I would like to clarify that I have increased its priority in our system. I will post here an information as soon as we have an update regarding that problem.


    Regards,
    Boyan Dimitrov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top