iframe src from code
-
Hi, Sorry if this is asked already, I am doing...
button_Click(...) { literal1.Text=""; }
This works fine on my local machine wen I run is from VS I cannot get the page when I put this on a local server, Should I change the URL in any way? I tried usingliteral1.Text="";
But no result, This one is real easy for you guys, Please help._____________________________________________________ Yea! I could be wrong...
-
Hi, Sorry if this is asked already, I am doing...
button_Click(...) { literal1.Text=""; }
This works fine on my local machine wen I run is from VS I cannot get the page when I put this on a local server, Should I change the URL in any way? I tried usingliteral1.Text="";
But no result, This one is real easy for you guys, Please help._____________________________________________________ Yea! I could be wrong...
-
Hi, Sorry if this is asked already, I am doing...
button_Click(...) { literal1.Text=""; }
This works fine on my local machine wen I run is from VS I cannot get the page when I put this on a local server, Should I change the URL in any way? I tried usingliteral1.Text="";
But no result, This one is real easy for you guys, Please help._____________________________________________________ Yea! I could be wrong...
Hi, try the below code, hey but i m not sure its working..but let see
button_Click(...)
{
literal1.Text="<iframe src="./Forms/NEW_Forms/MyForm.aspx" width="100%" height="100%"></iframe>";
}If above code is not working then try using Server.MapPath("MyForm.aspx") I hope it will help u.. Regards,
Rana Krishnraj