HI
I'm using webdata grid and I have added footer template. But footer showing off the gird. Please suggest. I have added my HTML down too.
Thanks
Amit
<ig:WebDataGrid ID="WebDataGrid1" runat="server" AutoGenerateColumns ="False" Height="200px" Width="400px" ShowFooter="True"
OnLoad="WebDataGrid1_Load" EnableDataViewState="True" EnableAjax="false" >
<Columns>
<ig:TemplateDataField Key="TemplateField_1" Width="40%" >
<ItemTemplate>
<asp:Label runat="server" ID ="lbldivision" ><%# DataBinder.Eval(Container, "DataItem.Division")%> </asp:Label>
</ItemTemplate>
<FooterTemplate>
<asp:DropDownList ID="dropdownlist2" CssClass="font" runat="server" DataTextField="Diivison" DataValueField="Diivison"></asp:DropDownList>
</FooterTemplate>
<Footer Text ="Add new" ></Footer>
<Header Text="Division" ></Header>
</ig:TemplateDataField>
<ig:TemplateDataField Key="EditItem" Width="20px" Footer-ColSpan ="2">
<asp:ImageButton runat="server" ID="ImageButton2" AlternateText="Edit Item" Width="20px" ToolTip="Edit Item" ImageUrl="~/Images/edit.png" OnClientClick="DeleteRow(); return false;" />
<asp:Button runat="server" ID="butAdd" Text="Add New" OnClick="butAdd_Click" />
<ig:TemplateDataField Key="DeleteItem" Width="20px">
<asp:ImageButton runat="server" ID="ImageButton1" AlternateText="Delete Item" ToolTip="Delete Item" Width="20px" ImageUrl="~/Images/delete32px.png" OnClientClick="DeleteRow(); return false;" />
</Columns>
<Behaviors>
<ig:Selection ColumnSelectType="Single" Enabled="true" CellClickAction="Cell" SelectionClientEvents-CellSelectionChanged="WebDataGrid1_CellSelectionChanged" />
</Behaviors>
</ig:WebDataGrid>
Hello Amit,
Thank you for posting in the Infragistics community. I have used the provided markup to add a template field to a WebDataGrid and it worked fine. I tested this with 14.2 under all major browsers (latest versions) and the grid renders fine. If this is a browser specific issue please clarify which browser has issues and the version you are using.
Please review the attached sample and feel free to modify it in a way to reproduce the issue you are struggling with. Then you can send it back for investigation.
Looking forward to hearing from you.
Thanks for you reply.
I'm using IE 9 and Assembly="Infragistics45.Web.v13.2, Version=13.2.20132.1003, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Hello,
I am just checking up to see if you had the time to prepare a small sample duplicating the issue.
I ran my sample under IE9 with the 13.2.20132.1003 assembly but did not observe any issues. The grid rendered fine as it should. Please see the attached screenshot for a reference. Please feel free to modify my sample to reproduce the issue and send it back for investigation.