ASP.net display data issue
Hi, I have an issue in managing data to be display in the web page.
The scenario is below:
Parent page
drop down list
grid view - data is control by drop dropdownlist selection
Pop up page
When user click on the item in grid view , this pop up page will be displayed.
User are able to make changes in this pop up page where his changes will be displayed automatically when user close the pop up page.
My problem is when i use
window.opener.location.reload();
the whole parent page is reloaded.
What i want is the data in the gridview is refreshed but the dropdownlist is not refresh.
By this user can only see clearly on what they do.
Anybody has idea on this or better suggestion in handling this kind of data display?
Re: ASP.net display data issue
if you want partial refresh, you should go with ajax.
Take a look at scriptManager component (you should have if you use framework 3.0 and above)
Else you could try with async page
Re: ASP.net display data issue
You should also look into using the ModalDialogExtender, instead of opening an entirely new window. It makes it MUCH easier to get the data from the "popup". It even allows you to run server-side code when the "popup" is dismissed to process the data.