Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
[^]

[^]

<ul class="row-list">
@foreach (var item in Model)
{

        if (item.SubCategoryIsHome == true)
        {

            if (selectedSubCategory != null)
            {

                if (item.Name == string.Intern(selectedSubCategory.ToString()))
                {
                <li><a href="@Url.Action("SubList", "Home", new { id = item.Id })">@item.Name</a></li>
                }
                else
                {
                <li><a href="@Url.Action("SubList", "Home", new { id = item.Id })">@item.Name</a></li>
                }
            }
            else
            {
            <li><a href="@Url.Action("SubList", "Home", new { id = item.Id })">@item.Name</a></li>
            }
    }
}


What I have tried:

Thats my problem. Iphone X looks in samsung and iphone category. i just want you to see it in the iphone category. Sorry for bad english, i hope you understand. Thank you.
Posted
Comments
Ehsan Sajjad 3-Jan-18 5:35am    
your questions is not clear enough that what is the actual issue

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