I want HeaderText to be displayed only when Edit Mode is active
<asp:TemplateField>
<EditItemTemplate>
<asp:FileUpload ID="fileUploadControl" runat="server" />
</EditItemTemplate>
</asp:TemplateField>
I don't have Insert Template And I want header text to be displayed in only during edit mode
One way to do so would be to subscribe to the RowDataBound (assuming you are using a GridView). Check if a Row is in the Edit state, and update the corresponding header text for the Cell.