MVC5 Classic
wijtooltip Step 1 of 3: Setting up the View

In this step you’ll add the markup to add content to the combobox. Complete the following:

  1. In Visual studio, select File | New | Project.
  2. Under Installed Templates, select Visual C#. .NET Framework 4 or above.
  3. Select C1 ASP.NET MVC 5 Web Application (if you haven’t installed this, see Installing the MVC Classic Template), enter a name for the application, and click OK.
    Your Wijmo project is created. You’ll notice it contains the Models, Views, and Controllers folders, which we will work with in the MVC Classic tutorials.
  4. In the Solution Explorer, expand the Views | Shared folder and double-click _Layout.cshtml to open the file.
  5. Add the following markup within the <body> tags of the page. This markup will add the tooltip content to the page.
    <div class="main demo">
                <!-- Begin demo markup -->
                <h3 id="tooltip"  class="ui-helper-reset ui-widget-header ui-corner-all" style="padding: 1em;">
                    <a href="#" title="tooltip">Anchor</a>
                </h3>
                <!-- End demo markup -->
                <div class="demo-options">
                    <!-- Begin options markup -->
                    <label>
                        Close Behavior</label>
                    <select id="closeBehavior">
                        <option value="auto">auto</option>
                        <option value="none">none</option>
                        <option value="sticky">sticky</option>
                    </select>
                    <!-- End options markup -->
                </div>
            </div>
    

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback