Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loading part of page as Frame

Status
Not open for further replies.

chuckh70

Programmer
Feb 4, 2004
71
US
I have an asp .net page I have created that does a bunch of sql, and generates a graph. I have a couple of select boxes. That I would like to have displayed and stay put. the graph i'd like to have pop up as is it was in a frame. I remembered there use to be like iframe or something to that effect.
 
chuck: You can insert an IFRAME into your page (say in your case the chart would reside there) and in that way you can post back for your chart image only). If you want to make the image a 'pop-up' well that is another matter having nothing to do with having it in an IFRAME object. The code for putting an IFRAME into place is:

Code:
 <iFrame name="strFrm" align="left" valign="top" width="393" height="270" src="mypage.aspx" Frameborder="0" Scrolling="No"></iFrame>

..where mypage.aspx would be the page returning the chart. If it's a pop-up you want post back and I'll cut and past the code I use for pop-up window (which also generates a chart(s).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top