.NETGURU
tree
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebcontrols' list.


Enki
-- Moved from [aspngibuyspy] to [aspngwebcontrols] by Yannick Smits <Click here to reveal e-mail address> --

Hi,
is there some working tree control for IBuySpy? I have problem with tree
control from MS, I think because it's inherited from different control.
Problem is in server events, when I set autopostback to true and want to set
session variable on SelectedIndexChange, this part of code does not work
(probably because link redirects before executes).
All I need is to make tree, which stays expanded on last selected value (on
differend pages), but it looks like unhuman target.
Or, other way: is possible to redirect to NavigateUrl by code after storing
session?
Adam

Reply to this message...
 
    
Vladimir Chernetsky
Hmm..I have no problem with keeping last selected
index in the session. Just place it in the Page_Load handler. Look:

private void Page_Load(object sender, System.EventArgs e)
        {
            if(!Page.IsPostBack)
            {
                ...
                Session["SelectedTreeCompanyID"] TreeCtrl.Nodes[0].NavigateUrl.Substring(TreeCtrl.Nodes[0].NavigateUrl.IndexO
f                    ("=")+1);
            }
        }

-----Original Message-----
From: Enki [mailto:Click here to reveal e-mail address]
Sent: Monday, June 17, 2002 6:45 PM
To: aspngwebcontrols
Subject: [aspngwebcontrols] tree

-- Moved from [aspngibuyspy] to [aspngwebcontrols] by Yannick Smits
<Click here to reveal e-mail address> --

Hi,
is there some working tree control for IBuySpy? I have problem with tree
control from MS, I think because it's inherited from different control.
Problem is in server events, when I set autopostback to true and want to set
session variable on SelectedIndexChange, this part of code does not work
(probably because link redirects before executes).
All I need is to make tree, which stays expanded on last selected value (on
differend pages), but it looks like unhuman target.
Or, other way: is possible to redirect to NavigateUrl by code after storing
session?
Adam

| [aspngwebcontrols] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngwebcontrols.asp = JOIN/QUIT
Reply to this message...
 
 
System.EventArgs
System.Web.UI.Page




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification