Skip to Content
author's profile photo Former Member
Former Member

Refresh BSP as the Child Window closes


I have a MVC applicatioin. application has a common model class, one main controller, 3 subcontrollers(main controller class is super class of sub controllers). Each subcontroller appears on a different tab (i am using htmlb tabstrips). All the Controllers create respective views.

The thing i am trying to achive is that, a button is presented on the main view. As and when the user clicks on the button a window opens (a call to a different application). This part is simple.... <b>Here is the main part - ></b> On close of the window i want to refresh the data of the tab on which the user is. How can i achive this.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2007 at 02:57 PM


    Check out the following blog : /people/ulli.hoffmann2/blog/2004/10/28/personalize-my-bsp-tableview

    In a nutshell: When you close the window, some special javascript code forces the main window to refresh itself by resubmitting it.

    Note that this causes the whole the screen to be refreshed and not only your tab. I don't think there is an easy solution to accomplish that part. If this is really necessary, maybe you should check out AJAX techniques which allow you to update a smalll part of your screen.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.