|
Passing values from a page to another by means of the Context object
|
Total Hit (2706) |
Sometimes you may want to gather the user input with a page, and process it in a different page. As you know, ASP.NET web forms can post only to themselves, so you can't just change the form's <i>action</i> attribute and make the form post to a different page. And anyway, you may want to do some pro
....Read More |
Rating
|
|
|
|
Use custom error pages in ASP.NET
|
Total Hit (1901) |
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
|
|
|
Update the ACL of a file from an ASP.NET application
|
Total Hit (2614) |
It's not uncommon that ASP.NET applications have the need to use a personal .config file to write some runtime information. Since ASP.NET applications are not granted the permission to create or edit files on the server, the best place to store persistent data is a table in a database server (not an
....Read More |
Rating
|
|
|
Popup - The .NET Way
|
Total Hit (531) |
In this article we are going to build a method and an overload of the same which will open a popup window without using javascript or VB code in the .aspx page.
|
Rating
|
|
|
|
|
Web Service Authentication Via SOAP Headers
|
Total Hit (718) |
While working with web services one of the commonly faced question is - How do I secure my web service? One aspect of security is preventing anonymous access to the web service. This can be done in various ways such as passing user id and password with each web method call. One elegant alternative i
....Read More |
Rating
|
|
|
|
|
URL sharing across a network with ASP.NET
|
Total Hit (2411) |
URL Explorer is an ASP.NET application which displays the content of a generated XML file, representing the structure of your Favorites folder with the help of an XSLT stylesheet. URL Explorer allows the sharing of Internet Explorer shortcuts over an intranet or the Internet.
....Read More |
Rating
|
|
|
|
|
|
Using Server.Transfer and EnableViewStateMac to Preserve Form State
|
Total Hit (839) |
In classic ASP all of you must have posted one form to another by setting the action attribute. However, this doesn't work the same with ASP.NET. The web form model requires that each form be posted to the same form. If you want to transfer control from one web form to another you need to use Server
....Read More |
Rating
|
|
|
ASP.NET Caching Features
|
Total Hit (899) |
When clients access an ASP.NET page, there are basically two ways to provide them with the information they need:
«li»the ASP.NET page can either obtain information from server resources, such as from data that has been persisted to a database, or
the ASP.NET page can obtain information from w
....Read More |
Rating
|
|
|
SWAT - A simple Web-based Anomalies Tracker - Part 6
|
Total Hit (937) |
This is the sixth article in a series describing the development of an application I devised as a learning project. The purpose of the project was to gain experience developing in the .NET environment. The goal I had given myself was to define a web-based application and then develop the application
....Read More |
Rating
|
|
|
|
|
Cassini and Apache 101
|
Total Hit (1916) |
This article describes how to get ASP.NET up and running on Apache 2.x for Windows
|
Rating
|
|
|
Multi-row Editing in the ASP.NET DataGrid
|
Total Hit (845) |
This articles demonstrates how you can have multiple datagrid rows available for editing at one time, not just the one row you are normally limited to.
|
Rating
|
|
|
How Do I...Pass a complex type through a message queue?
|
Total Hit (727) |
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
|
|
|
|
|
Data Sanitization - Reducing Security Holes in an ASP Web Site
|
Total Hit (4433) |
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
|
|
|
Including a Data Bound CheckBox in an Editable DataGrid
|
Total Hit (596) |
I've had several requests to show how a data bound checkbox could be included in an editable datagrid. This article shows how to bind a bit field from a table to a checkbox in a datagrid as well as how to update the table with changes in the checked state of the checkbox.
....Read More |
Rating
|
|
|
Master-Detail DataGrids in ASP.Net
|
Total Hit (496) |
In this article you will learn how to link two datagrids in a master-detail relationship. There is more than one way to accomplish this task. In this article we will implement row filtering to find the detail records corresponding to a master record selected in the master grid. The tables we will us
....Read More |
Rating
|
|
|
|
|
Reading and Writing Text Files with the .NET Framework
|
Total Hit (694) |
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
|
|