473,659 Members | 2,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Treeview(asp.ne t 2.0) with check boxes

Hi,
i'm using the Treeview contol in asp.net 2.0 (present in VS2005
toolbox).
i'm having checkboxes for all the nodes in the treeview.All i want to
have is that
On Checking a checkbox for a parent node ,the checkboxes for all the
child nodes
must get checked---this functionality should be implemented on the
client side,using javascript.
can i postback the page every time i check a chechbox?

thanks
pushpendra

May 3 '06 #1
0 1013

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1749
by: dolberg | last post by:
Hi, I have a Treeview containing groups and groupmembers and I would like to have the childnodes (groupmembers) checked when checking a parent node (a group). This is no problem using the TreeNodeCheckChanged-event. The problem is that a post-back is required to fire the event, and checking a checkbox in the Treeview doesn't cause a postback. Is there someway to force a postback or some other way to fire an event when checking a...
1
1745
by: Tom John | last post by:
Hi Can anyone advise me if there is any way of getting a Treeview Check box to show the three stages of being checked: 1. Blank 2. Checked (Gray Background) 3. Checked (Cleaar Background) Not sure if it's possible, would be handy to know for sure.
0
1219
by: SamSpade | last post by:
Below is how I add the drives to an explorer like TreeView. What I don't know how to do is to add an Icon for MyComputer. Any help would be appreciated. Dim SysIconList% = WinApi.SHGetFileInfo(IntPtr.Zero, 0, SFI, Marshal.SizeOf(SFI), Win32.Shell.SHGFI_SYSICONINDEX +
0
825
by: Tom | last post by:
I have a treeView menu on my master page and I have a few questions on it 1) how can I get the menu to stay expanded when a user selects a child node and not flicker the page? 2) how can I have the selected node highlighted? 3) when a node does not have a child node, can I removed the arrow to the left of the parent node? I only want parent nodes with children to have an indicator. thanks
0
1051
by: vincenzo.papa | last post by:
I' ve got a TreeView asp.net 2.0 and I'm working in "ajax" way to allow the nodes charge without the page postback. But I noticed that the TreeNodePopulate is called back just the first time tha a node is expanded. In fact,after the call at first expand, even the javascript of reference changes! (from TreeView_PopulateNode into javascript:TreeView_ToggleNode) Is it possible to call it back each time I expand a node? Or : is it...
0
1294
by: Erland | last post by:
Hello all, I have just installed visual studio .net 2005 and started developing programs in asp.net 2.0. I have a scenerio where I have to populate treeview child nodes based on the entries being entered in textbox,but there is this thing I need to consider. Values in treeview nodes should be populated as nodes, all child nodes in this case, as soon as vales are being entered in textbox. That is to say, if I enter H in textbox then H...
1
1119
by: Kenichi777 | last post by:
I have a treeview wich populates from a xml file - it all works dandy... this is my xml file... <?xml version="1.0" encoding="utf-8"?> <ProductsList> <Category Name="Coffee"> <Products>1231</Products> <Company>qwd</Company> <Information>qdwd</Information> </Category>
2
3239
by: =?Utf-8?B?bWFib25k?= | last post by:
I'm using a treeview control. One parent node, several child nodes, several grandchild nodes. Each of the nodes has a checkbox. My question, when the user changes the check value of one of the grandchild nodes to true how do I automatically change that node's parent to check-true and so on up the tree.....and in reverse if the parent is changed to check-false how do I cascade that down to each of the child nodes and their child nodes.
1
2559
by: kashif73 | last post by:
Hi I am pretty new to ASP.NET. I have inserted a Treeview control in my page, which display directory information & all the different files contained in it in a DataList infront of it. My question is how can I make users to OPEN or DOWNLOAD these files. rightnow throuh this code only the name of the file is displayed in DataList, I want them to open in their respective programs & be downloaded as well. Thanks. PictureTree is my TREEVIEW & ...
0
8427
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8332
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8525
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8627
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6179
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2750
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.