XRender call DirectMethods from UserControl

  1. #1

    XRender call DirectMethods from UserControl

    http://examples2.ext.net/#/XRender/U...UpdateContent/

    I can not call Direct method form Usercontrol, ex, I use:

    <ext:Button ID="Button1" runat="server">  
       <Listeners>        
     <Click Handler="#{DirectMethods}.DirectMethod();" />    
     </Listeners> </ext:Button>

    but Firebug alert DirectMethod() not found.


    Thank in advance.
    Last edited by vucuongkg; Mar 18, 2012 at 11:56 AM.
  2. #2
    Hi,

    Thanks for the question, we should remove the DirectMethods from the example you mentioned, they are in that example be a mistake.

    To get DirectMethods within a user control working, that user control must be recreated during each request.

Similar Threads

  1. Replies: 1
    Last Post: May 29, 2013, 7:00 PM
  2. Call DirectMethods from Javascript
    By ginsar in forum 1.x Help
    Replies: 4
    Last Post: Jun 08, 2011, 12:59 PM
  3. DirectMethods Call Twice
    By santosbj in forum 1.x Help
    Replies: 2
    Last Post: Jun 17, 2010, 3:34 AM
  4. [CLOSED] XRender UserControl DirectMethod
    By amitpareek in forum 1.x Premium Help
    Replies: 10
    Last Post: Jan 22, 2010, 2:03 PM
  5. [CLOSED] XRender UserControl NamingContainer
    By amitpareek in forum 1.x Premium Help
    Replies: 27
    Last Post: Jan 21, 2010, 5:10 PM

Tags for this Thread

Posting Permissions