Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Jan 2011 03:09 PM by  Steve L
Stying Treview control with CSS for Categories
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:
New Member


--
24 Jan 2011 05:34 PM
    I'm working with a skin designer to implement the RevIndex store on a new site. Are there any options to using the TreeView control to display the categories? It's rendering a table with no styling so we have no control over the look and feel of the categories dipslayed. I looked in the documentation but there's not much on how the define a temlate for the categories. When I try to create a new template all I get is <asp:TreeView ...> Do we have any options here?

    We've done some research and found a TreeView adapter that will render the tree as a list instead of a table which is much more CSS-friendly. But those changes need to be done at the source code level.

    Please let me know what we can do here. Thanks!
    0


    Veteran Member


    Posts:2974
    Veteran Member


    --
    24 Jan 2011 05:55 PM
    Hi, you don't need source code access.

    Take a backup of your site. Download the CSSFriendly.dll and the CSSFriendlyAdapter.browser files from http://cssfriendly.codepl...m/releases/view/2159
    Copy the CSSFriendly.dll to your bin\ folder and the CSSFriendlyAdapter.browser to your App_Browser\ folder. Refresh your web page. Voila categories in list.
    Note, understandably, this is a Microsoft adapter change for rendering CSS friendly HTML and falls outside of our standard software support.

    Enjoy!
    0


    New Member


    Posts:
    New Member


    --
    27 Jan 2011 03:54 AM
    We put the files in the folders indicated but it didn't make a difference. The categories still render as a table. Do we need to make any changes to any of the RevIndex files or templates? We have v1.12.1 installed. Thanks.
    0


    Veteran Member


    Posts:2974
    Veteran Member


    --
    27 Jan 2011 03:08 PM
    hmm... the rendering could be cached. It definitely worked on my side running ASP.NET 3.5 and I was able to see the treeview render as LI, UL elements following the same steps. You don't need to change templates.

    Can you try clearing the DNN cache and also recycle IIS app pool? Also, try checking the MS forum where you downloaded the files and see if someone else ran into similar issues.

    Thanks,
    0


    Veteran Member


    Posts:2974
    Veteran Member


    --
    27 Jan 2011 03:09 PM
    Also, try running it from a different browser and see if it helps. The browser adapter may be sensitive to which browser you're using.
    0
    You are not authorized to post a reply.