Create.cshtml


Dosyayı İndir
@model AspMvcJQuery.Sample

@{
    ViewBag.Title = "Create";
}

@using (Ajax.BeginForm("Create", "Partial", new AjaxOptions { HttpMethod = "POST", UpdateTargetId = "ResultsDivision" }))
{
    @Html.ValidationSummary(true)
 
    <fieldset>
        <legend>Sample</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.SampleName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SampleName)
            @Html.ValidationMessageFor(model => model.SampleName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SampleValue)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SampleValue)
            @Html.ValidationMessageFor(model => model.SampleValue)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SampleDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SampleDate)
            @Html.ValidationMessageFor(model => model.SampleDate)
        </div>

        <p>
            <input type="submit" value="Create" id="CreateSample" />
        </p>
    </fieldset>
    <div id="ResultsDivision">
      
    </div>
    
}

				
Dosyayı İndir

Bu Sayfayı Paylaş:




Bu Sayfayı Paylaş:

İletişim Bilgileri

Takip Et

Her Hakkı Saklıdır. Bu sitede yayınlanan tüm bilgi ve fikirlerin kullanımından fibiler.com sorumlu değildir. Bu sitede üretilmiş , derlenmiş içerikleri, fibiler.com'u kaynak göstermek koşuluyla kendi sitenizde kullanılabilirsiniz. Ancak telif hakkı olan içeriklerin hakları sahiplerine aittir