Click here to Skip to main content
15,891,409 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working on an asp.net website application. I have two aspx pages.
In first page I have a gridview. On click the gridview it displays the text in the textbox.
From the first page I am opening the second page in the new window using
window.open("second.aspx");

but the problem while opening the second page is, that the first page is totally refreshing, means in the textbox the data is totally clearing.
I need to open the second page without refreshing the first page.
Can anybody help me?
Posted
Updated 3-Feb-11 19:00pm
v2
Comments
shakil0304003 4-Feb-11 1:13am    
Please, share more code!!!

You can reload your page using ajax call back.

Refer following links for more information.
http://msdn.microsoft.com/en-us/magazine/cc748662.aspx[^]


HTH
 
Share this answer
 
Comments
Pranay Rana 4-Feb-11 1:56am    
yes thats the way we can do it - have 5
By using AJAX with some flavor of JQuery!
Follow this link. Magic of JQuery in ASP.NET, Simplifying AJAX[^]
 
Share this answer
 
window.open("second.aspx"); return false;

This should help you!!
 
Share this answer
 
You can use AJAX ModelPopupExtender control to implement this fuctionality. Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900