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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:41:15+00:00 2026-05-24T12:41:15+00:00

Currently I’m developing a webpart for SharePoint. I’m using JQuery in my webpart. Users

  • 0

Currently I’m developing a webpart for SharePoint. I’m using JQuery in my webpart. Users will install my webpart and use it in there sharepoint site. I’m new to JQuery. I have couple of confusions in mind.

1) Suppose there are some other webpart which is already installed in SharePoint site. So exactly how I’m going to manage and use JQuery and Jquery UI so that it does not conflicts with other Jquery /JQuery UI plug-in used by other webparts (from other vendor) in the page.

2) Can you explain me exactly how two different versions of JQuery /Jquery UI can work in same page. Im using jQuery v1.5 and JQuery UI v1.8.

Currently I’m including jquery and jquery Ui lib using the code below and everything is working when I write code using $(selector).opetaions().opetaions()….. but I have the above confusions in mind.

public static void IncludeScript(Page page, String key, String location)
        {
            if (!page.ClientScript.IsClientScriptIncludeRegistered(key))
                page.ClientScript.RegisterClientScriptInclude(key, location);
        }

        public static void LoadCSS(Page page, String src)
        {
            HtmlLink css = new HtmlLink();
            css.Href = src;

            css.Attributes["rel"] = "stylesheet";
            css.Attributes["type"] = "text/css";
            css.Attributes["media"] = "all";

            page.Header.Controls.Add(css);
        }

All please guide me by sharing your thoughts.

Thanks.

  • 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-24T12:41:18+00:00Added an answer on May 24, 2026 at 12:41 pm

    There are actually several risks here:

    1. risk of conflict with other jQuery versions
    2. risk to erase a jQuery plugin already installed by another Web Part (or the page itself)
    3. risk that another Web Part (or the page itself) erases a jQuery plugin installed by your Web Part

    To prevent 3/, you can use noConflict(true) in your own code (note the “true” argument):
    http://api.jquery.com/jQuery.noConflict/

    To prevent 1/ and 2/, you would need to check if (window.jQuery) is already present on the page before loading your own version.

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

Sidebar

Related Questions

I currently developing an hotel web site and they use the iHotelier system. I
Currently developing an application for Windows Phone that makes use of the bing maps
Im currently developing a MVC application Framework and I have come for some advise
I am currently developing an app for iPhone. I have finished most of it,
I am currently developing a wiki and will keep posting information into the wiki.
I'm currently developing a toolbar for chrome and i have some issues with my
I currently developing a ASP.NET web application. The application is designed for Google Chrome.
Im currently developing a java web application, and im researching how i should combine
I am currently developing an app where the main screen hasn't got an actual
I'm currently developing an app that needed to associate with different file types (PDF

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.