Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 06-25-2009, 09:20 AM   #1
Red face


Hi All,

See my Default Page HTML code:

<frameset cols="25%,*">
<frame name="TreeView" src="TreeView.aspx" />
<frame name="DataDisplay" src="DataDisplay.aspx" />
</frameset>

I have a treeview (treeview nodes are created dynamically from a database) in TreeView.aspx. When the user clicks on the TreeNode, it should open some another aspx page in the right side frame called "DataDisplay".

I am using SelectedNodeChanged event in TreeView.aspx. Is this the right event to use? How to initiate aspx page in the second frame?

SelectedNodeChanged Event code:
protected void TreeView1_SelectedNodeChanged(object sender, EventArgs e)
{
string strSelected = ((TreeView)sender).SelectedNode.Value.ToString();

switch (strSelected)
{
case "Node1":
// Response.Write(strSelected);
// What code should I put here...
break;
}
}

Can anyone help me?


Sangeeth
Sangeeth is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RIP HD-DVD? - HD-DVD CES Event Canceled Air Raid DVD Video 0 01-05-2008 03:06 AM
How do find out if a button was clicked before the textchanged event of textbox fires Jack General Help Related Topics 0 10-27-2006 10:19 AM
Experts/Polls: Toshiba's HD-DVD dead in the water. Blu-ray will win. asj DVD Video 569 05-11-2006 01:26 AM
Re: GOD=G_uv HOW TO MAKE AN INVISIBLE GOD MOVIE George Hammond DVD Video 16 10-12-2005 10:56 PM
SUPER BOWL GALA EVENT, tickets available TheLeiterSideYGB DVD Video 1 01-06-2004 11:55 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46