I have a rad grid and am using client side binding. In the grid is a GridButtonColumn whose ButtonType is set to "ImageButton".
When the page loads, there are no items in the grid, it is in a div that is hidden.
There is a button on the page that allows the user to add items, after which the grid is bound to those items.
After the 10th item is added, the rendering on the GridButtonColumn goes haywire.
The correctly rendered image button looks like:
The incorrectly rendered image button looks like:
Here is the grid:
This happens in both IE and Chrome.
Version 2011.1.315.35
Has anyone seen this before?
When the page loads, there are no items in the grid, it is in a div that is hidden.
There is a button on the page that allows the user to add items, after which the grid is bound to those items.
After the 10th item is added, the rendering on the GridButtonColumn goes haywire.
The correctly rendered image button looks like:
<input type="image" name="ctl00$PlaceHolderMain$CreateForm$DetailsGrid$ctl00$ctl14$gbcDeleteCommandColumn" id="ctl00_PlaceHolderMain_CreateForm_DetailsGrid_ctl00_ctl14_gbcDeleteCommandColumn" title="Delete" src="/WebResource.axd?d=GpOX6CklTui-WvsX3ntJX3ScZbvlRAVY8vywfIml9JItkz7GRkBph6JGqEfC9c79Y_0WJH4Nno_X46fOq0MjDPt_LMglkeRc-eqk2sIgYglxd1EFqxUP8l5AE_GCCW7O8haJNpYIJYTP71JNlw-cuq-QZUhJ-Wl0sZgdku0-h-F4-g8fvnFhBcx7J8a4kUhHArGx1g2&amp;t=634419269737817546" alt="Delete" onclick="if(!confirm('Are you sure you want to delete this entry?'))return false;if(!$find('ctl00_PlaceHolderMain_CreateForm_DetailsGrid_ctl00').fireCommand('Delete','5')) return false;" style="border-width:0px;">The incorrectly rendered image button looks like:
<input type="image" title="Delete" alt="Delete" src="" onclick="if(!$find('ctl00_PlaceHolderMain_CreateForm_DetailsGrid_ctl00').fireCommand('Delete','10')) return false;">Here is the grid:
<telerik:RadGridID="DetailsGrid"runat="server"AllowMultiRowEdit="false"AllowPaging="false"AllowSorting="false"AutoGenerateColumns="false"EnableViewState="false"GridLines="None"Skin="Simple"Width="100%"><MasterTableViewTableLayout="Fixed"ClientDataKeyNames="ID"><Columns><telerik:GridBoundColumnUniqueName="Date"DataField="Date"HeaderText="Date"ReadOnly="true"HeaderStyle-Width="75px"ItemStyle-HorizontalAlign="Left"DataType="System.DateTime"DataFormatString="{0:MM/dd/yyyy}"></telerik:GridBoundColumn><telerik:GridBoundColumnUniqueName="UserDisplayName"DataField="UserDisplayName"HeaderText="User"ReadOnly="true"HeaderStyle-Width="135px"ItemStyle-HorizontalAlign="Left"></telerik:GridBoundColumn><telerik:GridBoundColumnUniqueName="Hours"DataField="Hours"HeaderText="Hours"HeaderStyle-Width="50px"ItemStyle-HorizontalAlign="Center"></telerik:GridBoundColumn><telerik:GridBoundColumnUniqueName="Minutes"DataField="RemainderMinutes"HeaderText="Minutes"HeaderStyle-Width="60px"ItemStyle-HorizontalAlign="Center"></telerik:GridBoundColumn><telerik:GridBoundColumnUniqueName="Description"DataField="Description"HeaderText="Description"ItemStyle-HorizontalAlign="Left"></telerik:GridBoundColumn><telerik:GridButtonColumnUniqueName="DeleteCommandColumn"CommandName="Delete"ButtonType="ImageButton"ConfirmText="Are you sure you want to delete this entry?"ConfirmTitle="Delete Entry"Text="Delete"HeaderStyle-Width="30px"ItemStyle-HorizontalAlign="Center"></telerik:GridButtonColumn></Columns></MasterTableView><ClientSettings><ClientEventsOnCommand="Stp.DetailsGrid_Command"></ClientEvents></ClientSettings></telerik:RadGrid>
This happens in both IE and Chrome.
Version 2011.1.315.35
Has anyone seen this before?