This is a migrated thread and some comments may be shown as answers.

row-cols-2 and form

1 Answer 208 Views
Form
This is a migrated thread and some comments may be shown as answers.
Dario
Top achievements
Rank 1
Veteran
Dario asked on 12 May 2020, 03:37 PM

I'm adding into a "container" a div "row" and "row-cols-2"

into a form tag.

<div id="generalPlaceHolder" class="row row-cols-2">
            <div class="col form-group">
                @Html.LabelFor(model => model.Date, htmlAttributes: new { @class = "control-label" })<br />
                @(Html.Kendo().DatePickerFor(model=>model.Date)
                      .Min(new DateTime(1900, 1, 1))
                      .Max(new DateTime(2099, 12, 31))
                      .Format("dd/MM/yyyy")
                      .Value(DateTime.Today).
                      HtmlAttributes("form-control"))
                <span asp-validation-for="Date" class="text-danger"></span>
            </div>
            <div class="col form-group">
                <label asp-for="Name" class="control-label"></label>
                <input asp-for="Name" class="form-control" />
                <span asp-validation-for="Name" class="text-danger"></span>
            </div>
            <div class="col form-group">
                <label asp-for="Name2" class="control-label"></label>
                <input asp-for="Name2" class="form-control" />
                <span asp-validation-for="Name2" class="text-danger"></span>
            </div>

but it not splits all "col" tags, 2 "col" object for every line.

Are there any compatibility problem with bootstrap v4 theme? Or in general with theme's telerik?

 

1 Answer, 1 is accepted

Sort by
0
Misho
Telerik team
answered on 15 May 2020, 12:52 PM

Hello,

Could you please isolate your full setup in a isolated sample runnable project where the issue  could be observed or a dojo sample and send it back together with the reproduction steps? In this way we will be enabled to run it locally, research the case on our side and do our best to provide you with more detailed information.

Thank you for your collaboration.

Best Regards,
Misho
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Form
Asked by
Dario
Top achievements
Rank 1
Veteran
Answers by
Misho
Telerik team
Share this question
or