Nodes and Documents API Options
mifla
Posted: Monday, September 29, 2008 1:26:18 PM
Rank: Newbie

Joined: 9/25/2008
Posts: 7
Location: Colombo
Hi,

im trying to use nodes. I keep on getting this error. I serched the forum,but the answers i found didnt wrk out. Would appreciate if some1 cld help me out on this.

Quote:
The type initializer for 'Nested' threw an exception.


My Code

Code:
umbraco.presentation.nodeFactory.Node n = new umbraco.presentation.nodeFactory.Node(1510);


could someone pls show me the way to get the properties of a document by the way of code?i have tried many samples,but of no avail,they have been returning no properties at all.

i have also tried to get the xml out put of a document,it returns an emty string,but i checked the non-public properties of the doucment i can see the xml,its just that this method doesnt seem to be returning it. Am i missing something?i hve a tight deadline this week , i need to get these resolved. would apprecite if some1 cld kindly answre my queries.

Code:

                XmlDocument xdoc=new XmlDocument();
                tempDocument.ToXml(xdoc, false);


Thnks
Mifla
mifla
Posted: Tuesday, September 30, 2008 4:44:38 AM
Rank: Newbie

Joined: 9/25/2008
Posts: 7
Location: Colombo
Hi All,

Can someone pls shed some light on this?

Kind Reg,
Mifla
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.