Nithesh Narayanan
Nithesh Narayanan

Reputation: 11775

Response.Redirect() target in to a div

Can i redirect a page into a div using Response.Redirect()?

Upvotes: 0

Views: 1379

Answers (2)

Hans Kesting
Hans Kesting

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

kbvishnu
kbvishnu

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

Related Questions