Sample at:
http://samples.infragistics.com/aspnet/Samples/WebDataGrid/EditingAndSelection/RowContextMenu/Default.aspx?cn=data-grid&sid=33a8cf91-db4a-4b03-8291-9c179a11ceb8
Where can I download the following for GetGlobalResourceObject and Resources:WebDataGrid
message = '<%= this.GetGlobalResourceObject("WebDataGrid","WebDataGridWithContextMenu_RowNotInEditMode") %>'.replace("{0}", currentSelectedRow.get_cellByColumnKey('CustomerID').get_text());
<asp:Button ID="buttonCancel" runat="server" CausesValidation="False" OnClientClick="return" Text="<%$ Resources:WebDataGrid, ButtonCancel %>" UseSubmitBehavior="False" />
Hello rookertrusted,
You can install the local Samples, then you will able to find all resource files in:C:\Users\Public\Documents\Infragistics\NetAdvantage 2012.1\ASP.NET\Samples\Infragistics.Web.AspNET\App_GlobalResources (Windows 7)
For Windows XP it should be
C:\Documents and Settings\All Users\Public\Documents\Infragistics\NetAdvantage 2012.1\ASP.NET\Samples\Infragistics.Web.AspNET\App_GlobalResources
You can remove the Resources. The following should be working:
message = 'Row is not in Edit Mode'.replace("{0}", currentSelectedRow.get_cellByColumnKey('CustomerID').get_text());
<asp:Button ID="buttonCancel" runat="server" CausesValidation="False" OnClientClick="return"Text="Cancel" UseSubmitBehavior="False" />
I hope this helps