asp.net 3.5

CalendarDay class properties and its descriptions

A CalendarDay object represents a date in the Calendar control. Web developers can use this class in the DayRender event handler to programmatically access the properties of a date as it is rendered on the Calendar control. This allows them to specify the properties of the day (such as whether the date is selectable, selected, today’s date, or …

Learn more

Calendar class properties and its descriptions

The Calendar control provides functionality to display a single month of a calendar on a Web page. The control allows end users to select dates and move to the next or previous month. This control supports all the System.Globalization.Calendar types in System.Globalization namespace. For example Web developers can include in their applications Gregorian calendar or calendars that use …

Learn more

How to check if a session is created for the current request in ASP.NET

Software developer can use System.Web.SessionState.HttpSessionState member IsNewSession which identifies whether this session was just created for the current request. If currently no information is in session state, ASP.NET will not make an effort to track the session or create a session cookie. Instead, the session will be re-created with …

Learn more

How to cancel the current session in ASP.NET

Software developer can use System.Web.SessionState.HttpSessionState member Abandon() which cancels the current session immediately and release all the memory it occupied. This technique is a useful in a logoff page to ensure that server memory is recovered as quickly …

Learn more

CheckBox class properties and its descriptions

Web developers use the CheckBox control to allow the end users to select a true or false state. If web application developed needs multiple CheckBox controls, the developer has to use CheckBoxList as alternative control which provides data binding capabilities.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)

Property
Description
Supported in .NET version

AccessKey
This property returns or sets the access key that allows …

Learn more

Button class properties and its descriptions

Web developers can use the Button control to create a push button on the Web page. They can create a Submit or a Command button.

By default, a Button control is a Submit button i.e. does not have a command name specified by the CommandName property and associated with the button. This kind of button simply posts the Web …

Learn more