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

Explain diff. Between friend and protected friend?

0 Answers  


What are the ways of preserving data on a Web Form in ASP.NET?

0 Answers  


Differentiate strong typing and weak typing

0 Answers  


what is profiles in asp.net

1 Answers  


How can you make sure that web api returns json data only?

0 Answers  






suppose i am Admin in my application and i have to terminate the session of the particular user in my application.........how can i do it....?????

1 Answers   L&T,


Define a multilingual website?

0 Answers  


Can any one explain with the example how to capture the application error in Aplication_Error() method?

1 Answers   Infosys,


Explain the differences between Server-side and Client-side code?

12 Answers   Cognizant, CTS, Siebel Systems, Visual Soft,


What is the difference between web.config and machine.config in ASP.NET?

0 Answers   Amazon,


how can we maintain security in soted procedure?

1 Answers  


Can I read the hard disk serial # of the client computer using asp.net?

0 Answers  


Categories