0

I'm new to AJAX. I'm trying to use the HoverMenuExtender control in a VS 2005 project. I'm getting the following error:

Error 5 The type or namespace name 'HoverMenuExtender' could not be found (are you missing a using directive or an assembly reference?) C:\Inetpub\wwwroot\OGIDW\CheckDetail.aspx.cs 174 13 http://localhost/OGIDW/

I have a reference to AjaxControlToolkit.dll in my project. So, I don't think it's an assembly reference. Am I missing a "using..." statement?

My statements are:

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

The code I'm using is

protected void grdPortfolioSummary_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
HoverMenuExtender hoveMenu = (HoverMenuExtender)e.Row.FindControl("hoverMenu");
e.Row.ID = e.Row.RowIndex.ToString();
hoveMenu.TargetControlID = e.Row.ID;
}

}

Any help is much appreciated. Thanks in advance.

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by IceDog711
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.