Ext.Net: parent.Ext.net.DirectMethods.NewCard_Click(); -


i have project.when click button inside mainpage, loading newcard.aspx file.inside file have button this,

  <ext:button id="button1" runat="server" text="ekle" icon="groupadd">      <listeners>      <click handler="parent.ext.net.directmethods.newcard_click();"></click>      </listeners>      </ext:button> 

newcard_click();methon defined inside mainpage.aspx.(which loadind anaother aspx file) event not fired,did miss something?should add something?

earlier versions used

    ext.net.directmethods.methodname() 

which make

    window.parent.ext.net.directmethods.methodname() 

the correct answer, seem changed in latest version, answer is

    window.parent.app.direct.methodname() 

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -