Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6560921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:31:25+00:00 2026-05-25T13:31:25+00:00

Project: ASP.NET 3.5 with C# I have this much :- A table which used

  • 0

Project: ASP.NET 3.5 with C#

I have this much :-
A table which used to store the “Folders”. Each folder may contain sub folders and files. So if I click a folder, I have to list the content of the folder.

So I want to tell the user where he is now some thing like the following

Parent Folder –> Child Folder1 –> Child Folder1_1

Which ASP.NET control should I use here? How can I accomplish this task?

I think SiteMapPath is the best option. What you think ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:31:25+00:00Added an answer on May 25, 2026 at 1:31 pm

    I hope the folder structure might be a dynamic one, so using SiteMap control is some what difficult. I will recommend you to manually do this my maintaining a ViewState/SessionState stored variable.

    Update the Variable/Property when you are changing the Folder.

     public System.Collections.Generic.List<string> FolderPath
        {
            get
            {
                if (ViewState["__FolderPath"] == null)
                    ViewState["__FolderPath"] = new System.Collections.Generic.List<string>();
                (System.Collections.Generic.List<string>)ViewState["__FolderPath"];
            }
            set
            {
                ViewState["__FolderPath"] = value;
            }
        }
        public string CurrentPath
        {
            get
            {
                //retrun the current path from the List FolderPath. ;
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a a subclass of Table in my ASP.NET project which creates.
The project is ASP.NET 2.0, I have never been able to reproduce this myself,
I have a ASP.NET project, in which I have a method with 10 local
In my asp .net C# project I have a page defualt.aspx on which I
I am in the start up of a project using ASP.NET MVC and have
I have a Silverlight project (with ASP.net MVC web project) Suddenly, when I press
On a recent project I have been working on in C#/ASP.NET I have some
I have an ASP.net project I'm looking at and they want to use MySQL.
We have CC.NET setup on our ASP.NET app. When we build the project, the
I have a UserControl in my Asp.net project that has a public property. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.