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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -