Ok I would expect this to be easy but am running into some problems.
I have a templete column in my datagrid with a button.
<asp:TemplateColumn HeaderText="E-Mail Proposal"
ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<input type="button" name="email" value="EMail"
onclick="OpenOutlookDoc('IPM.Note.FormA', '<%#
(DataBinder.Eval(Container.DataItem, "FilenameURL").ToString().Replace("\\",
"\\\\")) %>')" />
</ItemTemplate>
</asp:TemplateColumn>
Now I want to make this button visible at times and not visible at other
times. As you can see the on click called some java script. To get the
visible property to work I have tried to set the runat ="server" but I get
an error when I do this "The server tag is not well formed" Any idea how I
can get this to work?
TIA,
Brett