Main Content RSS FeedRecent Articles

What is the role of global.asax. »

Store global information about the application

Can the action attribute of a server-side
tag be set to a value and if not how can you possibly pass data from a form page to a subsequent page. »

No, You have to use Server. Transfer to pass the data to another page.

How server form post-back works (perhaps ask about view state as well). »

By default all pages in .NET post back to themselves. The view state keeps the users input updated on the page.

Difference btn user and server controls »

Server controls are built-in. User controls are created by the developer to allow for the reuse of controls that need specific functionality.

Different types of HTML,Web and server controls (also how Server control validation controls work) »


Explain the code behind wors and contrast that using the inline style. »


What are the different types of Session state management options available with ASP.NET? »

ASP. NET provides In-Process and Out-of-Process state management. In-Process stores the session in memory on the web server. This requires the a “sticky-server” (or no load-balancing) so that the user is always reconnected to the same web server. Out-of-Process Session state management stores data in an external data source. The external data source may be either a SQL Server or a State Server service. Out-of-Process state management requires that all objects stored in session are serializable.

What does the “EnableViewState” property do? Why would I want it on or off? »

It allows the page to save the users input on a form across post backs. It saves the server-side values for a given control into View State, which is stored as a hidden value on the page before sending the page to the clients browser. When the page is posted back to the server the server control is recreated with the state stored in view state.

Page 279 of 284« First...«277278279280281»...Last »