MVC4 Classic
wijdialog Step 1 of 3: Setting Up the View

In this step, you will add markup to add content to the dialog box.

  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 a dialog box to the page.
    <div id="dialog" title="The Cremation of Sam McGee">
      <p>
    There are strange things done in the midnight sun,<br/>
     by the men who moil for gold;<br/>
     The Arctic trails have their secret tales<br/>
     That would make your blood run cold;<br/>
     The Northern Lights have seen queer sights,<br/>
     But the queerest they ever did see<br/>
     Was that night on the marge of Lake Lebarge<br/>
     I cremated Sam McGee.
    </p>
    
See Also

 

 


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

Product Support Forum |  Documentation Feedback