[CLOSED] Get ext control inside UserControl

  1. #1

    [CLOSED] Get ext control inside UserControl

    Hi all,

    I think this has been already discussed, I searched in forum but nothing.

    I have an ext window inside UserControl, how can I get it from parent page script block?

    I have to use this code now, to get the control:

    
    TabFour_4_Window1
    is there a better solution?

    Thanx

    Matteo
  2. #2

    RE: [CLOSED] Get ext control inside UserControl

    Hi Matteo,

    I think it is better to create public property in UserControl which give access to the Window instance.
    You can use this property in Parent page and manipuldate by window (get ClientID, call Show/Hide methods and etc)




  3. #3

    RE: [CLOSED] Get ext control inside UserControl

    Hi Vlad,

    all right, thanx.

    Matteo

Similar Threads

  1. Replies: 8
    Last Post: Feb 15, 2012, 9:04 AM
  2. Help with UserControl inside window
    By dbassett74 in forum 1.x Help
    Replies: 0
    Last Post: May 26, 2009, 4:25 PM
  3. How to have scripts inside UserControl?
    By dbassett74 in forum 1.x Help
    Replies: 3
    Last Post: May 17, 2009, 6:14 PM
  4. Autosize GridPanel inside UserControl
    By petlun in forum 1.x Help
    Replies: 3
    Last Post: Dec 19, 2008, 6:16 PM
  5. [CLOSED] Usercontrol inside a form layout
    By jchau in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 03, 2008, 1:57 PM

Posting Permissions