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