Posted on: 5/24/2011 10:06:45 AM | Views : 867

Hai people,

I am making an application which has on the frontpage links to pages which are in a treeview.
From the links on the homepage I go to the pages by a querystring, this works perfect. But when I click then on an other item in the treeview it just show the content to the querystring item because of the querystring but not of his own content.
This is the link on the homepage:
<asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/pagename.aspx?menuID=9">Read more</asp:HyperLink> This is my code which builds the treeview:
Imports System.Data Imports System.Data.SqlClient Imports System.Data.OleDb Imports System.Web.UI.WebControls Partial Class Mogelijkheden_Mogelijkheden Inherits System.Web.UI.Page Private Property dr As SqlDataReader Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ...

Go to the complete details ...