|
|
 |
Use custom error pages in ASP.NET
|
| Total Hit (480) |
The tag in ASP.NET configuration files affects how error pages are managed in an ASP.NET application and whether developers can redirect users to their custom error pages when an exception is thrown. The syntax for this tag is:
<customErrors mode="On|Off|RemoteOnly" defaultRedirect="url">
<e
....Read More |
Rating
 |
|
|
|
 |
How to change ASP.net Page title Dynamically ?
|
| Total Hit (1337) |
You can use HtmlGenericControl() in ASP.Net pages to change the page title dynamically. All you have to do is, set an ID for the Html TITLE tag and make it "runat=server". Once you make it runat=server, you can access the control from the server side code and set any value for it.
First lest create
....Read More |
Rating
 |
|
 |
URL Rewriting in ASP.NET
|
| Total Hit (335) |
Examines how to perform dynamic URL rewriting with Microsoft ASP.NET. URL rewriting is the process of intercepting an incoming Web request and automatically redirecting it to a different URL. Discusses the various techniques for implementing URL rewriting, and examines real-world scenarios of URL re
....Read More |
Rating
 |
|
 |
Reading and Writing Text Files with the .NET Framework
|
| Total Hit (196) |
Ideally, all persistent data should be stored in a database, but oftentimes Web developers find themselves using plain old text files for some kind of persistent storage. There are usually better alternatives, but since this technique is still used quite a bit, it is worthwhile to discuss how to rea
....Read More |
Rating
 |
|
 |
Data Sanitization - Reducing Security Holes in an ASP Web Site
|
| Total Hit (1578) |
ASP is a great Web development technology that allows for rapid development of data-driven Web sites. However, problems can arise, however, when developers "go live" with code that contains potential security holes due to rushing out poor code, or not knowing the exploits that exist. In this article
....Read More |
Rating
 |
|
 |
compile components without having to use a compiler
|
| Total Hit (187) |
ability to compile components without having to use a compiler and or push a compiled component
on the server. It completely slipped my mind that we already have support
for this built-in to the pre-release.
|
Rating
 |
|
|
|
 |
Discover Directoy and File Data
|
| Total Hit (271) |
This is a short article, and a small amount of code, to get you started in discovering data about the files contained in a specified directory. In the article you will be exposed to the DirectoryInfo and FileInfo members of System.IO. Actually, you have a couple of choices when discovering directory
....Read More |
Rating
 |
|
 |
Paging and Sorting in an ASP.NET DataGrid
|
| Total Hit (156) |
Allowing paging or sorting in a DataGrid is a very simple process. Allowing for both is only slightly more complicated. This article shows you how to do it.
|
Rating
 |
|
 |
Build a Web Service and Create a Consumer
|
| Total Hit (272) |
In this article we will create a guest book web service that will control additions to, and displays from a database table. We will also create a consumer (a regular Web Form) of the web service. The consumer is discussed at the end of the article. Web services look a little strange at first glance
....Read More |
Rating
 |
|
 |
How Do I...Receive a message from a message queue?
|
| Total Hit (226) |
Message queuing makes it easy for application developers to communicate with application programs quickly and reliably by sending and receiving messages. Messaging provides you with guaranteed message delivery and a robust, fail-safe way to carry out many of your business processes.
....Read More |
Rating
 |
|
 |
Write my own server control?
|
| Total Hit (221) |
«LI» Developing a Simple Custom Control
«LI» Defining Simple Properties
«LI» Defining Class Properties
«LI» Retrieving Inner Content
«LI» Developing a Composite Control
«LI» Handling Events in a Composite Control
«LI» Raising Events from a Composite Control
«LI» Maintaining State
«LI
....Read More |
Rating
 |
|
|
|
 |
Detecting Browser Capabilities
|
| Total Hit (217) |
Many web applications provide client side functionality based on the capabilities of browser. ASP.NET provides an easy way to get capabilities of browsers. The capabilities of a browser include things such as whether it supports cookies,javascript and ActiveX controls and browser type and version. B
....Read More |
Rating
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
Item Template with Data Grid
|
| Total Hit (181) |
Ever needed to select multiple items from a Data Grid for editing or viewing? Using the Item Template allows this to be accomplished quite easily.
|
Rating
 |
|
|
|
|
|
|
|
|
|
 |
ASCX Control Parser
|
| Total Hit (183) |
A program that allows you to convert .ascx User Controls into redistributable controls
|
Rating
 |
|