How to make a link button visible after another button has been clicked in asp.net(vb) in button_c

Posted by Parth on Stack Overflow See other posts from Stack Overflow or by Parth
Published on 2010-05-14T15:23:37Z Indexed on 2010/05/14 15:34 UTC
Read the original article Hit count: 171

Filed under:
|
|

How to make a link button visible after another button has been clicked in asp.net(vb) in button_click()

it says error as "Object reference not set to an instance of an object."

i've done this in my code

Protected Sub InsertButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)

    Dim receipt As LinkButton = FormView1.FindControl("LinkButton1")

   ' receipt.Enabled = "true"
   ' receipt.EnableTheming = "true"
   ' receipt.EnableViewState = "true"
    receipt.Visible = "true"

End Sub

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about vb.net