So I have 2 lists on CodeBehind, List<List<string>>
and List<string>
. Below is the code for the 2 lists.
loadTest1 = new List<string>();
loadTest2 = new List<string>();
loadTest3 = new List<string>();
loadTest4 = new List<string>();
loadTestList.Add(loadTest1);
loadTestList.Add(loadTest2);
loadTestList.Add(loadTest3);
loadTestList.Add(loadTest4);
I am planning to display EVERY string inside the 4 loadtest Lists content on a hidden div
. Below is the logic structure of what I am planning to implement. I want to generate an HTML CHIP for each string on all loadTests.
foreach (List<string> test in loadTestList)
{
foreach (string value in test)
{
<div class="chip">
value
</div>
}
}
How can I also append it in the hidden div
? Are there any plugins that I could use to make this easier?