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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -