Click here to Skip to main content
13,042,789 members (75,970 online)
Rate this:
Please Sign up or sign in to vote.
I would like to have an Easy Menu ( OBOUT - Easy Menu) populate with database(SqlDataBase)in my webpage. but when I run the page I encounter to a trouble. Below message will appear when I run my page:

"Microsoft JScript runtime error: Unable to get value of the property 'childNodes': object is null or undefined"

my database name is "sds5" my table named "emSample" with these columns :
[ ID, InnerHtml, Url, ParentID ] and this is the code I use in my default.aspx :

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="obout_EasyMenu_Pro" Namespace="OboutInc.EasyMenu_Pro" TagPrefix="oem" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head runat="server">
    <form id="form1" runat="server">
    <asp:SqlDataSource ID="sds5" SelectCommand="SELECT ID, InnerHtml, Url, ParentID FROM emSample"
runat="server" ConnectionString="Data Source=.;Initial Catalog=sds5;Integrated Security=True" />
<oem:EasyMenu ID="EasyMenu1" runat="server" SubMenuPlaceHolderID="SubMenuContainer"
    DataSourceID="sds5" DataIdField="ID" DataTextField="InnerHtml" DataUrlField="Url"
    <CommonSubMenuProperties Align="Under" ShowEvent="MouseOver" StyleFolder="styles/horizontal1"
    RepeatColumns="1" Position="Vertical" Width="100" />
    <asp:PlaceHolder ID="SubMenuContainer" runat="server"></asp:PlaceHolder>

What Should I do? It takes my time about 5 days, but I couldn't solve it individually.

Any Idea?
Posted 12-Oct-11 4:08am
Nagy Vilmos 12-Oct-11 11:24am
Have you looked here -
digital man 12-Oct-11 11:57am
You should post that as the solution: get the points.
Nagy Vilmos 12-Oct-11 12:00pm
Done so.
pampam110 12-Oct-11 15:50pm
by the way. thank you Nagy. I took a look at your link. I forgot to add Menu to my page. i did it. it works without any error. but nothing show!

any idea?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Have you looked here -[^]

[posted at DM's behest]
pampam110 13-Oct-11 6:37am
my previous problem solved, but when i run my webpage, it doesn't show my menu. and when in internet explorer I use styles--->no style. it shows my menu, without any style. can u help me with this?

thanks in advance/.
Nagy Vilmos 13-Oct-11 6:41am
If you feel the original is answered then mark it so.
As I don't know too much on this subject, enough to get you in the right direction but little more, I'd suggest raising another question so others can see your problem. Remember to add as much detail as you can to help those who may be able to help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 12 Oct 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100