|
-
January 29th, 2010, 04:09 AM
#1
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?
-
February 10th, 2010, 06:23 AM
#2
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
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
February 16th, 2010, 12:57 PM
#3
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|