CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
   Explore    Item Entry    Profile    Invite   History    Resources   SiteMap  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML




Zone: > newsgroup > asp.net forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/28/2007 11:21:39 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
pranalee
Asp.Net User
How to refresh treeview nodes in C#9/28/2007 11:21:39 AM

0/0

Hi..

Can anyone help me.. how to refresh treeview nodes in C# (while adding nodes and deleting nodes)

thanks in advance

Amanda Wang - M
Asp.Net User
Re: How to refresh treeview nodes in C#10/1/2007 5:37:30 AM

0/0

Hi,

You can try to use the javascript to refresht the treeview, and call the function when you  added the nodes or deleted nodes in the code benhind.

Below is some sample code:

1. Javascript:

function postBackByObject()
{
       __doPostBack("","");
}

 2. call the javascript in the codebehind:

Page.RegisterStartupScript("ggg","postBackByObject()");

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
2 Items, 1 Pages 1 |< << Go >> >|



Search This Site:





Other Resources:
Populating a list drom database - macromedia.dreamweaver - Web ... tree view nodes and child nodes csharp. old master page replaced ... need to make bottom level of tree view control not clickable. auto refresh dll reference ...
Read from Master of a Master!!! (not 1 master but 2) - newsgroup.asp ... Master Language="C#" MasterPageFile="~/Default.master" ... nocache, refresh prompt, forms authentication ... expand/colapse node in treeview by clicking text. ...
CodeProject: How to fill hierarchical data into a TreeView using base ... This tutorial shows how to use the System.Windows.Forms.TreeView control in a ... retrieves the data from the DataSet and creates associated nodes for the tree view. ...
How to display grouped data in a ListView? - MSDN Forums treeView2->Refresh(); treeView2->ExpandAll(); //load node treeView di sini! i++; ... And also how to do multiple row deletion and delete the treeView nodes as well? ...
TreeView without page refresh by ASP.NET 2.0 and C# This tutorial will show you how to work with TreeView control to display folders and file names without refreshing web page by C# and ASP.NET 2.0.
CodeProject: How to populate a TreeView using the MVC pattern. Free ... ... point is to move all the code needed for your nodes in your TreeView to another class. ... (Refresh) Subject. Author. Date -- There are no messages in this forum ...
TreeView without page refresh in ASP.NET 2.0 and C# - 123aspx.com ... This tutorial will show you how to work with TreeView control to display folders and file names without refreshing web page by C# and ASP.NET 2.0.
ASP.NET Treeview control - How to move selected node up/down using ... ... by C# code easy and handle, if you want make it no refresh, put the TreeView in ... (TreeNode)Node.Clone(); if (Node.Parent == null) { TVdepartment.Nodes.Insert ...
TreeView without page refresh by ASP.NET 2.0 and VB.NET This tutorial will show you how to work with TreeView control to display folders and file names without refreshing web page by VB.NET and ASP.NET 2.0.
TheMSsForum.com >> Asp >> How to find a node in a treeview? - The ... I did find this example in C# but am not 100% sure it will do the same thing? ... new culture takes effect I need to refresh the current page preserving the URL ...
PerfMon Sample: Demonstrates How to Monitor System Performance Using ... Visual C# Samples ... Using the TreeView control, TreeNode class, and ... The tree view in the left pane will contain all of the performance categories and the ...
How to read xml file nodes (vb.net) Catalog), and how to find what the other node is called (in this case ' ... How to populate a treeview from a dataset. Form Localization ...
 
All Times Are GMT