November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hello Svein
At first glance your code looks OK. I can only think that perhaps something has gone wrong with the TimeUnit property on the model. Have you tried creating a more simple version just using strings?
You should also check out the console to look for any javascript errors that are not being displayed to end users when the criteria loads.
I recently posted a simple set of criteria for cookies so perhaps you could start with mine and refactor until you find the issue? https://github.com/davidknipe/CookieVisitorGroupCriteria
David
try
[DojoWidget( DefaultValue = 1), Required, Range(1, 999)] public int Number { get; set; }
Regards
/K
Thanks for the help (long time). I appreciate it! But unfortunately I was diverted into something else, so I never got to fix this, and now I don't even have the code any more. So I guess theres only one word to say: Sorry!
Hi, I am creating a custom SelectionCriterion (just for fun) for use with VisitorGroups, on EPiServer CMS (Product Version: 8.11.0, File Version 8.11.0.0 on EPiServer.dll).
It displays seemingly correctly in the EPiServer GUI, and no errors when cliking the Save button when creating a new visitor group.
However, if I go away from the page and then return to the settings for the visitor group, the values which I selected are (seemingly) no longer set.
So did the settings get saved or not? How can I know?
If it's just a display problem, then that's not so bad, except it would be nice to be able to go in and see what the settings are.
Please help!
This is the model:
And here's the SelectionCriterion: