+ All Categories
Transcript
Page 1: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

IFRAMEASP.NET

Rehab AlFallaj

Page 2: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

Manualy type the following code for iframe tag in the aspx source code

Page 3: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

• Put the iframe tag inside <div> tag

• src attribute defines the target aspx page you want to display in the iframe

• You can modify height and width based on the space you want to show as an iframe in the page

• Don’t use runat=“server” in the iframe tag if you wish to embed a page from your own website.

Page 4: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

Content ofPage1.aspx

index.aspx

Page 5: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

In this example: the Button Sign in will go to page1.aspx

Page 6: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

index.aspx

Content ofPage2.aspx

Page 7: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

MENU

ASP.NETRehab AlFallaj

Page 8: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

Add New Item > Site Map

Page 9: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

List all your pages in a tree format

Page 10: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

In the MasterPage add from the Toolbar> Data> SiteMapDataSource

Page 11: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

You will use this ID later for Menu/SiteMapPath/TreeView

Page 12: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

In the MasterPage Add From Toolbar > Navigation > Menu

Page 13: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

Add the SiteMapDataSourceID in the Menu tag in SourceCode of MasterPage

Page 14: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

SiteMap Menu

Page 15: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

In the MasterPage Add From Toolbar > Navigation > SiteMapPath

Page 16: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

Add the DataSourceID in the SiteMapPath tag in sourceCode of the MasterPage

Page 17: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

SiteMapPath

Page 18: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

In any aspx page ex: ChannelBags.aspx You can add a TreeViewAdd DataSourceID

Page 19: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

Don’t forget: TreeView control and any content will be inside the Content tag where It’s linked with the contentPlaceHolder from MasterPage

Don’t forget DataSourceID

Page 20: ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.

TreeView


Top Related