Dec 04, 2011, 11:02 PM
Cant use Inline Server Tags in server markup
Hi,
I want use some inline server tags in markup file. but i get an error. Ext.NET dont support inline server tag, do it? Please explain to me!
Here is my code
Regards,
Anh N.T
I want use some inline server tags in markup file. but i get an error. Ext.NET dont support inline server tag, do it? Please explain to me!
Here is my code
<Listeners>
<DataChanged
Handler="var record = this.getAt(<% Response.Write(Session["index"].ToString()); %>) || {};#{FormPanel1}.getForm().loadRecord(record);"
Delay="10"
/>
</Listeners>
error is here:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Content ('<DataChanged
Handler="var record = this.getAt(') does not match any properties within a 'Ext.Net.StoreListeners', make sure it is well-formed.
Source Error:
Line 107: </Reader>
Line 108: <Listeners>
Line 109: <DataChanged
Line 110: Handler="var record = this.getAt(<% Response.Write(Session["index"].ToString()); %>) || {};#{FormPanel1}.getForm().loadRecord(record);"
Line 111: Delay="10"
Source File: /HoSo/frmHoSo.aspx Line: 109
Version Information: Microsoft .NET Framework Version:2.0.50727.5420; ASP.NET Version:2.0.50727.5420
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Content ('<DataChanged
Handler="var record = this.getAt(') does not match any properties within a 'Ext.Net.StoreListeners', make sure it is well-formed.
Source Error:
Line 107: </Reader>
Line 108: <Listeners>
Line 109: <DataChanged
Line 110: Handler="var record = this.getAt(<% Response.Write(Session["index"].ToString()); %>) || {};#{FormPanel1}.getForm().loadRecord(record);"
Line 111: Delay="10"
Source File: /HoSo/frmHoSo.aspx Line: 109
Version Information: Microsoft .NET Framework Version:2.0.50727.5420; ASP.NET Version:2.0.50727.5420
Anh N.T