I want to reload a single current node from a usercontrol. Can somebody help me with the exact code.
Thanks,
Response.Redirect("/umbraco/editContent.aspx?id=1048");
Just replace the hardcoded id with Request.Querystring Id and I think that should work.
Cheers,
Richard
In the c# code of the usercontrol include the following namespace
using umbraco.presentation.nodeFactory;
Then you have access directly to the data of the currentNode:
protected void Page_Load(object sender, EventArgs e) { Node node = Node.GetCurrent(); string somevalue = node.GetProperty("field/alias-of-the-documenttype").Value; // do something with somevalue }
Regards, Nico