or
<td style="width:300px;height:500px;"> <!--This cell holds the invoice date selection control--> <telerik:RadAjaxPanel ID="ajxpnl_InvDate" runat="server" LoadingPanelID="InvDateLoadPanel"> Invoice Date <telerik:RadDatePicker ID="rdt_InvDate" runat="server" Skin="Hay" AutoPostBack="true" ShowPopupOnFocus="true" OnSelectedDateChanged="selected" /> </telerik:RadAjaxPanel></td>
Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
I am not using a custom dictionary, only the standard ones.
| <telerik:RadGrid ID="RG_disponible" AlternatingItemStyle-HorizontalAlign="Center" |
| Width="550px" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" |
| runat="server" AllowSorting="true" HorizontalAlign="Center" AutoGenerateColumns="False" |
| OnItemDataBound="RG_disponible_ItemDataBound" OnSortCommand="RG_disponible_SortCommand" |
| OnItemCommand="RG_disponible_ItemCommand" OnDataBound="RG_disponible_DataBound"> |
| <ClientSettings> |
| <Resizing AllowColumnResize="false" /> |
| <Scrolling AllowScroll="true" UseStaticHeaders="false" /> |
| </ClientSettings> |
| <MasterTableView CommandItemDisplay="Top" TableLayout="Fixed" Width="532px" NoMasterRecordsText="Aucune photo ne correspond à la recherche"> |
| <CommandItemTemplate> |
| <div style="text-align: right;"> |
| <asp:LinkButton ID="btnSelectAll" runat="server" CommandName="SelectAll" Text="Désélectionner tous"></asp:LinkButton> |
| </div> |
| </CommandItemTemplate> |
| <Columns> |
| <telerik:GridBoundColumn HeaderText="Numéro du rouleau" UniqueName="Numero_rouleau" |
| DataField="RouleauNumero"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn HeaderText="Numéro de la photo" UniqueName="Numero" DataField="PhotoNumero"> |
| </telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn UniqueName="ButtonColumn" HeaderText=""> |
| <ItemTemplate> |
| <asp:Button ID="I" runat="server" Text="Détails"/> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn HeaderText="Numéro de la photo" UniqueName="Numero" Visible="false" |
| DataField="PhotoNumero"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn HeaderText="id photo" Visible="false" UniqueName="Id" DataField="Id"> |
| </telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="" SortExpression="IsLink"> |
| <ItemTemplate> |
| <asp:CheckBox ID="choix" Enabled="false" runat="server" /> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn HeaderText="" UniqueName="Id" DataField="EmprunteurId" Visible="false"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn HeaderText="" UniqueName="CommandeId" DataField="CommandeId" |
| Visible="false"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
| </ContentTemplate> |
| </asp:UpdatePanel> |