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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:44:30+00:00 2026-05-28T07:44:30+00:00

Does Jscrollpane wont work with Asp.Net as I am totally blank with a normal

  • 0

Does Jscrollpane wont work with Asp.Net as I am totally blank with a normal html page it works beautiful and when I add the same code to my .aspx page it shows me the normal scrollbars!

Here is my fiddle which works great!

And here is the same code in my aspx page where it is not working:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/jquery.jscrollpane.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-ui-1.7.1.js" type="text/javascript"></script>
    <script src="js/jquery.mousewheel.js" type="text/javascript"></script>
    <script src="js/jquery.jscrollpane.min.js" type="text/javascript"></script>
    <script src="js/demo.js" type="text/javascript"></script>
  <style type="text/css">
            /* Styles specific to this particular page */
            .scroll-pane
            {
                width: 100%;
                height: 200px;
                overflow: auto;
            }
        </style>
    <script type="text/javascript">
        $(function () {
            $('.scroll-pane').jScrollPane();
        });
        </script>
 </head>
<body>
    <form id="form1" runat="server">
                <div class="scroll-pane">
                <p>
                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in ligula id sem tristique ultrices
                    eget id neque. Duis enim turpis, tempus at accumsan vitae, lobortis id sapien. Pellentesque nec orci
                    mi, in pharetra ligula. Nulla facilisi. Nulla facilisi. Mauris convallis venenatis massa, quis
                    consectetur felis ornare quis. Sed aliquet nunc ac ante molestie ultricies. Nam pulvinar ultricies
                    bibendum. Vivamus diam leo, faucibus et vehicula eu, molestie sit amet dui. Proin nec orci et elit
                    semper ultrices. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus
                    mus. Sed quis urna mi, ac dignissim mauris. Quisque mollis ornare mauris, sed laoreet diam malesuada
                    quis. Proin vel elementum ante. Donec hendrerit arcu ac odio tincidunt posuere. Vestibulum nec risus
                    eu lacus semper viverra.
                </p>
                <p>
                    Vestibulum dictum consectetur magna eu egestas. Praesent molestie dapibus erat, sit amet sodales
                    lectus congue ut. Nam adipiscing, tortor ac blandit egestas, lorem ligula posuere ipsum, nec
                    faucibus nisl enim eu purus. Quisque bibendum diam quis nunc eleifend at molestie libero tincidunt.
                    Quisque tincidunt sapien a sapien pellentesque consequat. Mauris adipiscing venenatis augue ut
                    tempor. Donec auctor mattis quam quis aliquam. Nullam ultrices erat in dolor pharetra bibendum.
                    Suspendisse eget odio ut libero imperdiet rhoncus. Curabitur aliquet, ipsum sit amet aliquet varius,
                    est urna ullamcorper magna, sed eleifend libero nunc non erat. Vivamus semper turpis ac turpis
                    volutpat non cursus velit aliquam. Fusce id tortor id sapien porta egestas. Nulla venenatis luctus
                    libero et suscipit. Sed sed purus risus. Donec auctor, leo nec eleifend vehicula, lacus felis
                    sollicitudin est, vitae lacinia lectus urna nec libero. Aliquam pellentesque, arcu condimentum
                    pharetra vestibulum, lectus felis malesuada felis, vel fringilla dolor dui tempus nisi. In hac
                    habitasse platea dictumst. Ut imperdiet mauris vitae eros varius eget accumsan lectus adipiscing.
                </p>
                </div>

    </form>
</body>
</html>

Can anyone point out me the mistake I am doing as I don’t believe my eyes may be you’ll can find the better mistakes 🙂

demo.js contains:

$(function()
{
    // Copy the pages javascript sourcecode to the display block on the page for easy viewing...
    var sourcecodeDisplay = $('#sourcecode-display');
    if (sourcecodeDisplay.length) {
        sourcecodeDisplay.empty().append(
            $('<code />').append(
                $('<pre />').html(
                    $('#sourcecode').html().replace(/\n\t\t\t/gm, '\n').replace('>', '&gt;').replace('<', '&lt;')
                )
            )
        );
        $('#css-display').empty().append(
            $('<code />').append(
                $('<pre />').html(
                    $('#page-css').html().replace(/\n\t\t\t/gm, '\n')
                )
            )
        );
    }
});

This is the screenshot of my div with scrollbars:

enter image description here

  • 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-28T07:44:31+00:00Added an answer on May 28, 2026 at 7:44 am

    if you want to load them from your website, instead of external ones, use this code:

    <link href="/css/jquery.jscrollpane.css" rel="stylesheet" type="text/css" />
            <script src="/js/jquery-ui-1.7.1.js" type="text/javascript"></script>
            <script src="/js/jquery.mousewheel.js" type="text/javascript"></script>
            <script src="/js/jquery.jscrollpane.min.js" type="text/javascript"></script>
            <script src="/js/demo.js" type="text/javascript"></script>
    

    But make sure css and js folders are in root directory of your website!

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

Sidebar

Related Questions

I'm trying to use jScrollPane, but it does not work. I'm putting the scripts
I regularly use the jQuery jScrollPane plugin to add custom scroll bars to page
Does anyone know how to get IntelliSense to work reliably when working in C/C++
Does C# have built-in support for parsing strings of page numbers? By page numbers,
I'm using a JScrollPane on a login page, basically after successfull login, it'll go
I have been unsuccessful getting the mouse wheel to scroll a horizontal jscrollpane. Does
I have a JPanel inside the JScrollPane and it does that whenever I try
My jScrollPane (division) works well in IE and Chrome. It may be of some
Hi here it's the code of my scroll bar.unfortunately it does not work. how
Does Google force employees who have offers from Facebook to leave immediately?

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.