Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 9th, 2006, 12:48 PM
Registered User
 
Join Date: Apr 2006
Location: Mapleville, RI, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 2 IFRAME samples

Hi I have been converting the samples into VB .NET pages. The FrameSet examples worked fine.

But now I am trying to convert the IFRAME samples and the results do not display. I'm able to determine that I am getting information from the database but the information will not display in the <div> tag.

The only major difference between the two sets of code is changing the line:

top.frames["displayFrame"].displayCustomerInfo divInfoToReturn.innerHTML);

to: parent.displayCustomerInfo(divInfoToReturn.innerHT ML);

in the window.load Function.

Any ideas? Is there anything other than "parent" that can be used?

THanks
rich
  #2 (permalink)  
Old April 9th, 2006, 02:06 PM
Registered User
 
Join Date: Apr 2006
Location: Mapleville, RI, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found out what was wrong. When creating the initial aspx page, I kept the <form id="Form1" method="post" runat="server"> on the page and just put the Textbox and Button within the form tag.

Once I took the form tag away, the sample worked fine.

So this changes the question. Is there a way that I can still use the form tag because I would like to still be able to use Webform Controls and they require form tags?

thanks
rich

  #3 (permalink)  
Old October 5th, 2006, 11:03 AM
Registered User
 
Join Date: Sep 2006
Location: , , Singapore.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, did you managed to use iframe to create a html within a html?

I'm trying to do that for a file upload, however, i'm still unable to do so. do you care to share?

Thank you.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 16 code samples freiZimmer BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 1 October 9th, 2008 02:24 PM
Need samples mindserve VB.NET 2002/2003 Basics 0 August 5th, 2007 08:24 AM
values from one iframe to another iframe URGENT raaj Beginning PHP 2 February 27th, 2007 12:19 PM
Chapter 5 Samples gmcvasconcellos BOOK: Beginning Ajax with ASP.NET 0 February 3rd, 2007 11:08 AM
Chapter 9 - Which table are the samples refering ? gyazgan BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 0 May 29th, 2006 01:05 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.