Click here to Skip to main content
15,921,062 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how cand use iframe in master page and change src of it in source code ?
Posted
Comments
mtorabi2005 13-Oct-11 4:11am    
i have iframe in webform than inherit of master page so it dont work when i change src of iframe
Yuri Vital 13-Oct-11 4:32am    
Not very clear.
Post a siginificants part of your code.
hitech_s 13-Oct-11 5:11am    
you want to change the iframe source ...
yes you can do it directly by the id of that frame

1 solution

yes, by doing this :

ASP.NET
<iframe ID="myFrame"  runat="server" />


In code behind you can handle directy your iframe by calling "myFrame"
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900