i386 Solutions
Skip Navigation LinksHome > Products > i386.UI ASP.net Controls > EnchancedButton Examples
Enchanced Button Control Examples
Enchanced Button
Each of the properties of the Enchanced Button control can be used in combination with each other to achieve the required action. Below you will find a demostration and ASP.net code.

Confirmation Message
If behind your button, your code execute some irreversible tasks, you should want to display a confirmation message box before validation the click. The property PopupMessage when containing a message, generates the popup for you.
<i386:EnchancedButton id="EnchancedButton3" runat="server" Text="Submit" ClickOnce="true" ConfirmationMessage="Are you sure?"/>


Click Once
Prevent a web user from clicking the button more than once.
<i386:EnchancedButton id="EnchancedButton2" runat="server" Text="Click Once" ClickOnce="True" />

private void EnchancedButton2_Click(object sender, System.EventArgs e)
{
Thread.Sleep(1000);
}



Navigate Url
Complete the click event and forward to another URL.

<
i386:EnchancedButton id="EnchancedButton1" ConfirmationMessage="Move to the homepage." ClickOnce="true" runat="server" Text="Next"NavigateUrl="/default.aspx" />


<i386:EnchancedButton id="ClickOnceButton1" runat="server" Text="Next" NavigateUrl="/default.aspx" />
i386 Solutions
i386 Solutions i386 Solutions
i386 Solutions i386 Solutions i386 Solutions