|
Developing a hit counter in ASP.net
|
Total Hit (2515) |
In this example, we will create a web page which will track and display the hit counts for the web site. ASP developers must be familiar with a similar technique used to track the hit counts in classic ASP web pages.
|
Rating
|
|
|
Bind Datagrid to Datareader
|
Total Hit (1504) |
Most of times we see Datagrid Bound with Dataset but here is easy approach using Datareader
|
Rating
|
|
|
|
Associating a custom bitmap to a web or Windows custom control
|
Total Hit (2788) |
When you create a custom Windows or Web control, compile it and add it to the Visual Studio .NET's Toolbox, the control is added to the toolbox with a default bitmap representing a gear. This might be fine if you're developing the controls for your own use, but it surely isn't what you want if you'r
....Read More |
Rating
|
|
|
Including a Column Total Line in a DataGrid Control
|
Total Hit (512) |
The question is how to display a total line in a DataGrid control. It is quite easy to do by making use of the ItemDataBound event. As usual we will use an aspx page to define our grid.
|
Rating
|
|
|
.NET Web Services III
|
Total Hit (758) |
After reviewing the basics of Web Services in Part I and continuing to look at more advanced specifics in part II, in this article and the next we continue the progression looking at three more advanced Web Service related activities:
«li»Creating and using SOAP extensions
«li»Creating asynchr
....Read More |
Rating
|
|
|
|
|
|
A Sliding Window Cache
|
Total Hit (953) |
An example of setting the same "Source" object to expire 20 minutes after it is last accessed looks like:
|
Rating
|
|
|
Tracking File Downloads
|
Total Hit (825) |
If you run a web site that allows visitors to download some kind of files (ZIP, DOC etc.) then you may probably also want to track how many visitors downloaded the file. Such data is provided by sophisticated web site monitoring tools but if you do have use one, you can develop your own mechanism to
....Read More |
Rating
|
|
|
|
Dynamically Adding Controls
|
Total Hit (582) |
Adding controls at runtime provides the flexibility to design user interfaces that can be different things to different users. By the end of this article you'll be using multiple Placeholder controls to build a fexible template page.
|
Rating
|
|
|
|
|
Web Application Error Handling in ASP.NET
|
Total Hit (3394) |
This article will explain you how you can implement page level and application level error handling strategy. In ASP.net its very easy and flexible to work with error handling.
|
Rating
|
|
|
Creating Controls Dynamically in ASP.NET
|
Total Hit (477) |
The use of web controls provides much easier design time as well as run time experience to the programmers. However, some times it becomes necessary to generate web controls on the fly and add them to the underlaying form. For example if you are displaying search results, at design time you will not
....Read More |
Rating
|
|
|
|
|
HtmlInputFile
|
Total Hit (900) |
An HtmlInputFile control handles uploading of binary or text files from a client browser to the server. File-upload works with all HTML 3.2 and later Web clients. Note that the Enctype attribute on the <form> tag must be set to "multipart/form-data".
|
Rating
|
|
|
Handling Timeouts in Web Services
|
Total Hit (758) |
While developing web applications you should also consider factors like network downtime and server crashes. The same applies to developing web services. When you call a method from your client by default it waits infinitely for the response. This means if server hosting the web service is down then
....Read More |
Rating
|
|
|
|
|
|
|
|
|
Walkthrough: Creating a Web Custom Control
|
Total Hit (1151) |
If none of the existing ASP.NET server controls meet the requirements of your application, you can create a custom control by deriving from one of the base control classes. These classes provide all the basic functionality of server controls, so you can focus on programming the features you need.
....Read More |
Rating
|
|
|
|