Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > ASP.NET 1.x and 2.0 Application Design
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 22nd, 2007, 03:16 AM
Authorized User
 
Join Date: Nov 2006
Location: New Delhi, Delhi, India.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to set one frame src from other frame

Hi
I am using Asp.net with C#. I am new with asp.net 2.0 .
First I faced a problem how to create frameset.
I solve a problem as create a table and in every <td> create <iframe> .
Now my problem is this when a linkButton or hyperlink clicked on one frame. I want it's link page open in other frame src.
Ok! help me to solve this problem.
thanks

Thanks
Kumar Ashish
krashishroa@yahoo.co.in
__________________
Thanks
Kumar Ashish
krashishroa@yahoo.co.in
  #2 (permalink)  
Old February 22nd, 2007, 09:04 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

You need to do something in javascript like parent.frames[n].location.href='page';

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html

Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429
  #3 (permalink)  
Old March 13th, 2007, 04:13 AM
Authorized User
 
Join Date: Feb 2007
Location: Kolkata, West Bengal, India.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You may create a frameset (a .htm file) and in the <head> </head>
add
<frameset>
        <frame name="f1" src="abc.aspx">
        <frame name="f2" src="...">
          .
          .
          .

    </frameset>


now if you need to have the respone in frame2, when clicked a link in abc.aspx of frame1,
just goto the DESIGN>HTML TAB add this line in the <head> </head> section
<base target="f2">
that will work.
you will have a good guidance if you are working in VS.net, you can create there a frame set, and goto html view of the frame set page. you will find some guidance.

But using framesets is not recomended in strict html. frame set has some problems.

Aritra Mukherjee,
CS-4th Year,
MSIT-Kolkata.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
parsing form data from frame to other frame audio-catalyst Classic ASP Basics 5 January 3rd, 2006 02:57 PM
Build Frame set in ASP.NET mistry_bhavin General .NET 1 February 24th, 2005 02:37 AM
Call right frame Page_Load event from left frame. ochanarachel Classic ASP Basics 0 January 28th, 2005 05:13 AM
Refresh a frame from another frame czambran Javascript 3 October 21st, 2004 11:20 AM
Use cookie to set main frame npepin Javascript 0 October 18th, 2004 02:01 PM



All times are GMT -4. The time now is 02:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.