473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Pop up not working on second click of a tree view node

I am using a TreeView which have few nodes that generate a popup panel. For this, I use the SelectedNodeChanged event and
then add the relevant modalpopupextender to the page.

This seems to work fine, but if the user clicks on the same node twice, the event doesn't fire a second time. I assume this is by design as the Node Selection hasn't changed, but i tried clearing the selection by writing the below code in the close event of a button whcih is present in the panel.

Expand|Select|Wrap|Line Numbers
  1.  
  2. TreeView1.SelectedNode.Checked=false
  3.  
But while debugging I am unable to reache that code.

Can anyone suggest where can the code be best reachable
Aug 24 '11 #1
1 2144
Frinavale
9,735 Expert Mod 8TB
The pop-up...is it shown using JavaScript?
Are you using UpdatePanels?

I'm not sure what you're talking about with regards to the code you've posted. Is it executed in the Button's Click event? If so, did you click the button?

-Frinny
Sep 1 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: johnny | last post by:
Is there a simple way to go trought all the nodes in a tree view in the same order they appear if you have no idea what the maximum depth is?
5
by: Pavan | last post by:
My goal is to accomplish the tooltip functionality for all the neodes in a tree view and i have the following three Events in my C# application. Name of my TreeView Control (AITreeView) 1)...
1
by: JN | last post by:
Hi All, I have a tree view which has parent nodes of each letter of the alphabet. The root node will be the customers name that relate to the parent node letter. I also have a gridview which is...
2
by: Jerry Langley | last post by:
Once a treeview node is selected how can I programmatically unselect it so that it might be selected again following the first selection if the user desires? The after selection event only fires...
3
by: Adam Honek | last post by:
Hi, I have the code below that I'm using in a tree view to detect what node the user has clicked on. It compiles but on runtime I get a type cast error. I've used this method for both the...
7
by: Adam Honek | last post by:
Hi all, How do we select a tree view's node outside of a tree view event? Looking through the lists there's no select function, the nearest I can find is GetNodeAt but this seems to want the...
3
by: Ron M. Newman | last post by:
Hi: I have a treeview The treeview has a node the node has a contextMenuStrip The contextMenuStrip.Items has a few items. Goal: I want one of those items to have a submenu. Is this...
1
by: Rich | last post by:
Another question from a noob. I need to use a Tree View and perform actions when the user clicks on nodes in the tree. I can manually add a handler function for NodeMouseClick, but this...
1
by: quantass | last post by:
Just a quick question in regards to the Obout Tree View. How do i go about adjusting the horizontal spacing before & after the plus/minus button for each node seperately? Also how do i adjust the...
0
sujathaeeshan
by: sujathaeeshan | last post by:
Hi , I am working on C#.net. I am not able to see the last tree node after scrolling the tree view scroll bar at the very first time after loading the view. Only after the explore of 2nd node...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.