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

In this step you'll add an input textbox that will display a numeric value no higher than 1000, no lower than -100, and with three decimal places. Complete the following:

  1. In the Solution Explorer, expand the Views | Shared folder and double-click _Layout.cshtml to open the file.
  2. Add the following markup within the <body> tags of the page. This markup will add the input textbox to the page.
        <div class="page">
            <div id="header">
                <div id="title">
                    <h2>Overview</h2>
    <div class="main demo">
    <!-- Begin demo markup -->
    <input type="text" id="textbox1" value="2.324" />
          <h6>Options</h6>
    <p>min=-100; max=1000; DecimalPlaces=3;</p>
    <!-- End demo markup -->
    </div>
    </div>
    </div>
    

 

 


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

Product Support Forum |  Documentation Feedback