eramgarden
Contributor
- Joined
- Mar 8, 2004
- Messages
- 579
cant have datagrid in a panel??
I have a datagrid, everything is fine and dandy..
Now i want to put in a panel but panel is drawn on one side and the datagrid on the other...I even tried the same style and size..
This is what I have:
I have a datagrid, everything is fine and dandy..
Now i want to put in a panel but panel is drawn on one side and the datagrid on the other...I even tried the same style and size..
This is what I have:
Code:
[b]<asp:panel id="pnlSiteDetail" style="Z-INDEX: 103; LEFT: 234px; POSITION: absolute; TOP: 198px" runat="server" BorderStyle="Solid" Width="784px" Height="368px">[/b]
<asp:datagrid id="dgViewDetail" style="Z-INDEX: 101; LEFT: 230px; POSITION: absolute; TOP: 148px" runat="server" AutoGenerateColumns="False" Width="697px" Height="200px" OnUpdateCommand="Site_Update" OnCancelCommand="Site_Cancel" OnEditCommand="Site_Edit" BorderStyle="Solid" BorderColor="Black" BorderWidth="3px">
<AlternatingItemStyle BackColor="White"></AlternatingItemStyle>
<Columns>
asp:TemplateColumn HeaderText="Site Information-">
<HeaderStyle Font-Size="Large" </HeaderStyle>
<ItemTemplate>
......
</ItemTemplate>
<EditItemTemplate>
......
</EditItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid>
[b]</asp:panel>[/b]
Last edited: