Skip to content
Advertisement

Tag: twitter-bootstrap

Validate ASP.NET Dropdownlist Control with bootstrap Validator

I have a asp dropdownlist <asp:DropDownList ID=”ddIndProvince” data-style=”btn-default” CssClass=”form-control input” runat=”server” AutoPostBack=”True” OnSelectedIndexChanged=”ddIndProvince_SelectedIndexChanged” TabIndex=”8″></asp:DropDownList> On Page load event I inserted “–Select–” item at index 0. Now I am facing problem while I am validating it with bootstrap validator. Its returning valid for “–Select–” item. like below image. How I can validate this.Below us my current script Answer bootstrapValidator is validating

Bootstrap navbar dropdown table without dropdown

How do you create the bootstrap dropdown without the actual button? I want to use this feature somewhere else. Without bootstrap (from http://www.w3schools.com/tags/tag_select.asp): I want what you get when you click on the button, but not the button. Bootstrap styling would be a plus. image from: http://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_dropdown-menu&stacked=h Answer You basically want to trigger the dropdown without manually having to click

Advertisement