Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...HoverMenuExtender notworking for DNN7HoverMenuExtender notworking for DNN7
Previous
 
Next
New Post
6/10/2014 4:33 PM
 

HI, I am trying to create a DNN module for DNN 7.2.2 in which I am trying to use HoverMenuExtender. I have arealdy downloaded ajax toolkit 4.0 and added to visual studion.

 

below is code for m user control



<%@ Control Language="C#" AutoEventWireup="true" CodeFile="imagePopupUserControl.ascx.cs" Inherits="DesktopModules_Rymax_ImagebuttonModule_imagePopupUserControl" %>

<%@ Register TagPrefix="atk" Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" %>

<div>

<asp:Image ID="btnImgMain" runat="server" />

<asp:Panel runat="server" ID="pnl" width="500" height="400px">

<table id="tblValue" runat="server" style="border-bottom:double;border-left:double;border-right:double;border-top:double;">

<tr>

<td rowspan="3">

<asp:image id="imgHeader" runat="server" />

td>

<td>

<asp:Label ID="lblHeader" ForeColor="Gray" runat="server" Font-Size="XX-Large"/>

td>

tr>

<tr>

<td>

<asp:Label ID="lblWomen" ForeColor="Gray" runat="server" Font-Size="Large"/> <br />

<asp:DataGrid ID="dgwomenPrice" runat="server" BorderWidth="0" ForeColor="Gray" />

td>

tr>

<tr>

<td>

<asp:Label ID="lblMen" ForeColor="Gray" runat="server" Font-Size="Large"/> <br />

<asp:DataGrid ID="dgMenPrice" runat="server" BorderWidth="0" ForeColor="Gray" />

td>

tr>

table>

asp:Panel>

<atk:HoverMenuExtender ID="HoverMenuExtender1" runat="server" TargetControlID ="btnImgMain" PopupControlID="pnl" PopDelay="20" PopupPosition="Bottom">atk:HoverMenuExtender>

div>


 

the is the output Iam getting

And the error is

Unhandled exception at line 352, column 5 in http://localhost:59324/Our-Products

0x800a138f - JavaScript runtime error: Unable to get property 'UI' of undefined or null reference

[function() {







 $create(Sys.Extended.UI.HoverMenuBehavior, {"PopDelay":20,"PopupPosition":3,"dynamicServicePath":"/Default.aspx","id":"dnn_ctr421_imagePopupUserControl_HoverMenuExtender1","popupElement":$get("dnn_ctr421_imagePopupUserControl_pnl")}, null, null, $get("dnn_ctr421_imagePopupUserControl_btnImgMain"));















}]

Thanks in advance

 
New Post
6/12/2014 4:01 PM
 
used dnnmodal.show istead of hovermenueextender http://www.dnnsoftware.com/community-...
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...HoverMenuExtender notworking for DNN7HoverMenuExtender notworking for DNN7


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out