in ASP.NET 2.0 I have a page with a formview and in it a textbox and a button.
If I didn't have the formview I could do something like:
<asp:TextBox ID="TBCV" runat="server" Text='<%# Bind("CV") %>'></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="this.form.TBCV.value=''" />
but as the texbox TBCV is a part of a formview control so "this.form.TBCV.value" is wrong.
How do I have to write it?
If I do it in server side I use the findcontrol but I don't want to use it because I want it to be quicker.