locked
MVC CheckBoxListFor How to style? RRS feed

  • Question

  • Hi all!

    I using this: http://mvccbl.com/ and dont work fine me. :(

    Result :

    Checkbox
    Name

    I need to clear <br> tags
    fine result: Checkbox +Name

    My view:

      <div style="text-align:left">
            <label>Szerzők:</label>
            
                @Html.HiddenFor(model => model.PostedAuthorIds)
                @Html.CheckBoxListFor(model => model.PostedAuthorIds,
                                      model => model.AvailableAuthors,
                                      author => author.AuthorId,
                                      author => author.AuthorName,
                                      model => model.AuthorIsSelected,
                                      Position.Vertical
                                      )
           </div>

    BadResult

    Anyone know how to resolve? Thank you!

    Monday, September 16, 2013 11:11 AM

Answers

  • You should post to the Asp.NET forum where you can get help with ASP.NET.
    Monday, September 16, 2013 12:07 PM
  • Hi,

    The following is the forum for your question in asp.net forums.

    #MVC forums:
    http://forums.asp.net/1146.aspx/1?MVC .

    If you have any other question about WCF, Serialization, and Networking, then welcome to post it here.

    Best Regards,
    Amy Peng


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Tuesday, September 17, 2013 3:06 AM

All replies

  • You should post to the Asp.NET forum where you can get help with ASP.NET.
    Monday, September 16, 2013 12:07 PM
  • You should post to the Asp.NET forum where you can get help with ASP.NET.
    Ohh sorry, oke! Thank You!
    Monday, September 16, 2013 3:42 PM
  • Hi,

    The following is the forum for your question in asp.net forums.

    #MVC forums:
    http://forums.asp.net/1146.aspx/1?MVC .

    If you have any other question about WCF, Serialization, and Networking, then welcome to post it here.

    Best Regards,
    Amy Peng


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Tuesday, September 17, 2013 3:06 AM