Practice 1 - Creating a Panel with a SushiElement inside

Creating a Panel and adding a Sushi Button inside:

@Html.Sushi().Panel().AddElement( 
   @Html.Sushi().Button().SetCaption("Hello Sushi") 
)
generated html:

<div class="well" id="SushiPanel1">
 <a class="btn btn-normal btn-primary" id="SushiButton1">
    Hello Sushi
 </a>
</div>

image generated

Practice 1

Last edited May 14, 2012 at 2:21 PM by jmanuelcorral, version 4

Comments

No comments yet.