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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:12:23+00:00 2026-05-13T18:12:23+00:00

Has anyone ever been successful at getting the SimpleModel jquery pluggin to work in

  • 0

Has anyone ever been successful at getting the SimpleModel jquery pluggin to work in asp.net mvc? If so how did you implement it, I can’t seem to get the dialog to even display.

  • 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-13T18:12:23+00:00Added an answer on May 13, 2026 at 6:12 pm

    I am assuming you are talking about the SimpleModel jquery plugin found at http://www.ericmmartin.com/projects/simplemodal/ and that you’ve already got a basic ASP.NET MVC application setup.

    I am going to run through how you can get the Basic Modal Dialog example working.

    Get the plugin files into your ASP.NET MVC application

    1. Download the example from the demos link on the link above and unzip it.
    2. Copy the basic.css and basic_ie.css files into the Content folder of your ASP.NET MVC application.
    3. Also copy the img folder into the Content folder of your ASP.NET MVC application.
    4. Lastly, copy the javascript files in js folder into the Scripts folder of your ASP.NET MVC application.

    Reference the stylesheet and javascript files in your application

    Open your Site.Master file under Views\Shared and paste the code below before the </head> tag

    <link type='text/css' href='../../Content/basic.css' rel='stylesheet' media='screen' />
    <!-- IE 6 "fixes" -->
    <!--[if lt IE 7]>
    <link type='text/css' href='../../Content/basic_ie.css' rel='stylesheet' media='screen' />
    <![endif]-->
    
    <script type='text/javascript' src='../../Scripts/jquery.js'></script>
    <script type='text/javascript' src='../../Scripts/jquery.simplemodal.js'></script>
    <script type='text/javascript' src='../../Scripts/basic.js'></script>
    

    Finally, call the dialog in your view

    For example in Index.aspx, you can paste the following code:

    <div id='basic-modal'><h2>Basic Modal Dialog</h2>
    <p>A basic modal dialog with minimal styling and without any additional settings. There are a few CSS attributes set internally by SimpleModal, however, SimpleModal relies mostly on external CSS for the look and feel.</p>
    <input type='button' name='basic' value='Demo' class='basic demo'/> or <a href='#' class='basic'>Demo</a>
    </div>
    
    <div id="basic-modal-content">
            <h3>Basic Modal Dialog</h3>
            <p>For this demo, SimpleModal is using this "hidden" data for its content. You can also populate the modal dialog with standard HTML or with DOM element(s).</p>
            <p>Examples:</p>
            <p><code>$('#basicModalContent').modal(); // jQuery object; this demo</code></p>
            <p><code>$.modal(document.getElementById('basicModalContent')); // DOM</code></p>
            <p><code>$.modal('&lt;p&gt;&lt;b&gt;HTML&lt;/b&gt; elements&lt;/p&gt;'); // HTML</code></p>
    
            <p><a href='http://www.ericmmartin.com/projects/simplemodal/'>More details...</a></p>
    </div>
    

    Hope that helps.

    Matrich

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

Sidebar

Related Questions

Has anyone ever done work to get Ruby to do continuations (like Seaside on
Has anyone ever tried, or had any success at getting Wascana (Eclipse CDT +
Has anyone ever set up Cruise Control to build an OS X Cocoa/Objective-C project?
Has anyone ever heard of a UNIX shell written in a reasonable language, like
Has anyone ever seen the storage class auto explicitly used in C/C++? If so,
Has anyone ever used the Bridge pattern in a real world application? If so,
Has anyone ever modified the post-new.php file in their WordPress installation? I want to
has anyone ever tried to get the list of all the movieclips (even the
Has anyone here ever used C++'s placement new? If so, what for? It looks
I'm wondering whether anyone here has ever used a skip list . It looks

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.