3 Attachment(s)
GridPanel -> Editable -> Master Page issue
Hello. I just installed Ext.Net 5.2.0.
I was trying to implement the GridPanel - > Editable - > Editor with DirectMethod.
I copied the example and it worked fine with a standalone .aspx page (.net 4.7.2)
When I tried to implement the example using Master page - it did not work.
My child TestMaster.cs file has the exact copy of server side stuff from the example.
My child TestMaster.aspx has GridPanel defined within <asp:Content...>
Code:
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<h1>Editable GridPanel With Save To [DirectMethod]</h1>
<ext:GridPanel
ID="GridPanel1"
runat="server"
..........................
My Master SiteMaster.aspx Page has the following:
Code:
<form runat="server">
<ext:ResourceManager runat="server" SourceFormatting="true" />
<asp:ScriptManager runat="server" EnablePageMethods="true" EnablePartialRendering="true" >
<Scripts>
<asp:ScriptReference Path="~/Scripts/ExtNet/PageFunctions.js" />
</Scripts>
</asp:ScriptManager>
....................
Where "PageFunctions.js" has the java script from example that calls CompanyX.Edit
I verified that the js code is being called (by putting alerts) when the cell in GridPanel is changed/tabbed out.
It looks like it is having trouble calling CompanyX.Edit(xxx)
function.
I also tried to add GridPanel to existing application page (using same Master etc). Getting a different error there.
I will attach both errors.
Thanks in advance.