ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
I am trying to redirect another site on button click.
 Question Submitted By :: Ragsngh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I am trying to redirect another site on button click.
Answer
# 1
Response.Redirect("http://yahoo.com");
 
Is This Answer Correct ?    6 Yes 1 No
Sunil Kumar Singh
 
  Re: I am trying to redirect another site on button click.
Answer
# 2
You can also use PostbackUrl property associated with  
button control in ASP.NET,
such as : <asp:button id = "b1" PostBackUrl = "www.sify.com"
            runat = "server" Text = "redirect"/>
 
Is This Answer Correct ?    3 Yes 0 No
Guest
 
 
 
  Re: I am trying to redirect another site on button click.
Answer
# 3
you can use the link button control in that control there is a property c/d NavigateUrl in which u specify either the URL of any site or any page of the application...
 
Is This Answer Correct ?    1 Yes 0 No
Anjani
 
  Re: I am trying to redirect another site on button click.
Answer
# 4
Hi Anjani, there is a mistake in answer is that the link button control doesn't contain the NavigateUrl property but we do this task by doing this in the linkbutton control source view is:

   <asp:LinkButton ID="lnkbtn" runat="server"      OnClick="lnkbtn_Click" OnCommand="link"><a href="http://www.google.com">Link</a></asp:LinkButton>
  </div>
 
Is This Answer Correct ?    1 Yes 1 No
Anju
 
  Re: I am trying to redirect another site on button click.
Answer
# 5
responce.redirect(http//:gmail.com)
 
Is This Answer Correct ?    0 Yes 0 No
Kiran
 
  Re: I am trying to redirect another site on button click.
Answer
# 6
Response.Redirect("link name");

http://www.interview-questions.maxmice.com
 
Is This Answer Correct ?    0 Yes 0 No
Usha
 
  Re: I am trying to redirect another site on button click.
Answer
# 7
There is a mistake in answer is that the link button 
control doesn't contain the NavigateUrl property but we do 
this task by doing this in the linkbutton control source 
view is:

   <asp:LinkButton ID="lnkbtn" runat="server"      
OnClick="lnkbtn_Click"><a 
href="http://www.google.com">Link</a></asp:LinkButton>
  </div>

The OnCommand="link" is not needed.

<asp:LinkButton ID="lnkbtn" OnClick="lnkbtn_Click" 
runat="server" >
        <a href="http://www.google.com">Link</a>
    </asp:LinkButton>
 
Is This Answer Correct ?    1 Yes 0 No
Gopakumar
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
When working with ASP.Net server controls, it is important to use the right event handlers to capture the event for the application to function properly. What event would you use to capture the selection of a new item in a DropDownList control? a) The Click event. b) The SelectionChanged event. c) The SelectionIndexChanged event. d) The ChangedSelection event. Syntax-Softtech4
web farm .. how does session shuld be stored... if inproc used? does the session persists from one server to other. TCS2
WHAT ARE DEFFERENCE BETWEEN DATALIST AND DATAGRID Seion-Infotech1
Why Web Services?  1
How can we prevent an aspx page get refreshed when any information fetch from the database ? Minecode2
What tags do you need to add within the asp:datagrid tags to bind columns manually?  2
what is stateless ?  2
What is shared and private assembly? Accenture1
How To Call Outside Javascript File? Example : Our Project File Folder Name "Sample" Another Folder Name "Check".Check Folder Is Out Side Of Our Project ?Check Folder Have Verify.Js File. My Question Is How To Call Verify.Js File. Phoenix-Technologies2
How does SQL Server session state works Emphasis1
Could u send me the answer for this question as soon as possible. Im using 'System.net.mail.mailmessage' namespace for sending a mail from my application. What should I mention in 'system.net.mail.mailmessage.to' property and What should I mention in 'system.net.mail.mailmessage.from' property.  1
Hi , I am Basha. I am searching a job in dotnet.Plz tell me the order of page events in asp.net 2.0> plz send faq's related to c#.net,asp.net,sqlserver2000 etc. to my mail-id : bashask.ss@gmail.com Sapient4
what is generics? Microsoft2
How to write unmanaged code and how to identify whether the code is managed / unmanaged ? Accenture1
what is state management,what is the purpose of it,how it will be implemented in real time?  1
What is Difference between Callbacks and Postback in ASP.NET?  8
what is mean by framework?  2
what do machine key element in configuration file specify? TCS1
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset? HCL3
How to do Forms authentication in asp.net?  2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com