|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DataList inside a datalist.I have a series of data, each of which has children.
I want to be able to display them hierarchically, and edit them. I put 2 datalists on my webform, got them both working. Then, I put the child datalist in the ItemTemplate of the parent, and in the Item_Created of the parent, bound the item_command of the child. That works too - EXCEPT, when I click my child control's edit button, how do I get: 1) the child datalist control so that I can set the EditItemIndex? 2) Get the ID of the parent record so I can know which set of items I'm working with? 3) Is the Item_Command too late to access the e.Item.DataItem? Becuase when I do, it comes back NULL. Thanks in advance! - Nevyn Why not show the tree using Tree Control (in IEWebcontrols).
Clicking each node in tree should allow editing of the node. HTH CHeers, Gaurav Vaish http://mastergaurav.org http://mastergaurav.blogspot.com ----------------------------
Validation Summary Control not displaying MessageBox on web server
click on TreeNode User Control, vanishes Which event? Capturing event from other custom control within another custom control Free TreeView Controls ? Treeview control in VS2003 About the <Asp:Image> Re: Dynamic Sizing Based Upon the Parent Element's Width Textbox interpreting html tags (like the label) |
|||||||||||||||||||||||