0

I want to know the use of iframe in asp.net. I am new in asp.net.help me

Lance McNearney
9,5304 gold badges52 silver badges56 bronze badges
asked Jan 19, 2010 at 4:34
2
  • 2
    iframe is an HTML tag. It has nothing to do with ASP.NET specifically. Commented Jan 19, 2010 at 4:35
  • The only use I'd see for it in asp.net would be loading an external site into your application (maybe as a quick/easy way to display Google Maps or similar). If you want to load content from your application into another page, you should use user controls. If this content needs to be dynamic, use a placeholder and load the user control into the page. Commented Jan 19, 2010 at 4:39

2 Answers 2

3

iframes have many, many uses. They are used for ads, asynchronous (kinda) communication, controlled-browsing, and more. None of these things are necessarily specific to .net.

I'd like to encourage you read w3schools for additional information: http://www.w3schools.com/TAGS/tag_iframe.asp

answered Jan 19, 2010 at 4:37
Sign up to request clarification or add additional context in comments.

Comments

0

Iframe defines an inline frame. it is an html tag like div,span etc. One of the advantage of iframe is it can be a target of other links. you can also show html content(from any external source) in iframe. more information about iframe is here

answered Jan 19, 2010 at 4:49

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.