Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom 713 posts 954 karma points
    Apr 06, 2010 @ 02:30
    Tom
    1

    Chage Submit Button Text or use ImageButton Control

    Hi i was just wondering how or if it is possible to change the text/appearance of the submit button in contour.. i know with css you could do some things but I'd love to also change the text or use an asp.net image button.

     

    Can you have multiple buttons at the base of the form? ie submit/cancel?

    Cheers,

    Tom

  • Anders Burla 2560 posts 8256 karma points
    Apr 06, 2010 @ 11:11
    Anders Burla
    0

    Its not possible at the moment to have a custom submit button. You have to use jQuery to change the text or layout of the button. If you want, you can change some markup in a .Net file to change it permanent

    Multiple buttons is also not possible with "hacking" :)

  • Comment author was deleted

    Apr 06, 2010 @ 17:14

    Correct, it's a single button for the moment

  • Laurence Gillian 600 posts 1219 karma points
    Apr 07, 2010 @ 17:04
    Laurence Gillian
    0

    We have a similar requirement.

    Also a being able to inject a css class name into the div#contour would be great. This can be really useful when working with grid based designs. (not a huge huge issue as we can inherit this, but would be useful as it reduces a step of having to add a wrapping tag and also reduces the need for another DIV tag.

    Another thing we've picked up on is the css injection, can this be disabled? We have to override this anyway, so its a bit pointless having this code injected.

    Injected css in general, for example on the BR tag. If these could be replaced with css classes that would be great. Or even better be replaced with something along the lines of;

    <div class="clear">&nbsp;</div>

    Just a few thoughts! Great product, just always good to push some feedback erm back! :) Laux

  • Comment author was deleted

    Apr 07, 2010 @ 18:33

    Hey Laurence,

    You can disable the default stylesheet from being added (it's a setting on the form).

    Or am I misunderstanding your css injection question?

  • Laurence Gillian 600 posts 1219 karma points
    Apr 07, 2010 @ 18:56
    Laurence Gillian
    0

    Yep, disabling the stylesheet is great, but some CSS in added in to a style='' tag.

    Example below;

    <!-- Validation -->
    <span id="long_asp_tag" style="color:Red;display:none;"></span>
    <br style="clear: both;" />

    No point it being there if its being superseded by a CSS file (and its arguably not best practice either).

    I guess in a vague sense what would be great is... on the form designer there was an alternative view to see the 'code' editor; in here you could add these CSS values, etc or maybe just edit the code which produces the form. That way that could be passed nicely in as asp.net 'CssClass'.

    Thanks, Laurie

  • Comment author was deleted

    Apr 10, 2010 @ 11:42

    Hmm I guess its mainly the validators that have some a style attribute with some css. Will log this into our issue tracker and should be updated in the next release

Please Sign in or register to post replies

Write your reply to:

Draft