.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions

Does ViewState is responsible for maintaining data across the Page Post Back for Postback controls (like textbox, dropdownlist) and non-postbackcontrols(like label)?

Posted By :Virendra Dugar     Posted Date :November 02, 2009    Points :10   Category :ASP.Net 
It is false. For NonPostback controls it is true but for postback controls, ASP.NET retrieves their values one by one from the HTTP request and copies them to the control values while creating the HTTP response.

You can also find related Interview Question to Does ViewState is responsible for maintaining data across the Page Post Back for Postback controls (like textbox, dropdownlist) and non-postbackcontrols(like label)?  below: 

How do you indentify that the page is post back?

  
By checking the IsPostBack property. If IsPostBack is True, the page has been posted back. (More...)

How can we identify that the Page is Post Back?

  
Page object has an "IsPostBack" property (More...)

How can we identify that the Page is Post Back?

  
Page object has an "IsPostBack" property, which can be checked to know that is the page posted back. (More...)

Where is image data loaded into ImageList controls actually stored in the project?

  
Each form has an associated resource file (with a .resx extension) where image data and localized strings are stored.You can see this by clicking the Show All Files icon in the Solution Explorer. (More...)

When during the page processing cycle is ViewState available?

  
After the Init() and before the Page_Load(), or OnLoad() for a control. (More...)

What is the difference between ListBox (Filled with data) and DropDownList (Filled with data), in terms of SelectedIndex property?

  
The default value of the SelectedIndex property of the Listbox is -1, which indicates that no item is selected in the Listbox. However, the DropDownList control overrides this property and sets the default value to 0, which indicates the first item in the list. (More...)

When during the page processing cycle is ViewState available?

  
The view state is available after the Init() and before the Render() methods are called during Page load. (More...)

When during the page processing cycle is ViewState available?

  
After the Init() and before the Page_Load(), or OnLoad() for a control. (More...)

How many ViewState objects can be created on an aspx page ?

  
There is no limit. You can have any number of ViewState object on single aspx page. However more Viewstate objects, more slowly it loads. (More...)

How do you validate the controls in an ASP.NET page?

  
Using special validation controls such as Range Validator, Email Validator we can validate the controls in ASP.NET page. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend