using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ExtAspNet.Examples.button
{
    public partial class button_linkbutton : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LinkButton2.OnClientClick = Alert.GetShowInTopReference("This is a client-side event registered in server-side.");
            }
        }

        protected void LinkButton3_Click(object sender, EventArgs e)
        {
            Alert.ShowInTop("This is a server-side event.");
        }

        protected void btnChangeEnable_Click(object sender, EventArgs e)
        {
            LinkButton1.Enabled = !LinkButton1.Enabled;
        }

    }
}
