on 09-05-2007 8:34 PM
Hi,
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.
Thanks
Amandeep.
Hey,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.