CodeVerge.Net Beta


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

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 7/11/2007 7:15:34 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 128 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
bcweed966
Asp.Net User
Responding to the check box being clicked in the Treenode of the treeView control7/11/2007 7:15:34 PM

0/0

helo everybody and thanks again for taking your time to answer my simple questions.

I am using a treeview control in which the nodes have a check box (so far all built in finctionality of the treeview).

How can I respond when a user checks or unchecks a check box? It is not clear how I can raise an evemt for that particular event

 

Thank you

Marc

Jeevi
Asp.Net User
Re: Responding to the check box being clicked in the Treenode of the treeView control7/12/2007 1:39:11 AM

0/0

hi,

  there is a default event available to capture this change, ie. "TreeNodeCheckChanged" event. u can apply this event in a code behind file (file with .vb extension) by selecting this event from the methods listed there, then u can add ur own validations there,

  something like this,

If e.Node.Checked = True Then
  urcode
Else
  urcode

End If

Hope it helps.

Amanda Wang - M
Asp.Net User
Re: Responding to the check box being clicked in the Treenode of the treeView control7/13/2007 9:37:07 AM

0/0

Hi Marc,

Please check this thread: http://forums.asp.net/t/1109288.aspx

 

hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
Jeevi
Asp.Net User
Re: Responding to the check box being clicked in the Treenode of the treeView control7/16/2007 1:41:28 AM

0/0

 also, make sure u set the "AutoPostBack" property into True.

hope it helps.

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
The ASP Column: Tree Controls with XSL TreeView nodes are represented by the TreeNode class, which includes several standard and self-explanatory properties such as Text and Checkbox. ...
CodeProject: ASP.NET TreeView Control & the Client's Browser. Free ... The TreeView control contains 1 – N tree nodes. A tree node represents an element in the ..... A CheckBox column that is can be used and bound in a DataGrid ...
Treeview in Asp.net Articles, samples and tutorials Aug 21, 2006 ... Click to select the check box for this Tree View control, ... Private Sub ChildNodes(ByRef menuNode As TreeNode, ByRef _dtTemp As DataTable) ...
FolderView ActiveX Control How-To Guide How can I customize the underlying treeview control? You should use the BorderStyle, HasButtons, ... How can show/hide the check box for individual nodes? ...
REPORT YOUR BUGS 2.0 - ASP.NET Forums in Netscape 7.1, Treeview not responding to node expand or collapse. ..... ...
The ListBox Control that each item in the list has a check box displayed in front of it ... The TreeView holds a Nodes collection, each item in which is a TreeNode object. ...
TreeView Members (System.Windows.Forms) AfterCheck, Occurs after the tree node check box is checked. ... HandleDestroyed , Occurs when the control's handle is in the process of being destroyed. ...
TheMSsForum.com >> Asp >> Cloning Treenodes - The Microsoft ... I can't get them to not respond to the mouse! The treenodes are in a content file and ..... I have a TreeView web control and an PlaceHolder web control. ...
ASP.NET 2.0 TreeView Urgent-please help-child repeater checkbox status ... Responding to Button control events when Button is added to a Table Control ...
CodeProject: DHTML Tree View of Arbitrary Depth using AJAX. Free ... This is a unique ID for the TreeNode that is being expanded. ... Build a tree in memory and pass it to the TreeView control. ...




Search This Site:










difficult to control the style of the menu in asp.net 2.0

contentplaceholder in master page won't stay in same position

asp.net menu control when using a staticitemtemplate; does not respond to events in ie6 or 7

creating menutree

help with mouse over

treenodecheckchanged does not work!!

are login controls ok in masterpages?

child pages and delayed response.redirect

property in master pages

treeview displaying files and folders

css background-image url location outside theme directory??

javascript function inside a masterpage

how does the masterpage know which contentpage is being loaded?

sitemap

lost sitemap while navigating new page

content page layout changes when opening a new window

accessing and loading controls in wizard template

bind a menu using sitemap without creating root node

newbie needs help with displaying image as a header <td>

amazing one but one customization question

referencing controls from master page.

container page_load called before master page_load so how do i do this

asp .net menu control moving around

dynamically create sitemapproviders

how can i use a link with the master page....

gradient backgrounds/borders in masterpage content pages ?

creating tabs on page

need advice on how to implement menu

treeview, direct link to a node: how to?

working with sitemap

  Privacy | Contact Us
All Times Are GMT