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 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

Ask A Question

Stats

  • Questions 302k
  • Answers 302k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Well, generally in MVC we don't directly save to Session,… May 13, 2026 at 8:28 pm
  • Editorial Team
    Editorial Team added an answer Apple's plist format is a good choice for hierarchical data… May 13, 2026 at 8:28 pm
  • Editorial Team
    Editorial Team added an answer Hy, you can use unsetChild to remove content from any… May 13, 2026 at 8:28 pm

Related Questions

First, let me use one sentence to let out some frustration: My god, developing
Has anyone ever been debugging in Visual Studio and it appears to execute different
We are trying to get WCF and Java talking to each other using SAML
Has anyone ever tried, or had any success at getting Wascana (Eclipse CDT +
Has anyone ever encountered an issue like this with Flash[as3] in IE8? I've noticed

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.