Welcome to the ASP.NET MVC feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET MVC, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote
When hidden type textbox is rendered, wrapper is not hidden.

Sample Link                     : https://www.syncfusion.com/downloads/support/directtrac/general/ze/Textbox_Hidden1006700726


 


Replication Procedure   :


1. Run the attached sample.

2. Wrapper border is visible for hidden textbox.

Screenshot:


Code Snippet:


<div>

    Hidden Textbox

        @Html.EJS().TextBoxFor(model => model.firstname).Type("hidden").Render()

</div>

<div>

    @Html.ValidationMessageFor(model => model.firstname)

</div>

<div>

    Visible Textbox

        @Html.EJS().TextBox("Visible").Render()

</div>