jeudi 2 juin 2016

Reading HtmlHelper data without postback in MVC

I've added a checkbox in cshtml file like this :

   @Html.CheckBox("ckShowAll",true)

In the same file i need to test if it's checked or not, I'm stuck here , any idea how can i proceed without doing a postback?

thanks,

Aucun commentaire:

Enregistrer un commentaire