Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
We have foreach loop to iterate different reports with checkbox to show or hide, I have to add a text box to customize the name in future for particular report (text box should shown for particular report only not for all reports)
@foreach (var setting in Model.DashboardSettings)
           .HtmlAttributes(new {@class = "report-name", onclick = "setDisabledDashboards();"})

What I have tried:

I have tried with if condition , but none are work
Updated 21-Sep-22 23:28pm
Richard Deeming 22-Sep-22 5:29am    
You haven't shown the code you've tried, so we can't tell you what's wrong with it.

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

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