Posted on: 3/9/2011 1:25:34 AM | Views : 202

Hi all,
 
This is my aspx pages button properties:
<asp:Button runat="server" ID="cmdConfirm"  Text="Select Customer" 
ValidationGroup="ValidateId"  Height="26px"  onclick="cmdSave_Click"/>

 
Now on my Page_Load I have:
protected void Page_Load(object sender, System.EventArgs e)
    {
        Name = Request.QueryString[0];
        LoadCustomer();
        RecordCustomer();
        cmdConfirm.Attributes.Add("onClick", "update(" + Name + ");");
        Conn.Close();
    }

 
...

Go to the complete details ...