Feb 19, 2013 at 10:49 AM
First of all, thank you for this module, it works pretty well for our use cases.

One problem I'm facing is with the option "hidebuttons". I can't figure out how to configure it correctly; it either crashes or shows the buttons. I tried (without "):
  • "hidebuttons" -> crashes
  • "hidebuttons=yes"
  • "hidebuttons=true"
  • "hidebuttons='yes'"
  • "hidebuttons='true'"
Thanks in advance for helping me out!

Mar 29, 2013 at 12:16 AM
Hi Markus,

If you check the source code you can see that the check for parameter "hidebuttons" is actually expecting value "false" to hide the buttons.
This seems like a bug but if you put hidebuttons='false' it works fine.

// Set HideButtons
        HideButtons = ((par.ContainsKey("hidebuttons") &&
                        String.Equals(par["hidebuttons"], "false", StringComparison.OrdinalIgnoreCase))
                       || Utility.FormType == Utility.FormTypes.ReadOnly);
All the best
Apr 29, 2013 at 1:37 PM
Hi Stefan!

Thank you for your reply! It works exactly as you described it - the "false" still seems kind of strange.