I have a store on my page:
<ext:Store
ID="Store1"
runat="server"
OnAfterStoreChanged="Store1_AfterChanged"
OnRefreshData="MyData_Refresh">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="Name" />
<ext:RecordField Name="Id" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
I need to run JavaScript code after the Store1_AfterChanged event executes. If it were defined via the DirectEvents section, I could use the After attribute.
How to do it when the event is defined this way (as an attribute of the Store)?
I found that I can execute a JS function call from the C# event handler by calling