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 6118315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:25:19+00:00 2026-05-23T15:25:19+00:00

In my view (that is being uploaded by a dialog) I have several tabs

  • 0

In my view (that is being uploaded by a dialog) I have several tabs that are being displayed in order for that to happen I need to reference the jquery ui:

<script src="<%= Url.Content("~/Scripts/jquery-ui-1.8.11.js") %>" type="text/javascript"></script>

but due to incorporating this page withing a dialog I need to take this reference to my master page and use that in the contentplaceholders of my view, that is when i have the problem.

this is my code in the view:

 <asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">


     <script type="text/javascript">
    jQuery(document).ready(function () {
          $("#tabstest").tabs();
    });
    </script>

 </asp:Content>


<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">

   <h2>jQuery Tabs Example</h2>

  <div>
    <div id="tabstest">
    <ul>
        <li><a href="#tabs-1">Home</a></li>
        <li><a href="#tabs-2">Products</a></li>
        <li><a href="#tabs-3">Contact Us</a></li>
    </ul>
    <div id="tabs-1">
        <% Html.RenderPartial("GetHomeTab");  %>            
    </div>
    <div id="tabs-2">
        <% Html.RenderPartial("GetProductTab");  %>         
    </div>
    <div id="tabs-3">
        <% Html.RenderPartial("GetContactUsTab");  %>           
    </div>
</div>    
</div>

</asp:Content>

if I remove the jquery UI reference to the master page I recieve this error ” Object does not support method ‘tabs'”, but if I add the same reference to my view the tabs come up.

I will appreciate if anyone knows the reason of this issue

  • 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-05-23T15:25:20+00:00Added an answer on May 23, 2026 at 3:25 pm

    If you move the <script src="..."> to your master page there shouldn’t be any problem (I always do this). Check that you’re putting it in the correct master page.

    A way to test is would be the following:

    • Run the page on your browser (there’s a js error as you say)
    • View its source code
    • Look for the <script src="..." tag (the jquery ui inclusion).

    I’m almost sure you don’t have it.

    Hope this helps. Cheers

    PS: Don’t forget to include jquery.js, then jquery.ui, and then your scripts (to ensure you don’t have a dependency problem)

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

Sidebar

Related Questions

I have a trigger that gets inserts and updates to a view. I need
I have a view that has a column to make it sortable. When clicking
I have a custom View that I would like to embed in an WebView.
I have a view that renders a list elements using the following template :
I have a view that shows user profile fields in a tabular format. There
I have a list view that displays a collection of items, each item has
I have a view that is used in a UINavigationController and and is automatically
I have a django view that searches my database for a name that includes
I have a nested form in a rails view that is called like this
I have 2 tabs, one that contains the imagepicker controller, and another that contains

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.