I'm trying to get the Id from a hidden input in an xslt extension. However, the value of this input is blank because the macro seems to evaluate before OnInit, Render, OnPreRender or OnLoad where I am setting the value (I have overridden the umbraco.presentation.masterpages._default).
At what point are macro's evaluated in the page lifecycle and where in the lifecycle can I set my hidden input value in order for the control to have a value when the xslt calls my extension function?
Page life cycle and umbraco macros
Hi,
I'm trying to get the Id from a hidden input in an xslt extension. However, the value of this input is blank because the macro seems to evaluate before OnInit, Render, OnPreRender or OnLoad where I am setting the value (I have overridden the umbraco.presentation.masterpages._default).
At what point are macro's evaluated in the page lifecycle and where in the lifecycle can I set my hidden input value in order for the control to have a value when the xslt calls my extension function?
Any ideas greatly appreciated!
Regards,
Rob
I should say the input has runat="server"
I've got around this by sticking the string in HttpContext.Items which works a treat.
For clarification the string value stored in the input is used to identify a page loaded by an ajax request which is initialised using jquery.
Cheers,
Rob
is working on a reply...