This is a migrated thread and some comments may be shown as answers.

Re: Custom Reusable RadConfirm Box

0 Answers 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Donald McLean
Top achievements
Rank 2
Donald McLean asked on 29 Mar 2018, 08:17 PM

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.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Donald McLean
Top achievements
Rank 2
Share this question
or