This is a migrated thread and some comments may be shown as answers.

RadMenu ItemTemplate and Image Maps

3 Answers 79 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Terry Webster
Top achievements
Rank 1
Terry Webster asked on 20 Feb 2013, 09:10 PM
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>

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 25 Feb 2013, 10:31 AM
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.
0
John Stewart
Top achievements
Rank 1
answered on 02 Jul 2013, 09:19 PM
has this been addressed? this is a big problem.
0
Boyan Dimitrov
Telerik team
answered on 04 Jul 2013, 03:34 PM
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.
Tags
Menu
Asked by
Terry Webster
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
John Stewart
Top achievements
Rank 1
Share this question
or