Re: Custom Reusable RadConfirm Box

1 posts, 0 answers
  1. Donald McLean
    Donald McLean avatar
    30 posts
    Member since:
    May 2010

    Posted 29 Mar 2018 Link to this post

    I am looking to customize RadConfirm box, I want to have the buttons say ok cancel or yes no and no close button,

    <input id="btnReadOnly" type="button" runat="server" onserverclick="btnReadOnly_Click" class="cursorPointerControl"
    onclick="if (!ReadOnlyConfirmation()) return false;"
    value="Click to make inspection read only." />

    function ReadOnlyConfirmation()
    { return confirm('Are you sure you wish to make this record read-only?'); }

    I would like to reuse the confirm box for other pages. I tried using a radwindow with my custom confirm page. However, I couldn't get it to return the value back to the button. Any help would be greatly appreciated.

Back to Top