Solved

How to catch onclick on treeview inside update panel  with (onCollapse & on Expand trigger) on update panel triggers ,

Posted on 2011-02-13
4
546 Views
Last Modified: 2012-05-11
I have a treeview inside an ajax update panel with ONCollapse & onExpand to trigger the update panel. This is in the masterpage and when clicked i trigger with delegate the inside page, but since i made the update panel, i cant catch the onclick event. I need the treeview on the update panel because i keep its state for retaining the Expanded/Collapsed through the website
public delegate void mstDelegate(object sender, System.EventArgs e);
    public partial class eshop_en : System.Web.UI.MasterPage
    {
        SqlConnection connection10 = new SqlConnection();
        SqlConnection connection100 = new SqlConnection();
        SqlConnection connection200 = new SqlConnection();
        SqlConnection connection300 = new SqlConnection();

        public string[] op = new string[30];

        private string slectedValue;
        public string SlectedValue
        {
            get { return slectedValue; }
            set { slectedValue = value; }
        }
        public event mstDelegate TreeViewEvent;
       
        protected void Page_Load(object sender, EventArgs e)
        {

Open in new window

0
Comment
Question by:rodojohn
4 Comments
 
LVL 6

Accepted Solution

by:
kswathi earned 500 total points
ID: 34886195
0
 

Author Comment

by:rodojohn
ID: 34886213
thanks kswathi i ll look it up, although i believe this solution causes postback wich i want only on the Onclick and not in expand/collapse
0
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 35906827
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
EF5: Question about Metadata Artifact Processing 4 15
Hey!! 5 33
.NET 2008 VB and C# 6 27
Expression Evaluater 3 24
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now