Login | Sign Up | iGold Site Search
iGold Logo
  iGold Home
Home
iGold Blog
Blog
iGold InterView
Interview
iGold Articles
Articles
iGold Tips
Tips
iGold Tips
Tools
iGold Tips
Forum
iGold Tips
Feedback
Skip Navigation LinksiGold Home : Tips : Tips 'n' Tricks

 
bottomLeftImg   bottomRightImg
iGold new

Dot Net Interview Questions !!!
 
Interview Tips
 
on iGold.in

bottomLeftImg   bottomRightImg
PixImg

Links
 
bottomLeftImg   bottomRightImg
Login
New User SignUp
Change Password
Forgot Password

Forums
Asp.Net
Csharp
XML,XSLT
SQL Server
bottomLeftImg   bottomRightImg
PixImg
 
Tips and Tricks

Category : Dotnet - General
DotNet Technical Interview
Back to Tips   View All
How to set source to an iFrame from Asp.Net
Add the runat="server" tag to the iFrame. So the code for iFrame would be

The code

<iframe id= "myFrame" runat="server" height="200px" width="100%"></iframe>
In button click set the source for iFrame.

myFrame.Attributes["src"] = "test.htm"; 


For more details contact info@igold.in , Copyright © iGold.in 2004-2006
Terms of Use  | Privacy Statement

Asp.Net 2.0 Logo