Last post Mar 18, 2011 02:36 PM by pradip.bobhate
Mar 18, 2011 11:11 AM|deniz_seaside|LINK
I use Umbraco CMS and create a new member successfully. I stuck at a point which I need your guidance.
I want to let the user to edit its profile after login but I dont know how to pull the saved data and display to the user for editing.
The code snippet in the following gets the data.
ListBox lb = (ListBox)FindControl("JobDescription");
XPathNodeIterator pv = umbraco.library.GetPreValues(1166);
XPathNodeIterator pvValues = pv.Current.SelectChildren("preValue", "");
lb.Items.Add(new ListItem(pvValues.Current.Value, pvValues.Current.GetAttribute("id", "")));
it displays all the listbox but It should also show the selected listbox items. this is the point I stuck at.
Mar 18, 2011 02:36 PM|pradip.bobhate|LINK
Can you send me xml of XpathNodeIterator pv .
After looking at xml I can tell you how to modify code.
If you know xml structure then its good otherwise just put debugger and capure data xml node and reply to this post.
I will surly help you to modify code.
To get selected records you must know how to identy fiy selected node.