|
|
Automatically hyperlink URLs in ASP.NET Pages
|
Total Hit (9775) |
Suppose that your ASP.NET pages display contents read from database fields. Suppose also that some of those fields may contain URLs or email addresses. A typical example is when you display user information such as the email address or the personal Web site. By using regular expressions, you can aut
....Read More |
Rating
|
|
|
Sending files to the browser
|
Total Hit (2750) |
The ASP.NET Response object has been greatly expanded in its capability to send output to the client browser. For example, the WriteFile method can send the contents of any text, HTML, or XML file to the browser; in classic ASP you have to load the file in memory and then pass its contents to a Writ
....Read More |
Rating
|
|
|
Accessing user controls from the code-behind
|
Total Hit (2756) |
When you add a user control to an ASP.NET page, Visual Studio .NET does not add a control declaration as it does when you add standard ASP.NET web controls. The result is that you can't directly access the user control from the code-behind and programmatically change its properties and call its meth
....Read More |
Rating
|
|
|
Relative Urls in user controls
|
Total Hit (2638) |
Urls that you set in user-control's child controls are relative to the user control's directory, not to the host page's directory. Say for example that you have an user-control located under the /UserControls directory, and the host page under the / root directory. The user-control exposes a custom
....Read More |
Rating
|
|
|
Write an ASP.NET page?
|
Total Hit (495) |
«big»Web Forms Syntax Reference«/big»
«LI» ASP.NET Web Forms Syntax Elements
«LI» Rendering Code Syntax
«LI» Declaration Code Syntax
«LI» ASP.NET Server Control Syntax
«LI» ASP.NET Html Server Control Syntax
«LI» Databinding Syntax
«LI» Object Tag Syntax
«LI» Server Side Comment S
....Read More |
Rating
|
|
|
Work with the DataList control?
|
Total Hit (927) |
«LI» Introduction to Templated Controls
«LI» Handling Postbacks from a Template
«LI» Using Select and Edit Templates
«LI» Finding a Control Inside a Template
«LI» Section Summary
|
Rating
|
|
|
|
Using a ButtonColumn Control in a DataGrid
|
Total Hit (556) |
The ButtonColumn Control is one of several controls that can be used within a DataGrid control in ASP.Net. This article demonstates one way to use this control.
|
Rating
|
|
|
SWAT - A simple Web-based Anomalies Tracker - Part 9
|
Total Hit (931) |
This is the last SWAT article. This article implements the reporting feature and completes all the requirements described in the first article. For those readers new to SWAT, this series of articles described the development of an application I devised as a learning project. The purpose of the proje
....Read More |
Rating
|
|
|
|
Simple User Account Login
|
Total Hit (683) |
Demonstrates maintaining user account information, managing session state, Access database I/O, cookies, and some other basic features.
|
Rating
|
|
|
|
|
Forms Authentication Against SQLServer
|
Total Hit (522) |
In this article I'll cover how we can extend the inbuilt facilites of ASP.NET a little to provide authentication against a SQLServer database. Forms authentication is the method we shall focus on, in particular integrating a SQLServer authority.
|
Rating
|
|
|
|
|
Dropdown list for the foreign key of a table in a datagrid
|
Total Hit (931) |
The script populates an ArrayList with values from the database and then binds the list to the dropdown inside the datagrid. You would want to do something similar, but you'll need to store the foreign key as well as the text.
|
Rating
|
|
|
ASP Configuration Files
|
Total Hit (795) |
ASP.NET/ IIS applications use an optional XML-based configuration file named web.config, to maintain application configuration settings. This extends and/ or changes any settings in the system wide configuration file, machine.config.
|
Rating
|
|
|
Configuring Exceptions Using Web.config
|
Total Hit (788) |
An article on handling exceptions using custom handlers, by a custom configuration section, making it independent from the using application.
|
Rating
|
|
|
|
|
|
|
Editable ComboBox control in ASP.net
|
Total Hit (987) |
I've always wondered why Microsoft, or any else for that matter, has never provided a native HTML ComboBox element. After some poking around on the web, I decided to take matters into my own hands. I wanted a control that would be visually distinctive from the default HTML Select element and provide
....Read More |
Rating
|
|
|
|
Grant or deny permission to a user or role?
|
Total Hit (948) |
ASP.NET is used to control client access to URL resources. It is configurable for the HTTP method used to make the request (GET or POST) and can be configured to allow or deny access to groups of users or roles. The following example shows access being granted to a user named John and a role named A
....Read More |
Rating
|
|
|
How To: Set Up SSL on a Web Server
|
Total Hit (1071) |
A Web server must be configured for SSL in order to support https connections from client applications. This How To shows you how to configure SSL on a Web Server. (
|
Rating
|
|
|
|