The single click ImageButton is used to avoid multiple postbacks/callbacks to the server. This feature is useful in scenarios where the developer should prevent
submitting of identical content multiple times to the server (e.g. when editing a data-base or sending an e-mail).
The following properties should be used to enable the single click functionality:
- SingleClick - determines whether the RadImageButton control will be immediately disabled after the user clicks it.
Set it to true to enable the single click functionality.
- SingleClickText - determines the text displayed in the RadImageButton control after the button is being clicked and disabled. The original text will be retrieved
after the server request execution. The property takes a plain text string.
The submitted text in processed on the server-side. Note that the method System.Threading.Thread.Sleep is used so that the disabled button can be examined after clicking it.