Hi Roman,
Thanks for the info, how best to proceed with that?
As I use a custom layout for the cookie web part, and am using deployment mode always on (so virtual files are source controlled) I've modified the code behind of my custom layout to:
private void SetComponents(bool visible, string text, bool allowAll, bool allowSpecific, bool allowDeny)
{
if (!visible)
{
this.Visible = false;
if (RequestHelper.IsPostBack())
ScriptHelper.RegisterStartupScript(this.Page, typeof(string), "hideCookie", "$(function() { $('.politicaCookies').animate({ bottom: -100 });});", true);
return;
}
However if there's a better method of handling the partial update, please advice.
Cheers,
P.