Close the Window

  1. #1

    Close the Window

    Hi,
    I am building and application using the ext.net controls.
    In one of my screen, i need to add the countries dynamically by clicking the button besides the country dropdown box.
    The click on the button will popup a modal windows on top of the user information window.
    Now after saving the data, i am showing the message box, which will have the ok button. I want to close the country information window and refresh the parent user information country drop down box.
    Could you please help me to resolve this.


    Regards,
    Seshu Kumar.
  2. #2
    Hello,

    Calling .close() on the Window instance will close it.
    Geoffrey McGill
    Founder
  3. #3
    Quote Originally Posted by geoffrey.mcgill View Post
    Hello,

    Calling .close() on the Window instance will close it.
    Hi mcgill,
    I am able to. But i need it on the click of the message box OK button click.
    Could you please provide me a working sample.


    Regards,
    Seshu Kumar.
  4. #4
    Geoffrey McGill
    Founder
  5. #5
    Quote Originally Posted by geoffrey.mcgill View Post

    Hi That will not serve my purpose. What i require is :

    1. I have a tab panel with the users List
    2. The grid panel will populate the users
    3. Now i will click on add button to add the user
    4. When clikced then, i will show a modal popup window to accept the details
    5. In the modal pop up window, I will have a combo box with countries populated
    6. and also the combo box will have indicator icon and on click of the indicator icon i am showing another modal popup to accept the new country information.
    7. Now in the country information popup, when the country has been successfully added then, i am going to show a message box.
    8. Now if i click on the ok button, then the click event/listener should close the message box and the country information form and need to refresh the country combo box in the user details form.


    Can you please let me know how i can do this. I am bit worried.

    Thanks & Regards,
    Seshu Kumar.

Similar Threads

  1. Replies: 0
    Last Post: Oct 24, 2012, 12:20 PM
  2. [CLOSED] how to close window after click button in this window
    By ViDom in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Jun 22, 2012, 2:48 PM
  3. [CLOSED] How to remove 'X' (window close) for popup window?
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 31, 2011, 3:50 AM
  4. [CLOSED] Problem to close Window which has another Window inside
    By asztern in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Dec 21, 2010, 5:33 PM
  5. Replies: 1
    Last Post: Apr 01, 2009, 12:24 PM

Posting Permissions