Greetings All,

I'm relatively new to ASP.NET and I'm currently working on a site that has a treeview used to navigate through the site. The problem is the first page on the site (home page) when initally loaded pulls a ID from a URL via QueryString. This works when the site is initially loaded up but when I try to navigate away, then navigate back to the this page using the TreeView, the QueryString doesn't pull in the ID from the URL anymore. Anyone have a suggestion as to how to get around this?

Recommended Answers

All 2 Replies

is it necessary to get the id from url ? save it in any control to use again .

maybe use a session variable to store the id.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.