crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Common navigation techniques in ASP.NET
Question Posted on 04 Sep 2011Home >> DotNet >> ASP.NET >> Common navigation techniques in ASP.NET

(1)Window.Open:- Its a script method which display a page in a new browser window on the client.Syntax Is as Below
window.open( URL, name [ , features [, replace ] ] )
window.open('pagename.aspx','winname','left=0,top=0,width=500,height=500,toolbar=1,resizable=0');

(2)Hyperlink control:- Its function is only to Navigate to another page.Syntax is as Below
< asp:HyperLink NavigateUrl="pageName.aspx" runat="server" />

(3)Response.Redirect:- Its used to navigate to another page from code. This is equivalent to clicking a hyperlink. Syntax is as Below
Response.Redirect("PageName.aspx")

(4)Server.Transfer:-End the current Web form and begin executing a new Web form. This method works only when navigating to a Web Forms page (.aspx).
Server.Transfer("PageName.aspx");

(5)Server.Execute:- Begin executing a new Web form while still displaying the current Web form. The contents of both forms are combined. This method works only when navigating to a Web Forms page (.aspx).
Server.Execute(path)
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Use of Calendar control in dotnet with code

How to improve Front End UI performance of dotnet web application?

File upload in dotnet

reverse a string

function of garbage collector






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap