'<%# Bind("Field") %>' this looks strange...
Maybe because if you load there some <> characters it can corrupt tags and
make the browser (or formview) not to show.
This is just a theoretical idea...

2009/9/4 Ana <[email protected]>

>
> Hi,
>
> 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?
>
> Thanks,
>
> Ana
>

Reply via email to