Coder Social home page Coder Social logo

bootstrapmvc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bootstrapmvc's Issues

bootstrap4 for mvc5?

Hi, quick question: how can one install bootstrap4 for mvc5?
Install the Core package and the Bootstrap4 package separately? Thanks!

Баг с созданием ссылок (.Href()) для элементов

При создании гиперсылки для элемента, необходимо явно указывать контроллер, при указании null ссылка на текущий контроллер не создается

@Bootstrap.Anchor("LinkName").Href("Index","Home", new { id= 1}) // ссылка создается
@Bootstrap.Anchor("LinkName").Href("Index",null, new { id= 1})  //ссылка не создается

InputType.Hidden?

Hi, I'd like to generate an input type=hidden field, but Hidden is not in the InputType collection. Any workarounds? (except Html.HiddenFor() )

Changing Label width on form

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

Html5 DateTime format string

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?

Readonly attribute

Hi, is there any way to inject a readonly attribute to any generated input fields?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.