Hi
I need help with the gridview i am working on.
I made a gridview that i can edit/delete/insert with the data i get from database (from sql server).
Gridview have its edit and delete functions but It doesn have insert function. So i nested a detailview in Gridview in <EmptyDataTemplate> field.
A button should make detailview visible and we can insert from there. It works also!
But the problem is I get detailview on page start. There shouldnt be any gridview or detailview on startup. And i dont get why gridview is visible when gridview is invisble on start.
Here is aspx code.
<div id="container">
<table cellspacing="20" border="0px">
<tr>
<td>
<div style="height: 390px; width: 683px">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
...
Go to the complete details ...