can we store textbox and com components in viewstate?

Answers were Sorted based on User's Feedback



can we store textbox and com components in viewstate?..

Answer / swetha

Yes, We can store Values of TextBox in ViewState.

I am not sure about the com components

Is This Answer Correct ?    2 Yes 0 No

can we store textbox and com components in viewstate?..

Answer / karthik

We can store values of textbox by using Enableviewstate=true

Is This Answer Correct ?    0 Yes 0 No

can we store textbox and com components in viewstate?..

Answer / srikanth

We can store the value of the textbox, but cannot store
the textbox itself. Because viewstate can't hold the object
we can't store COM component as well.

Is This Answer Correct ?    1 Yes 1 No

can we store textbox and com components in viewstate?..

Answer / rudra prasad roy

System.Web.UI.Controls are not marked as serializable .
And Viewstate can hold object but that should be Serialize.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Define a web service in .net?

0 Answers  


What is the difference between web config and machine config files?

0 Answers  


What is the difference between cache and cookies?

0 Answers  


What are the new features implemented in ASP.NET?

0 Answers   TCS,


What are validator? Name the validation controls in asp.net? How do you disable them?

0 Answers  






how we use web services

2 Answers  


asp.net page is a object or not?

5 Answers  


Differentiate the session object and application object?

0 Answers  


Can any body provide me the sample web application in asp.net

0 Answers  


How do I send an email message from my ASP.NET page?

0 Answers  


What are the HTML server controls in ASP.NET?

0 Answers   MindCracker,


Can a master page inherit another master page?

13 Answers   Emphasis, IBM, NIIT, Sebiz Square,


Categories