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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
If i have a page where i create an instance of a dll and
without invoking any method can I send values to next page ?
 Question Submitted By :: Sweety
I also faced this Question!!     Rank Answer Posted By  
 
  Re: If i have a page where i create an instance of a dll and without invoking any method can I send values to next page ?
Answer
# 1
By IsCrossPostback Property we can send values to the next
page..
Exam::
Let There Are 2 Page page1.aspx & page2.aspx.....I wanna
send value of a textbox from page1 to page2.
Step 1::
  In aspx of page1,
   <div>
   <asp:TextBox ID="Textbox1"......></asp:TextBox>
   <asp:Button ID="Button1"....postbackurl="~page2.aspx"/>
    </div>
Step2::

  In Pageload() of page2.aspx

pageload()
   {
    if(PreviousPage!=null && PreviousPage.IsCrossPostBack)
      {
       TextBox text=PreviousPage.FindControl("Textbox1")
                                               as TextBox;
        if(text!=null)
         {
          Label1.Text=text.Text;
         }
      }

   }

   .........Here Label1 is a label of page2.Where i show the
value of 1st page's text box value....
 
Is This Answer Correct ?    0 Yes 0 No
Maloy.adhikari
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Why is it important to maintain session state?  1
Features in ASP.NET ? Microsoft1
Which control would you use if you needed to make sure the values in two different controls matched?  3
How will u decide when to use caching and when to use viewstate?  3
Explain what a diffgram is, and a good use for one? FT1
About writting a query and SP which is better ? Satyam2
What is deference between asp.net, vb.net, c# & j#  2
what are the server controls used in sitepath navigation?  1
Tell something about state management in asp.net? Accenture2
Difference between ASP Session and ASP.NET Session?  1
what is the use of asp.net ABC2
About Global .asax ? Satyam5
How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?  1
What is the need to give <compilation debug=true> command ? Netsweeper3
About CLS and CTS? Microsoft6
How do you associate two or more validators with a single input control? What do you need to do to prevent space from being reserved for a validation control thatpasses its validation test?  1
What are the different types of Session state management options available with ASP.NET?  1
How can you debug an ASP page, without touching the code?  1
About DataAdapters ? Accenture7
What is the Difference B/W Finalize() and Dispose() in .Net? HCL7
 
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