justdmitry / bootstrapmvc Goto Github PK
View Code? Open in Web Editor NEWWrite less bootstrap markup
Home Page: http://bootstrapmvc.net
License: MIT License
Write less bootstrap markup
Home Page: http://bootstrapmvc.net
License: MIT License
Hi, quick question: how can one install bootstrap4 for mvc5?
Install the Core package and the Bootstrap4 package separately? Thanks!
Из-за использования UrlHelper.RouteUrl()
генерируются адреса со случайным именем контроллера, если не указать его явно. А должен использоваться текущий контроллер, как при использовании UrlHelper.Action()
При создании гиперсылки для элемента, необходимо явно указывать контроллер, при указании null ссылка на текущий контроллер не создается
@Bootstrap.Anchor("LinkName").Href("Index","Home", new { id= 1}) // ссылка создается
@Bootstrap.Anchor("LinkName").Href("Index",null, new { id= 1}) //ссылка не создается
Hi, I'd like to generate an input type=hidden field, but Hidden is not in the InputType collection. Any workarounds? (except Html.HiddenFor() )
Hello Dmitry ,
How do I change the Label Width for the form? Looks like the property in not avaiable on "FormContent".
Could you provide an acessor to FormContent.Parent.LabelWidth ?
Thanks
Hi.
consider the following:
BootstrapMvc.Controls.Input.DateInputModeDefault = DateInputMode.Html5;
@Bootstrap.FormGroupFor(m => m.DateValue).Control(Bootstrap.Input(InputType.DatetimeLocal))
it generates the following output in Html:
<input class="form-control" id="DateValue" name="DateValue" type="datetime-local" value="2017-06-02T17:31:00.0000000">
The value is not well formatted. Instead of .ToString("o")
, it has to be .ToString('YYYY-MM-DD HH:mm')
explicitly. (Or even better, a custom DateTimeFormatString property).
I've tried to change it in \BootstrapMvc-master\src\BootstrapMvc.BootstrapCommon\Components\Form_Controls\Input.cs
but I can't compile the project in Visual Studio 2017, it seems like some circular reference regarding the GridSize struct.
I've tried to set NET451;BOOTSTRAP3, to no avail. Anyway at least VS2017 did the automatic xproj -> csproj conversion.
Any thoughts on how to upgrade and compile the project for .NET 4.6, MVC5?
Hi, is there any way to inject a readonly
attribute to any generated input fields?
Hi, is there any way to append/inject the necessary data-val* attributes from the Razor View layer?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.