Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  How does one grab the node text click event in the dnntree control?
Previous Previous
 
Next Next
New Post 6/23/2008 2:38 PM
User is offline andyah
35 posts
10th Ranked


How does one grab the node text click event in the dnntree control? 

Hey folks:

First of all, it was great meeting the guys on the core team during OpenForce.  It wasn't a big show, but it was a great opportunity and learning session.

Now to my problem.  We have decided to use as many of the DNN controls as possible, since we are building our app using DNN, it makes sense.  We're moving from Infragistics controls (ugh).  Anyway, I build a one-level tree of students. Here's how I describe the node for each student:

 

Dim onode As New DotNetNuke.UI.WebControls.TreeNode(snodename)"Click to access student report card"

onode.ImageIndex = eImageType.File

onode.Key = dr.GetString(dr.GetOrdinal(

onode.ClickAction = UI.WebControls.eClickAction.PostBack

onode.HasNodes =

"Student_id"))False

treeStudents.TreeNodes.Add(onode)

The above never traps the Node_Click event!  I get a postback, but there is no information on the postback that allows me to figure out the current selection. Can someone point me to a code example where the click event is successfully trapped?  Do I need to use Javascript for a 100% server-side event?

Thanks in advance for yer help.

onode.ToolTip =

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  How does one grab the node text click event in the dnntree control?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com
Powered by Adcuent®.Com
Adcuent® Consulting & Technology offers custom development web applications and hosting projects under the brand of Powered by Adcuent®.Com
www.adcuent.com
Easily Build DNN Solutions with XMod
XMod makes it easy to build news articles, house listings, custom feedback forms, product reviews and much more - without programming
www.DNNDev.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP