Masterpage + IFrame
-
Hi.... I have used masterpage and have iframe on it and set Src = "Rotator.aspx". Now my masterpage and Rotator.aspx are on same directory (just under the root). My rest of the pages uses this masterpage and they are under 'root/user/' directory. Pages which are in the root directory will load iframe with "rotator.aspx" but pages which are in the 'root/user/' directory gives "page not found" in iframe. so how would I set the src property properly.. thanx in advance.
By: Hemant Thaker
-
Hi.... I have used masterpage and have iframe on it and set Src = "Rotator.aspx". Now my masterpage and Rotator.aspx are on same directory (just under the root). My rest of the pages uses this masterpage and they are under 'root/user/' directory. Pages which are in the root directory will load iframe with "rotator.aspx" but pages which are in the 'root/user/' directory gives "page not found" in iframe. so how would I set the src property properly.. thanx in advance.
By: Hemant Thaker
Try setting the source property for the IFrame as
Src = "~/Rotator.aspx"
HTH! -
Try setting the source property for the IFrame as
Src = "~/Rotator.aspx"
HTH!Its not working..