Inside my formView, in the InsertItemTemplate, I have the following code:
<tr> <td align="right"> <b>Field</b> </td> <td> <asp:TextBox ID="MyTextBox" Text='<%# Bind("Field") %>' runat="Server" /> <asp:Button ID="myButton" Text="Find Matching Results" runat="server" OnClick=" myButton_Click" /> </td> </tr>
In myButton_Click, all I do is bind a CheckBoxList with the results from the search. I’m not changing the visibility anywhere (so, from what I understand, it will be True by default)
However, the Button is not being shown in the formView, even if I set its visibility to True. Why the button is not being shown? Any ideas?