hi
i have problem in treeview. i create a program in asp.net and use treeview in master page. i have checkes as follows
Protected Sub TreeView1_TreeNodeDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.TreeNodeEventArgs) Handles TreeView1.TreeNodeDataBound
If Strings.InStr(e.Node.NavigateUrl.ToString, "?") > 0 Then
e.Node.Target = "_blank"
End If
Select Case e.Node.Text
Case "Daily Transaction Report"
Session("ReportOption") = "TransactionList"
Session("FrmDate") = FormatDateTime(Today, DateFormat.ShortDate)
Session("ToDate") = FormatDateTime(Today, DateFormat.ShortDate)
Response.Write("<script type='text/javascript'>detailedresults=window.open('frm_ReportView1.aspx',null, 'height=650,width=900,status=yes,toolbar=no,menubar=no,location=no');</script>")
Case "Transaction List"
Session("ReportText") = "Transaction List"
Case "Daily Purchase Journal?"
Session("FrmDate") = FormatDateTime(Today, DateFormat.ShortDate)
Session("ToDate") = FormatDateTime(Today, DateFormat.ShortDate)
Case "Daily Income/Expense Report"
Session("ToDate") = FormatDateTime(Today, DateFormat.ShortDate)
Case "Account Average and Revaluation"
Session("ReportText") = "Account Average and Revaluation"
End Select
End Sub
this code was working fine but now it is not working. last node value text is shows in e.node.text is any idea for this.