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

  • Home
  • SEARCH
  • 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 7925901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:29:41+00:00 2026-06-03T18:29:41+00:00

I finally got some parts working here: http://jsfiddle.net/trXBr/5/ but when I put the code

  • 0

I finally got some parts working here: http://jsfiddle.net/trXBr/5/
but when I put the code back into my project and tried to browse using internet explorer; the button onclick events do not work. Interestingly the one button onclick function to show the dialog works in firefox and chrome. I was excited to have this working in the editor but now if this does not work with all browsers, then this is just really frustrating. I am using version 1.5.1

         dojo.connect(loadBtn,'onClick',function(){ 
                userDialog.show(); 
              });   

        dojo.connect(butt,'onClick',function(evt){ 
               showTab(); 
        }); 

Any help/ideas appreciated.

EDIT:

Ok using the compatibility mode in IE helps to get the one function working which displays the dialog box.

So as you can see here I have an borderlayout where I want a tabcontainer to be displayed in the middle with a click of a button and this works fine in jsfiddler but not from my code in the browsers;

 <div dojoType="dijit.layout.ContentPane" region="center" splitter="true">
  <div id="mainTabContainer"dojoType="dijit.layout.TabContainer"
           style="width:500px;height:100px;display:none">
      <div id="tab1" dojoType="dijit.layout.ContentPane"
       title="First Tab" selected="true" 
         closable="true">First Tab</div>
     <div id="tab2" dojoType="dijit.layout.ContentPane" 
      title="Second Tab" closable="true">
       Second Tab
     </div>
    </div>    

</div>   

so the display:none but when I click the button I call the following:

dojo.connect(butt,'onClick',function(evt){ 
               showTab(); 
}); 
function showTab(){
         dijit.byId("mainTabContainer").domNode.style.display = 'block'
         dijit.byId("mainTabContainer").resize();
   }  

Also if I remove the display=none then the tabcontainer appears fine. So is these something wrong with my function call.

  • 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-03T18:29:43+00:00Added an answer on June 3, 2026 at 6:29 pm

    ok sorry guys….all my fault here…I forgot to remove the added code I had in my html in my asp.net code

    <body class="claro">
      <form id="form1" runat="server">
      <asp:ScriptManager ID="ToolkitScriptManager1" runat="server">
      </asp:ScriptManager> 
    

    Once I removed the form and scriptmanager lines it works fine..Thanks for everyones efforts.
    Just worried that if I were to incorporate ajax and other controls, then would dojo still work

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got some autocompletes working finally, but there is one behavior I'd like to
I finally got around to trying out django-devserver . It's installed and working but
It seems that I've finally got to implement some sort of threading into my
here is kinda huge piece of code, it finally got huge, because of monadic
I finally got some understanding of how Ninject handles DI, but have faced the
So I finally took the dive and installed maven2 but I've got some problems.
I was given this code a while back. I finally got around to testing
I finally got myself to look at some Linux code. I am looking right
I finally got apache2 with mod_wsgi working on Linux (havent much luck with windows
I finally got my permalinks working for Custom Post Types and Taxonomies using `

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.