ASP.NET

Moderators: None (Apply to moderate this forum)
Number of threads: 1727
Number of posts: 3292

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Better use Frame or Table to create a webpage? Posted by Tan theng wei on 25 Jul 2006 at 9:50 PM
act i am new in asp.NET so i dont know what to use to build up a page.
When i use frame the <frame src="a.aspx"> <-- can i do that ?or just can use .htm cuz i test and i see my page is blank,although my a.aspx page i change the bgcolor to blue and add some word on it.
then i try to use table to seperate a page but i face problem when i wan to clink a link in my left side table and i want to show it in right side table but i dono how to do it.cuz i use <a href="..."> and it will show a new window.but i try to use target=" the td id." but also cannot.
so any want can help me out.it mayb is a very simple question.but i cant do it.thank you!

Report
Re: Better use Frame or Table to create a webpage? Posted by iwilld0it on 26 Jul 2006 at 5:36 AM
It is best to stay away from frames if possible, when developing ASP.NET pages. This all has to do w/ ASP.NET's post-back behavior.

: act i am new in asp.NET so i dont know what to use to build up a page.
: When i use frame the <frame src="a.aspx"> <-- can i do that ?or just can use .htm cuz i test and i see my page is blank,although my a.aspx page i change the bgcolor to blue and add some word on it.
: then i try to use table to seperate a page but i face problem when i wan to clink a link in my left side table and i want to show it in right side table but i dono how to do it.cuz i use <a href="..."> and it will show a new window.but i try to use target=" the td id." but also cannot.
: so any want can help me out.it mayb is a very simple question.but i cant do it.thank you!
:
:

Report
Re: Better use Frame or Table to create a webpage? Posted by Tan theng wei on 26 Jul 2006 at 8:16 PM
Thanks a lot for your idea.But can you teach me how to link it when i click the hyperlink in the left side column and it show another aspx page in the right side column?what code should i use ?because i cant use targer=?? and also <a href=??> this also wil open in a new windows.



: It is best to stay away from frames if possible, when developing ASP.NET pages. This all has to do w/ ASP.NET's post-back behavior.
:
: : act i am new in asp.NET so i dont know what to use to build up a page.
: : When i use frame the <frame src="a.aspx"> <-- can i do that ?or just can use .htm cuz i test and i see my page is blank,although my a.aspx page i change the bgcolor to blue and add some word on it.
: : then i try to use table to seperate a page but i face problem when i wan to clink a link in my left side table and i want to show it in right side table but i dono how to do it.cuz i use <a href="..."> and it will show a new window.but i try to use target=" the td id." but also cannot.
: : so any want can help me out.it mayb is a very simple question.but i cant do it.thank you!
: :
: :
:
:

Report
Re: Better use Frame or Table to create a webpage? Posted by iwilld0it on 27 Jul 2006 at 6:59 AM
Well the frames in the frameset file should all have names ...

<frameset>
   <frame name="frameA">
   <frame name="frameB">
</frameset>


Then you can target a frame like so from the other frame ...

<a href="somepage.aspx" target="frameB">Click</a>



: Thanks a lot for your idea.But can you teach me how to link it when i click the hyperlink in the left side column and it show another aspx page in the right side column?what code should i use ?because i cant use targer=?? and also <a href=??> this also wil open in a new windows.
:
:
:
: : It is best to stay away from frames if possible, when developing ASP.NET pages. This all has to do w/ ASP.NET's post-back behavior.
: :
: : : act i am new in asp.NET so i dont know what to use to build up a page.
: : : When i use frame the <frame src="a.aspx"> <-- can i do that ?or just can use .htm cuz i test and i see my page is blank,although my a.aspx page i change the bgcolor to blue and add some word on it.
: : : then i try to use table to seperate a page but i face problem when i wan to clink a link in my left side table and i want to show it in right side table but i dono how to do it.cuz i use <a href="..."> and it will show a new window.but i try to use target=" the td id." but also cannot.
: : : so any want can help me out.it mayb is a very simple question.but i cant do it.thank you!
: : :
: : :
: :
: :
:
:

Report
Re: Better use Frame or Table to create a webpage? Posted by Tan theng wei on 27 Jul 2006 at 7:37 PM
O,i see.Thanks a lot.
one more Question,hehe..if not using frame.i use table,how to link it from a column to another column?is that possible?
because i know that each column in a table i can set a id="" for it,so if i use a column to set all the link and if user clink the link i can show the page in another column?i try to use <a href=xxx.aspx target=tablecolumnid>
but it seem not working,it open a new page to show it.




: Well the frames in the frameset file should all have names ...
:
:
: <frameset>
:    <frame name="frameA">
:    <frame name="frameB">
: </frameset>
: 

:
: Then you can target a frame like so from the other frame ...
:
:
: <a href="somepage.aspx" target="frameB">Click</a>
: 

:
:
: : Thanks a lot for your idea.But can you teach me how to link it when i click the hyperlink in the left side column and it show another aspx page in the right side column?what code should i use ?because i cant use targer=?? and also <a href=??> this also wil open in a new windows.
: :
: :
: :
: : : It is best to stay away from frames if possible, when developing ASP.NET pages. This all has to do w/ ASP.NET's post-back behavior.
: : :
: : : : act i am new in asp.NET so i dont know what to use to build up a page.
: : : : When i use frame the <frame src="a.aspx"> <-- can i do that ?or just can use .htm cuz i test and i see my page is blank,although my a.aspx page i change the bgcolor to blue and add some word on it.
: : : : then i try to use table to seperate a page but i face problem when i wan to clink a link in my left side table and i want to show it in right side table but i dono how to do it.cuz i use <a href="..."> and it will show a new window.but i try to use target=" the td id." but also cannot.
: : : : so any want can help me out.it mayb is a very simple question.but i cant do it.thank you!
: : : :
: : : :
: : :
: : :
: :
: :
:
:

Report
Re: Better use Frame or Table to create a webpage? Posted by iwilld0it on 28 Jul 2006 at 11:02 AM
Tables do not work like that. Lookup information on the iframe tag. You can load web pages in an iframe. So for instance, you can create a table w/ 2 columns and place an iframe in each and then so on. Unfortunately this is all I know on the matter.

: O,i see.Thanks a lot.
: one more Question,hehe..if not using frame.i use table,how to link it from a column to another column?is that possible?
: because i know that each column in a table i can set a id="" for it,so if i use a column to set all the link and if user clink the link i can show the page in another column?i try to use <a href=xxx.aspx target=tablecolumnid>
: but it seem not working,it open a new page to show it.
:
:
:
:
: : Well the frames in the frameset file should all have names ...
: :
: :
: : <frameset>
: :    <frame name="frameA">
: :    <frame name="frameB">
: : </frameset>
: : 

: :
: : Then you can target a frame like so from the other frame ...
: :
: :
: : <a href="somepage.aspx" target="frameB">Click</a>
: : 

: :
: :
: : : Thanks a lot for your idea.But can you teach me how to link it when i click the hyperlink in the left side column and it show another aspx page in the right side column?what code should i use ?because i cant use targer=?? and also <a href=??> this also wil open in a new windows.
: : :
: : :
: : :
: : : : It is best to stay away from frames if possible, when developing ASP.NET pages. This all has to do w/ ASP.NET's post-back behavior.
: : : :
: : : : : act i am new in asp.NET so i dont know what to use to build up a page.
: : : : : When i use frame the <frame src="a.aspx"> <-- can i do that ?or just can use .htm cuz i test and i see my page is blank,although my a.aspx page i change the bgcolor to blue and add some word on it.
: : : : : then i try to use table to seperate a page but i face problem when i wan to clink a link in my left side table and i want to show it in right side table but i dono how to do it.cuz i use <a href="..."> and it will show a new window.but i try to use target=" the td id." but also cannot.
: : : : : so any want can help me out.it mayb is a very simple question.but i cant do it.thank you!
: : : : :
: : : : :
: : : :
: : : :
: : :
: : :
: :
: :
:
:

Report
Re: Better use Frame or Table to create a webpage? Posted by Tan theng wei on 31 Jul 2006 at 8:44 PM
:Oh i see,thanks any way i think i have figure out somethings..i think there is a code about Server.Redirect use to call another page but i have to set the things all the same so my problem is solve.hehe..thanks a lot for your help.I appreciate it.Thanks!

: Tables do not work like that. Lookup information on the iframe tag. You can load web pages in an iframe. So for instance, you can create a table w/ 2 columns and place an iframe in each and then so on. Unfortunately this is all I know on the matter.
:
: : O,i see.Thanks a lot.
: : one more Question,hehe..if not using frame.i use table,how to link it from a column to another column?is that possible?
: : because i know that each column in a table i can set a id="" for it,so if i use a column to set all the link and if user clink the link i can show the page in another column?i try to use <a href=xxx.aspx target=tablecolumnid>
: : but it seem not working,it open a new page to show it.
: :
: :
: :
: :
: : : Well the frames in the frameset file should all have names ...
: : :
: : :
: : : <frameset>
: : :    <frame name="frameA">
: : :    <frame name="frameB">
: : : </frameset>
: : : 

: : :
: : : Then you can target a frame like so from the other frame ...
: : :
: : :
: : : <a href="somepage.aspx" target="frameB">Click</a>
: : : 

: : :
: : :
: : : : Thanks a lot for your idea.But can you teach me how to link it when i click the hyperlink in the left side column and it show another aspx page in the right side column?what code should i use ?because i cant use targer=?? and also <a href=??> this also wil open in a new windows.
: : : :
: : : :
: : : :
: : : : : It is best to stay away from frames if possible, when developing ASP.NET pages. This all has to do w/ ASP.NET's post-back behavior.
: : : : :
: : : : : : act i am new in asp.NET so i dont know what to use to build up a page.
: : : : : : When i use frame the <frame src="a.aspx"> <-- can i do that ?or just can use .htm cuz i test and i see my page is blank,although my a.aspx page i change the bgcolor to blue and add some word on it.
: : : : : : then i try to use table to seperate a page but i face problem when i wan to clink a link in my left side table and i want to show it in right side table but i dono how to do it.cuz i use <a href="..."> and it will show a new window.but i try to use target=" the td id." but also cannot.
: : : : : : so any want can help me out.it mayb is a very simple question.but i cant do it.thank you!
: : : : : :
: : : : : :
: : : : :
: : : : :
: : : :
: : : :
: : :
: : :
: :
: :
:
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.