Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
To look for current node we use ,
Node currentNode = Node.GetCurrent();
string myValue = currentNode.GetProperty("productDetails").Value;
lblProductDetails.Text = myValue;
but i have a got a scenario where i have to pass the property depending on the templates, i have got two templates which are using different document types, so if template1 get (Template1property1,......) similarly if Template2 get (Template2property1,......).
Is it possible to acheive something like this or is there a better way of working out this in a single user control,
Any assistance or help will be appreciated ,
Hi. "Node.GetCurrent().template" should return the template ID, I suppose.
OK and then you have the TemplateId but now how can you get the Template Node from the ID?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted