securityTrimmingEnabled Treeview Adapter

Last post 11-22-2006 9:01 PM by bdotjones. 5 replies.

Sort Posts:

  • securityTrimmingEnabled Treeview Adapter

    11-20-2006, 12:42 AM
    • Member
      240 point Member
    • bdotjones
    • Member since 10-24-2006, 11:01 PM
    • Posts 74

    Hi,

    I'm using the treeview adapter that is reading the links from a xml file and when i set securityTrimmingEnabled="true" in my XmlSiteMapProvider the treeview is not displaying at all..but if I set it to false then the treeview shows...can someone help me out with this...this treeview is an essential part of my application and i need to be able to set securityTrimmingEnabled="true"

    Thanx
     

    -bdot
    "There are only 10 kinds of people in this world. Those who understand binary and those who don't"
  • Re: securityTrimmingEnabled Treeview Adapter

    11-21-2006, 4:52 PM
    • Member
      15 point Member
    • aruan
    • Member since 06-05-2006, 6:38 PM
    • Posts 3

    I have the same problem for both treeview and menu. Please help.

     

    Thanks

  • Re: securityTrimmingEnabled Treeview Adapter

    11-21-2006, 6:35 PM
    • Contributor
      3,298 point Contributor
    • Russ Helfand
    • Member since 09-14-2005, 6:22 PM
    • Groovybits.com
    • Posts 741

    Have you determined if the problem(s) disappear if you remove/disable the adapters?

    To do so, you would temporarily get rid of the .browser file(s) you have in your App_Browsers folder.  It is in those .browser files that the adapters get enabled.  Temporarily getting rid of those files means you run you pages with the built-in ASP.NET rendering.

    So, you would want to test that the problem does (or doesn't) occur if you disable the adapters.

    As the author of the adapters I can tell you that I didn't put anything special into them to deal with security trimming.  I felt that that should be left up to the data provider that feeds the treeview or menu.  Do you agree?

    Russ Helfand
    Groovybits.com
  • Re: securityTrimmingEnabled Treeview Adapter

    11-22-2006, 9:41 AM
    • Member
      15 point Member
    • aruan
    • Member since 06-05-2006, 6:38 PM
    • Posts 3

    Thank you for the quick response. I deleted the .browser file. The problem is the same. The stiteMapPath control is working. Is there any difference between SiteMapPath and Menu?

     Thanks

  • Re: securityTrimmingEnabled Treeview Adapter

    11-22-2006, 10:15 AM
    • Member
      15 point Member
    • aruan
    • Member since 06-05-2006, 6:38 PM
    • Posts 3
    I think I solved the problem. I need to allow in the root.
  • Re: securityTrimmingEnabled Treeview Adapter

    11-22-2006, 9:01 PM
    • Member
      240 point Member
    • bdotjones
    • Member since 10-24-2006, 11:01 PM
    • Posts 74
    how did you solve it...what do u mean allow in the root
    -bdot
    "There are only 10 kinds of people in this world. Those who understand binary and those who don't"
Page 1 of 1 (6 items)