Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
good day

I have the following code ...
HTML
<div class="col-sm-10">
                <div class="radio">
                    <label>
                      <input type="radio" checked="" value="option1" id="optionsRadios1" name="optradio"/>Pagos Mensuales
                    </label>
                </div>
                <div class="radio">
                    <label>
                      <input type="radio" value="option2" id="optionsRadios2" name="optradio"/>Monto a solicitar por Cota
                   </label>
                </div>
            </div>

(This are in a form) as it can be seen in bootply if you can visualize Bootstrap[^]

but on my page is not displayed!! also wish to change the radiobutton click event and show a partial view... how can i show this from the controller ??

What I have tried:

i tryed with razor

@Html.RadioButton( name: "rdoPagosMensuales", value: "SelectedValue", isChecked: false)
Posted
Updated 17-Aug-16 3:50am

it was simply just change on my css file the display attribute

input[type="radio"] {
display: none; --> change for inline or block o inline-block
}
 
Share this answer
 
it was simply just change on my css file the display attribute

input[type="radio"] {
display: none; --> change for inline or block o inline-block
}

and for load the event i Use this recomendation in this page Load ASP.NET MVC Partial Views Dynamically Using jQuery | BinaryIntellect Knowledge Base[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900