What is the difference between Server.Transfer and
Response.Redirect? Why would you choose one over the other?

Answer Posted / x

Please Ignore:

function Submit(){
if(window.confirm("Do you want to close?")){
return true;
}else{
return false;
}
}

<asp:Button ID="btnSubmit" runat="server"
OnClientClick="return Submit()" Text="Submit" />

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does u get record no from 5 to 15 from a dataset of 100 records?

717


Why select Web API?

729


How can you register a custom server control to a web page?

743


What is semantic gap?

810


List the events in page life cycle.

722


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

842


What is the main difference between Asp.net and Vb.net?

774


What is routing in MVC?

792


How do we ensure view state has not tampered?

798


What is a user session?

680


What do you mean by authorization?

704


What is protected configuration?

825


What is cross page posting in asp net?

708


What are the ways of preserving data on a Web Form in ASP.NET?

811


What is the mvc framework?

742