NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Gordon Holfelder on December 30, 2010, 08:52:55 AM
-
Hi All-
I've moved some of the update forms to popups (originaly just forms) and now the save button is no longer styled (appears to be missing the class attribute) I switch them back and the style comes back. The "Cancel" button is styled correctly though. I've compared my code to some of the examples and I can't see any difference. These are update forms are using "Memory" as the source.
Any ideas what I might be missing?
Using C7.2 / 5.09
Thanks,
Gordon
-
hmm - nothing springs to mind Gordon.
Usually the save button on a form is styled.
Are you using the "normal" save button, at the bottom of the form, or a "save button control" as a button type on the form?
cheers
Bruce
-
Hi Bruce-
This is just using the "Include Save/Close button" from the NetWebForm layout tab. If this helps, here is the code from fire bug (save and cancel buttons):
<button title="Click on this to Save the form" onclick="ntd.save();" value="Save" id="save_btn" name="save_btn" type="button">Save</button>
<button title="Click on this to Cancel the form" onclick="ntd.cancel();" value="Cancel" id="cancel_btnVMBG" name="cancel_btn" type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-cancel"></span><span class="ui-button-text">Cancel</span></button>
Thanks,
Gordon
BTW - Happy new year!
-
Hi Bruce-
Found it! I didn't have the "Use Button sets for..." options checked in the NetTalk object settings checked.
Hope this may help someone else.
Gordon
-
hmm - you don't _have_ to have button-sets ticked on - but I usually do - so I'll run a test with it off.
cheers
Bruce
-
fixed for next build.
cheers
Bruce