2
Answers

selected checkbox in mvc

Jithil John

Jithil John

9y
442
1
I have a checkbox to send mails in the view. But when I submitting the form all mails are send instead of the selected checkbox. How can I identify that selected one in my mvc application?
Answers (2)
1
Ramesh Palaniappan
NA 13.2k 722.6k 8y
  1. [WebBrowsable(true),
  2. WebDisplayName("ListName"),
  3. WebDescription("ThisAcceptstextInput"),
  4. Personalizable(PersonalizationScope.Shared),
  5. Category("WarrantyMessages")]
  6. publicstringlistName{get;set;}
above code will add webpart property name "List Name"
Accepted