Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Using Directoy information for the Hierarchal Data Source
posted

I want to create a menu listing of the files in a specific directory, is that possible?  Can you point me in the right direction?

Parents
No Data
Reply
  • 3726
    Suggested Answer
    posted

    Hi,

    It is possible. You can save the directory structure in an C# object and then use the ObjectDataSource and bind to it. You can also take a look on how to use hierarchical data source with WebDataMenu below.

    http://samples.infragistics.com -> ASP.NET -> WebDataMenu -> Hierarchical Data

    Check the sample code here:

    http://samples.infragistics.com/2010.3/WebFeatureBrowser/srcview.aspx?path=WebDataMenu/WebMenuHierarchical.src&file=WebMenuHierarchical.aspx&font=3

    Hope it helps.

    Thanks,

    Lubomir

Children
No Data