| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| I am using ASP.Net 2.0. I added the following code in
button_Click page. but 'PreviousPage' is not taking as a
keyword. It throughs an error.
Page Poster = this.PreviousPage;
TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest");
sDisplay = txtNewTest.Text;
Response.Write(sDisplay);
The following is the Error Message:
'controls_LoginMain' does not contain a definition
for 'PreviousPage' | | 2 |
| write a sample code make use of xmltext writer | GCI | 1 |
| What are the two properties that are common in every
validation control? | | 4 |
| Can we change the session timeout in ASP.NET, if yes then
how and from where? | L&T | 7 |
| After capturing the SelectIndexChanged event for a ListBox
Control, you find that the event handler doesn?t execute.
What could be the problem be?
a) The AutoEventWireup attribute is set to False
b) The AutomaticPostBack attribute is set to False
c) The codebehind module is not properly compiled
d) The ListBox must be defined WithEvents.
| Syntax-Softtech | 1 |
| hi .net gurus
here is my question " how does impersonate in asp.net works?
explain with good example" | Wipro | 2 |
| I am having four text boxes in my web application. I am
setting Required Field validator to each Text box. And I am
having two buttons in my application. If i clicked the
first button only first two text box validation will get
fire. Dont show error message for remaining two text box.
If i clicked second button last two text box validation
will get fired. It will not consider the first two
validation controls. That is how to enable and disable the
validation controls. | | 4 |
| how can i call output parameters from ado.net | TCS | 2 |
| Explain the scenario where we go for inpro and outpro session? | | 2 |
| Is It Possible for Static Variables access normal variable?
and Normal Varialbe Access the static Variables? | Phoenix-Technologies | 1 |
| What?s the difference between Response.Write()
andResponse.Output.Write()? | Atos-Origin | 5 |
| What is the Difference B/W Finalize() and Dispose() in .Net? | HCL | 7 |
| what are the server controls used in sitepath navigation? | | 1 |
| How many classes can a single .NET DLL contain? | SoftSol | 5 |
| Singleton Design pattern?How do you achieve it? | Microsoft | 2 |
| Can we throw exception from catch Block? | Accenture | 6 |
| How can we do the client side validation and Server side
validations? But i told that At client side by with the help
of validations control or by javascript? But I dont know
about the Server side controls Explain? | iSoft | 5 |
| Differentiate between Server Transfer and Response
Redirect? | DELL | 2 |
| what is strong name? | Microsoft | 2 |
| what is the differance between native code & managed code? | | 5 |
| |
| For more ASP.NET Interview Questions Click Here |