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

In what order do the events of an ASPX page execute. As a developer, why is it important to understand these events?

5 Answers   Syntax Softtech, TCS,


What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?

0 Answers  


What is advantage of viewstate and what are benefits ?

1 Answers  


how many character send in one sms forget 160limit and think about gateway allowed

2 Answers   Wipro,


About the Usage of htmlencode and urlencode ?

2 Answers   Cognizant,






What are the new page events added in Asp.net 2.0 ?

5 Answers   Sapient, TCS,


In SP has contains 10 query,By Using Dataset Object I need to fetch 8th query of records? How?

5 Answers  


What are server activated objects?

0 Answers  


Is data can be edited in the Repeater control?

2 Answers  


What is the difference between application and cache variables?

6 Answers   Astadia,


What is cross page posting in asp net?

0 Answers  


How to authenticate users using web.config ?

1 Answers   Patni,


Categories