My method, which is in class inheriting Form:
public void MakeGroupBoxVisible()
this.Eval(@”alert(‘111’); ” +
App.EntryForm.MakeGroupBoxVisible(); ” +
(I see the ‘111’ alert but not the ‘222’).
but I can’t work out the syntax to change the visibility of a groupbox that I have in the form. The groupbox is directly on the form, not contained within another element. I have tried things like:
App.EntryForm.MyGroupbox.style.visibility = ‘visible’;
But no luck. Any ideas ?
I have tried calling the WebMethod (non static) in a simple sample and it works just fine.
For showing/hiding the GroupBox you could simple use the show() / hide () functions.
Do you get any errors in the Console ? Any chance to share a sample for both scenarios to see what could be different in your code ?
Thanks in advance.
Please login first to submit.