Line 57: <asp:Panel ID="pnlPopupButtons" CssClass="button-panel" runat="server"> Line 58: <asp:Button ID="btnPopupClear" OnClientClick="Clear(); return false;" CssClass="button" Text='<%# " " + L10n.Term(".LBL_CLEAR_BUTTON_LABEL" ) + " " %>' ToolTip='<%# L10n.Term(".LBL_CLEAR_BUTTON_TITLE" ) %>' AccessKey='<%# L10n.AccessKey(".LBL_CLEAR_BUTTON_KEY" ) %>' Visible='<%# (Request["ClearDisabled"] == "1") ? false : true %>' runat="server" /> Line 59: <asp:Button ID="btnPopupCancel" OnClientClick="Cancel(); return false;" CssClass="button" Text='<%# " " + L10n.Term(".LBL_CANCEL_BUTTON_LABEL") + " " %>' ToolTip='<%# L10n.Term(".LBL_CANCEL_BUTTON_TITLE") %>' AccessKey='<%= L10n.AccessKey(".LBL_CANCEL_BUTTON_KEY") %>' runat="server" /> Line 60: <asp:Label ID="lblError" ForeColor="Red" EnableViewState="false" Runat="server" /> Line 61: </asp:Panel>
[ArgumentOutOfRangeException: AccessKey too long, cannot be more than one character. Parameter name: value] System.Web.UI.WebControls.WebControl.set_AccessKey(String value) +1821541 ASP.projects_popup_aspx.__BuildControlbtnPopupCancel() in c:\Program Files\SplendidCRM Software\Web Site\Projects\Popup.aspx:59 ASP.projects_popup_aspx.__BuildControlpnlPopupButtons() in c:\Program Files\SplendidCRM Software\Web Site\Projects\Popup.aspx:57 ASP.projects_popup_aspx.__BuildControlcntBody(Control __ctrl) in c:\Program Files\SplendidCRM Software\Web Site\Projects\Popup.aspx:21 System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12 ASP.app_masterpages_sugar_popupview_master.__BuildControlcntBody() in c:\Program Files\SplendidCRM Software\Web Site\App_MasterPages\Sugar\PopupView.master:31 ASP.app_masterpages_sugar_popupview_master.__BuildControlfrmMain() in c:\Program Files\SplendidCRM Software\Web Site\App_MasterPages\Sugar\PopupView.master:28 ASP.app_masterpages_sugar_popupview_master.__BuildControlhtmlRoot() in c:\Program Files\SplendidCRM Software\Web Site\App_MasterPages\Sugar\PopupView.master:22 ASP.app_masterpages_sugar_popupview_master.__BuildControlTree(app_masterpages_sugar_popupview_master __ctrl) in c:\Program Files\SplendidCRM Software\Web Site\App_MasterPages\Sugar\PopupView.master:1 ASP.app_masterpages_sugar_popupview_master.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\splendidcrm\39d9217b\e43b7469\App_Web_6f01gdgw.5.cs:0 System.Web.UI.UserControl.InitializeAsUserControlInternal() +31 System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1978544 System.Web.UI.Page.get_Master() +48 System.Web.UI.Page.ApplyMasterPage() +18 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
We should use <%# in the access key and not <%=
Thanks for catching this.