CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 9/14/2007 5:29:14 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 645 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
andrea_johnson
Asp.Net User
TreeView Checkbox9/14/2007 5:29:14 PM

0

Hello,

I'm populating the TreeView control from serverside with checkboxes.  When a user selects a parent checbox, Javascript client side code executes and selects all children below it.  However, when checking to see if which treeview item was selected by checking the node.checked property, it equals false even though it has been selected.  Does anybody have an idea why this is happening?  I'm checking the "checked" property on the node item using c# server side code.

 Thanks

 

bmains
Asp.Net User
Re: TreeView Checkbox9/14/2007 6:26:29 PM

1

Hey,

My assumption is that the treeview works in a different way; for instance, it may not necessarily take whatever was the last set value was (which javascript changes), but actually responds to a physical user click only instead.  If that is the case, I don't know how you can change the behavior of the control to do what you want to do.


Brian

"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
andrea_johnson
Asp.Net User
Re: TreeView Checkbox9/14/2007 6:36:37 PM

0

Thanks for your reply.  Not even the checkbox i initially selected equals true.  It seems like the server side does not recongize the javascript set attribute therefore the changes I made in javascript are not recongized when i check the "checked" property.  So if that is the case then is there a way to loop through the treeview in Javascript? 

bmains
Asp.Net User
Re: TreeView Checkbox9/17/2007 12:12:29 PM

0

You can use document.all and provide a tag name; if they are all checkboxes, you could provide the input tag and determine if it is a checkbox through the type.  The problem with the treeview is I don't know how many HTML tags it incorporates...  Probably several for the text and formatting as well... Could be difficult depending on what you want to do.


Brian

"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Visual Basic.NET black book Authors: Steven Holzner, Pages: 1144, Published: 2002
Learning C# 3.0 Authors: Jesse Liberty, Brian MacDonald, Pages: 665, Published: 2008
C# Cookbook Authors: Jay Hilyard, Stephen Teilhet, Pages: 1154, Published: 2006
Programming Visual Basic .NET Authors: Jesse Liberty, Dave Grundgeiger, Pages: 541, Published: 2003
MCAD/MCSD.NET: developing and implementing Windows-based applications with Microsoft Visual C# .NET and Microsoft Visual Studio .NET : exam 70-316 Authors: Amit Kalani, Ed Tittel, Pages: 1160, Published: 2002

Web:
TreeView.CheckBoxes Property (System.Windows.Forms) Gets or sets a value indicating whether check boxes are displayed next to the tree nodes in the tree view control.
checkboxes in treeview hi i have a dynamically generated treeview,which shows all the available books in a library. ....
TreeView: Enable checkboxes but hide checkbox for childnodes. This will hide the check box but it will still respond to check events. You also need to listen to the TreeView.BeforeChecked event and set ...
How to add CheckBox in TreeView Control Using ASP.Net 2.0 - .Net ... In this article I will try to explain you how you can add CheckBox in TreeView control. Here I will create a very simple program that adds the nodes to ...
CodeProject: XP theme aware TreeView control which supports ... Oct 10, 2003 ... TreeView supports checkboxes out of the box, the base functionalities like Node. Checked property and TreeView.AfterCheck event are provided ...

Treeview Checkbox PostBack issue - microsoft_downloads ... Treeview Checkbox PostBack issue, > ROOT > NEWSGROUP > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters, Date: 9/12/2006 ...
Adding checkbox to the treeview - microsoft_downloads ... Adding checkbox to the treeview, > ROOT > NEWSGROUP > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters, Date: 7/7/2006 ...
TreeView Checkbox - ng.asp-net-forum.internet_explorer_web_controls TreeView Checkbox, > ROOT > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls, Date: 9/14/2007 5:29:14 PM, ...
TreeView check boxes - ng.asp-net-forum.internet_explorer_web_controls NET TreeView CheckBoxes – Check All – JavaScript I have a Treeview control with checkboxes enabled inside a Ajax Update Panel. ...
No postback on checkchanged event of treeview control - ng.asp-net ... Unfortunately, the checkbox on the treeview does not produce a postback event on it's own. This is a limitation of the TreeView. ...

Videos:
Customized rad treeview control with checkboxes Handling a role permission matrix using telerik rad treeview control with customized checkboxes table
iTALC features discovery






i need help

using tabstrip in asp.net 2.0

error in display

inserting,deleting and modyfing treenode xml of treeview

problem deploying microsoft controls (multipage etc...)

treeview of ms ie web controls

drag and drop in treeview

treeview client-side expanding problem

client-side scripting for netscape

dll is missing when we run build.bat

please help - treeview state

problems with installation / vs.net toolbox

treeview

treeview without codebehind

check child node

parent-child relationship treeview control in asp.net v1.1.4322

treeview control

memory leak

code for ie treeview control with context menu

on firefox we get another treeview instance on click of the menu item

multipage and child controls.

tabstrip view

problem with treeview control...

== why tabstrip doesn't work in ie? ==

populating tree control

client side treeview with xml databinding using xmlhttp

how to build dymanic treenode with code behind?

printing tabs in ie...

can i get any .net developpped library with proper ui

treeview doesn't display correct on some clients

   
  Privacy | Contact Us
All Times Are GMT