Hi,
Is it possible to set the standard value for a hidden field, to be a session variable?
--
Best regards
Kurt Moskjaer Andersen
Hi,
Is it possible to set the standard value for a hidden field, to be a session variable?
--
Best regards
Kurt Moskjaer Andersen
Hi Kurt.
That is not possible. You can in a Razor template do something like this:
<script>
document.getElementById("hiddenfieldName").value = '@HttpContext.Current.Session.Item["Somevariable"]';
</script>
Hi Nikolai,
Okay, I will have to do that then.
Thanks :)
/Kurt
You must be logged in to post in the forum