Posted on: 5/16/2013 4:18:31 PM | Views : 214

Hi,
I have the following code
<asp:CheckBox ID="chkpeer" runat="server" CssClass="checkbox" AutoPostBack ="True" /> On checkchanged event;
Protected Sub chkpeer_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles chkpeer.CheckedChanged If chkpeer.Checked = True Then chkpeer.Enabled = True btnSub.Visible = True Else btnSub.Visible = False End If End Sub On Page Load;
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Call disableControls() If Not IsPostBack Then Dim Refno As String = Request.QueryString("RefNo") txtref.Text = Refno Call search() txtref.ReadOnly = True txtreq1.ReadOnly = True ...

Go to the complete details ...