Click to See Complete Forum and Search --> : how to make display 2 aspx pages in 2 frames


jijoy79
March 18th, 2005, 09:31 PM
hi,

i been doing a project in asp.net and i have created an aspx page with 3 frames, frame_top,frame_left,frame_right.

the 'src' for the left frame is another aspx file with two text box and two buttons OK and Cancel. i want to know how i can load diff pages on the left frame and right frame when i click OK after checking some details from the database.

i have successeded in checking with the database but cant display any page on the frames...

pls someone help me....been trying not noo hope...

byee
peace

attitude

hspc
March 21st, 2005, 03:31 AM
Hi
using JScript:
frame_left.src="1.aspx";
frame_right.src="2.aspx";

or you can make this on the server side :
<FRAME FRAMEBORDER=0 SRC=<%=pageurl%>>