acDevWBUIControls.net

ASP.NET AJAX controls with JQuery

  • Overview
  • Home
  • Functionalities
  • Embedded Icons
  • Images and Icons
  • Server-Side API and Events
  • Client-Side API and Events
UIButton - Home
<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="Default.aspx.cs" Inherits="UIButton_Example11.DefaultExample11Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="Style.css" type="text/css" rel="Stylesheet" />
</head>
<body>
    <script src="../../../Scripts/iframeResizer.contentWindow.js" type="text/javascript"></script>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="Default_Example11_smrMain" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="Default_Example11_uplMain" runat="server">
        <ContentTemplate>
            <div style="padding-top: 50px; text-align: center;">
                <div class="fieldsets_Container">
                    <fieldset class="fieldset_Box float_Left">
                        <legend class="fieldset_Legend">Button Types</legend>
                        <div>
                            <acdev:UIButton ID="Default_Example11_btnButton" runat="server" Text="Standard Button">
                            </acdev:UIButton>
                        </div>
                        <div style="padding-top: 20px;">
                             <acdev:UIImageButton ID="Default_Example11_imbButton" runat="server" Text="Image Button"
                                                  ImageUrl="Images/imgPen.gif">
                                <ImageStyle ImageCornerAlign="AlignTop" />
                            </acdev:UIImageButton>                 
                        </div>
                        <div style="padding-top: 20px;">
                            <acdev:UILinkButton ID="Default_Example11_lnkButton" runat="server" Text="Link Button"
                                                UseSubmitBehavior="true"></acdev:UILinkButton>                
                        </div>
                    </fieldset>
                    <fieldset class="fieldset_Box" style="flex: 4 0 0%; min-height: 100px"">
                        <legend class="fieldset_Legend">Clicking Results</legend>
                        <acdev:UILiteral ID="Default_Example11_lblResult" runat="server"></acdev:UILiteral>
                    </fieldset>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="UIButton_DefaultExample11Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Style.css" type="text/css" rel="Stylesheet" />
</head>
<body>
    <script src="../../../Scripts/iframeResizer.contentWindow.js" type="text/javascript"></script>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="Default_Example11_smrMain" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="Default_Example11_uplMain" runat="server">
        <ContentTemplate>
            <div style="padding-top: 50px; text-align: center;">
                <div class="fieldsets_Container">
                    <fieldset class="fieldset_Box float_Left">
                        <legend class="fieldset_Legend">Button Types</legend>
                        <div>
                            <acdev:UIButton ID="Default_Example11_btnButton" runat="server" Text="Standard Button">
                            </acdev:UIButton>
                        </div>
                        <div style="padding-top: 20px;">
                             <acdev:UIImageButton ID="Default_Example11_imbButton" runat="server" Text="Image Button"
                                                  ImageUrl="Images/imgPen.gif">
                                <ImageStyle ImageCornerAlign="AlignTop" />
                            </acdev:UIImageButton>                 
                        </div>
                        <div style="padding-top: 20px;">
                            <acdev:UILinkButton ID="Default_Example11_lnkButton" runat="server" Text="Link Button"
                                                UseSubmitBehavior="true"></acdev:UILinkButton>                
                        </div>
                    </fieldset>
                    <fieldset class="fieldset_Box" style="flex: 4 0 0%; min-height: 100px"">
                        <legend class="fieldset_Legend">Clicking Results</legend>
                        <acdev:UILiteral ID="Default_Example11_lblResult" runat="server"></acdev:UILiteral>
                    </fieldset>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>