I have a repeater.
On the rptResults_ItemDataBound
I find a button and a html table row.
Dim trInvoices As HtmlTableRow = Nothing
Dim btnShow As Button = Nothing
btnShow = CType(e.Item.FindControl("btnShow"), Button)
trInvoices = CType(e.Item.FindControl("trInvoices"), HtmlTableRow)
I then have:
Firstly when I am clicking the button at the mo it is just posting back to itself.
Secondly should that code then work to hide the html table row which is coded as :
<tr id="trInvoices" runat="server" visible="false">
Thanks in advance