troubleshooting Question

DataGrid

Avatar of Moiz Saif
Moiz Saif asked on
JavaScript
14 Comments2 Solutions703 ViewsLast Modified:
Is it possible for a row to be added on the top of the datagrid with an

x symbol so that it closes the datagrid, closes=making the DataGrid.visible = false on the client side maybe like a div thing, down below is my code...

I am using VB.NET and a webapp

A fancy look for it is acceptable....the x should be present on the Datagrid if possible..

<DIV id="DIV1" style="BORDER-RIGHT: black 1px groove; BORDER-TOP: black 1px groove; Z-INDEX: 187; LEFT: 175px; VERTICAL-ALIGN: top; OVERFLOW: auto; BORDER-LEFT: black 1px groove; WIDTH: 818px; BORDER-BOTTOM: black 1px groove; POSITION: absolute; TOP: 140px; HEIGHT: 375px" runat="server">
<P><asp:datagrid id="DataGrid1" runat="server" BorderWidth="1px" BackColor="#FFFFC0" BorderColor="Black" BorderStyle="Solid" Height="150px" Width="815px" ForeColor="Black" Font-Size="Smaller" AutoGenerateColumns="False" HorizontalAlign="Left" ShowFooter="True">
<ItemStyle Font-Size="XX-Small" Font-Names="Verdana" HorizontalAlign="Left"></ItemStyle>
<HeaderStyle Font-Bold="True" HorizontalAlign="Center"></HeaderStyle>
<Columns>
<asp:ButtonColumn DataTextField="INSURANCE" HeaderText="Insurance Carrier " CommandName="Select"></asp:ButtonColumn>
<asp:BoundColumn Visible="False" DataField="INSNAME" HeaderText="INSNAME"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="INSCODE" HeaderText="INSCODE"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="Address" HeaderText="Address"></asp:BoundColumn>
</Columns>
</asp:datagrid></P>
</DIV>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 14 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros