Reputation: 11775
Can i redirect a page into a div using Response.Redirect()?
Upvotes: 0
Views: 1379
Reputation: 39329
No, a <div>
exists client side. With a redirect you can only say that the current request should be submitted again at the new address. You can't specify where that redirect should end (frame, iframe, div, window ..).
You will have to do it from the client side: have the div (or whatever) load from some url (which could do a redirect).
Upvotes: 1
Reputation: 15630
Whtr u need to display div on the same page or div on the another page? Or u want to display the particular div in a pop-up?
Upvotes: 0