Home Pictures of Buttons not appearing in Razor
Reply: 0

Pictures of Buttons not appearing in Razor

Anna Doe
1#
Anna Doe Published in 2018-02-13 14:29:19Z

I was following a tutorial on a Multiselect list box with two buttons but the buttons, which should be -> and <- are not appearing.

I have the fonts saved in my folder that are referenced and the js file that was in the tutorial is saved.

<div class="row">
        <div class="col-md-2">&nbsp;</div>
        <div class="form-group col-md-4">
            <label class="control-label">Assigned Ceremonies</label>
            @Html.ListBox("selectedOptions", (MultiSelectList)ViewBag.SelectedCeremonies, new { @class = "form-control" })
        </div>
        <div class="form-group col-md-1">
            <div class="form-group">
                <button type="button" id="btnRight" class="btn btn-warning btn-lg">
                    <span class="glyphicon glyphicon-arrow-right"></span>
                </button>
            </div>
            <div class="form-group">
                <button type="button" id="btnLeft" class="btn btn-success btn-lg">
                    <span class="glyphicon glyphicon-arrow-left"></span>
                </button>
                <div></div>
            </div>
        </div>
        <div class="form-group col-md-4">
            <label class="control-label">Available Ceremonies</label>
            @Html.ListBox("availOptions", (MultiSelectList)ViewBag.AvailCeremonies, new { @class = "form-control" })
        </div>
    </div>
    <div class="form-group">
        <div class="col-md-offset-2 col-md-10">
            <input type="submit" id="btnSubmit" value="Save" class="btn btn-default" />
        </div>
    </div>
</div>
}


<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    @Scripts.Render("~/bundles/multisel")
}

Anyone have any similar problems with Razor or am I just missing an image?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.313774 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO