Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7871539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:56:11+00:00 2026-06-03T01:56:11+00:00

I had a hard time understanding the new version 1.7.1 dojo toolkit and returned

  • 0

I had a hard time understanding the new version 1.7.1 dojo toolkit and returned to the 1.5 version. I am trying to include the bordercontainer to layout my controls to match one of the demos but the bordercontainer keeps messing things up.

http://download.dojotoolkit.org/release-1.6.1/dojo-release-1.6.1/dijit/themes/themeTester.html

I am trying to recreate the following and I got the menu part created and doing the accordianContainer but if I include the bordercontainer then all that appears is a line that looks like the container consuming everthing and I do not see the internal components including the menu.
Any ideas appreciated.

<body class="claro">
  <form id="form1" runat="server">
  <asp:ScriptManager ID="ToolkitScriptManager1" runat="server">
  </asp:ScriptManager>   
           <div dojoType="dijit.Menu" id="submenu1" data-dojo-props='contextMenuForWindow:true, style:"display:none"' style="display: none;">
                    <div dojoType="dijit.MenuItem">Enabled Item</div>
                    <div dojoType="dijit.MenuItem" data-dojo-props="disabled:true">Disabled Item</div>
                    <div dojoType="dijit.MenuSeparator"></div>
                    <div dojoType="dijit.MenuItem" data-dojo-props="iconClass:'dijitIconCut'">Cut</div>
                    <div dojoType="dijit.MenuItem" data-dojo-props="iconClass:'dijitIconCopy'">Copy</div>
                    <div dojoType="dijit.MenuItem" data-dojo-props="iconClass:'dijitIconPaste'">Paste</div>
                    <div dojoType="dijit.MenuSeparator"></div>
                    <div dojoType="dijit.PopupMenuItem">
                                <span>Enabled Submenu</span>
                    <div dojoType="dijit.Menu" id="submenu2">
                    <div dojoType="dijit.MenuItem">Submenu Item One</div>
                    <div dojoType="dijit.MenuItem">Submenu Item Two</div>
                    <div dojoType="dijit.PopupMenuItem">
                                <span>Deeper Submenu</span>
                    <div dojoType="dijit.Menu" id="submenu4">
                    <div dojoType="dijit.MenuItem">Sub-sub-menu Item One</div>
                    <div dojoType="dijit.MenuItem">Sub-sub-menu Item Two</div>
                    </div>
                </div>
                </div>
                </div>
                <div dojoType="dijit.PopupMenuItem" data-dojo-props="disabled:true">
                        <span>Disabled Submenu</span>
                <div dojoType="dijit.Menu" id="submenu3" style="display: none;">
                <div dojoType="dijit.MenuItem">Submenu Item One</div>
                <div dojoType="dijit.MenuItem">Submenu Item Two</div>
                </div>
                </div>
                <div dojoType="dijit.PopupMenuItem">
                        <span>Different popup</span>
                <div dojoType="dijit.ColorPalette"></div>
                </div>
                <div dojoType="dijit.PopupMenuItem">
                        <span>Different popup</span>
                <div dojoType="dijit.Calendar"></div>
                </div>
                </div>



        <div id="main" dojoType="dijit.layout.BorderContainer" design="sidebar">
           <div id="header" dojoType="dijit.MenuBar" region="top">
                                        <div dojoType="dijit.PopupMenuBarItem" id="edit">
                                                        <span>Edit</span>
                                            <div dojoType="dijit.Menu" id="editMenu">
                                               <div dojoType="dijit.Menu" id="Div1">
                                                        <div dojoType="dijit.MenuItem" id="cut" iconClass="dijitIconCut"
                                                                    onClick="console.log('not actually cutting anything, just a test!')">Cut</div>
                                                        <div dojoType="dijit.MenuItem" id="copy" iconClass="dijitIconCopy"
                                                                    onClick="console.log('not actually copying anything, just a test!')">Copy</div>
                                                        <div dojoType="dijit.MenuItem" id="paste" iconClass="dijitIconPaste"
                                                                    onClick="console.log('not actually pasting anything, just a test!')">Paste</div>
                                                        <div dojoType="dijit.MenuSeparator" id="separator"></div>
                                                        <div dojoType="dijit.MenuItem" id="undo" iconClass="dijitIconUndo">Undo</div>
                                                </div>
                                            </div>
                                        </div>
                                        <div dojoType="dijit.PopupMenuBarItem" id="view">
                                                <span>View</span>
                                            <div dojoType="dijit.Menu" id="viewMenu">
                                            <div dojoType="dijit.MenuItem">Normal</div>
                                            <div dojoType="dijit.MenuItem">Outline</div>
                                            </div>
                                            <div dojoType="dijit.PopupMenuItem">
                                                <span>Zoom</span>
                                            <div dojoType="dijit.Menu" id="zoomMenu">
                                            <div dojoType="dijit.MenuItem">50%</div>
                                            <div dojoType="dijit.MenuItem">75%</div>
                                            <div dojoType="dijit.MenuItem">100%</div>
                                            <div dojoType="dijit.MenuItem">150%</div>
                                            <div dojoType="dijit.MenuItem">200%</div>
                                            </div>
                                            </div>
                                        </div>
                                        <div dojoType="dijit.PopupMenuBarItem" id="themes">
                                                <span>Themes</span>
                                            <div dojoType="dijit.Menu" id="themeMenu"></div>
                                        </div>
                                        <div dojoType="dijit.PopupMenuBarItem" id="dialogs">
                                                <span>Dialogs</span>
                                            <div dojoType="dijit.Menu" id="dialogMenu">
                                            <div dojoType="dijit.MenuItem" data-dojo-props="onClick: showDialog">slow loading</div>
                                            <div dojoType="dijit.MenuItem" data-dojo-props="onClick: showDialogAb">action bar</div>
                                            </div>
                                        </div>
                                        <div dojoType="dijit.PopupMenuBarItem" id="inputPadding">
                                                <span>TextBox Padding</span>
                                            <div dojoType="dijit.Menu" id="inputPaddingMenu">
                                            <div dojoType="dijit.CheckedMenuItem" data-dojo-props="onClick:setTextBoxPadding, checked:true">theme default</div>
                                            <div dojoType="dijit.CheckedMenuItem" data-dojo-props="onClick:setTextBoxPadding">0px</div>
                                            <div dojoType="dijit.CheckedMenuItem" data-dojo-props="onClick:setTextBoxPadding">1px</div>
                                            <div dojoType="dijit.CheckedMenuItem" data-dojo-props="onClick:setTextBoxPadding">2px</div>
                                            <div dojoType="dijit.CheckedMenuItem" data-dojo-props="onClick:setTextBoxPadding">3px</div>
                                            <div dojoType="dijit.CheckedMenuItem" data-dojo-props="onClick:setTextBoxPadding">4px</div>
                                            <div dojoType="dijit.CheckedMenuItem" data-dojo-props="onClick:setTextBoxPadding">5px</div>
                                            </div>
                                        </div>
                                        <div dojoType="dijit.PopupMenuBarItem" id="help">
                                                <span>Help</span>
                                            <div dojoType="dijit.Menu" id="helpMenu">
                                            <div dojoType="dijit.MenuItem">Help Topics</div>
                                            <div dojoType="dijit.MenuItem">About Dijit</div>
                                            </div>
                                        </div>
                                        <div dojoType="dijit.PopupMenuBarItem" data-dojo-props="disabled:true">
                                                <span>Disabled</span>
                                            <div dojoType="dijit.Menu">
                                            <div dojoType="dijit.MenuItem">You should not see this</div>
                                            </div>
                                        </div>
                </div>
                <div dojoType="dijit.layout.AccordionContainer"minSize="20" style="width: 300px;" id="leftAccordion" region="left" splitter="true">

                        <div dojoType="dijit.layout.ContentPane" title="Popups and Alerts"><div style="padding:8px">
                        </div>
                </div><!-- end AccordionContainer -->                                         
          </div>
       </div>
  </form>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T01:56:13+00:00Added an answer on June 3, 2026 at 1:56 am

    It can be tricky to get BorderContainer to render. Usually I find that it’s a sizing issue, and that it’s completely the wrong size.

    I usually try:

    1. Use your browser development tools to inspect the corresponding to the BorderContainer, and find out what its actual size is. It’ll usually be something like a tab called ‘Metrics’ which indicates the exact position and size of your container, and what’s going on with its padding and margin. There’s a chance it’s 0px high.
    2. In your HTML, explicitly set the width and height of your BorderContainer div to something static and hardcoded (e.g. style=”width: 300px; height: 300px”) and see what happens.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to programming and have had a hard time understanding recursion. There's a
I'm using the jQuery plugin for TinyMCE and have had a hard time trying
I'm new to C# coming from a python background. I've had a hard time
I've had a hard time finding anything like what I'm trying to accomplish, seems
I had a hard time trying to word my question properly, so i'm sorry
I have always had a hard time understanding the real value of Interfaces when
I've had a hard time trying to find good examples of how to manage
Please forgive the bad title - I had a hard time trying to think
I've had a hard time sitting in front of UML and getting value out
I have a malformed page to scrape, and have had a hard time getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.