|
Creating a popup calendar control
|
Total Hit (9161) |
Many data entry forms have one or more text fields that the user should fill with a date value. Many sites have a button near these fields that when clicked pops up a new small window with a calendar, to help the user select the date. When the user clicks on a day (rendered as a hyperlink), this pop
....Read More |
Rating
|
|
|
|
How to force file download using code in ASP.net.
|
Total Hit (8199) |
Many times we have requirement to popup file download dialogbox instead of user clicking on a link. This little code you can use in your ASPX page. Call the following method from your ASP.net code which should prompt a file download dialogbox in user's browser.
«code LangId=2»Public Sub DownloadF
....Read More |
Rating
|
|
|
Redirecting to the real referrer page during a postback
|
Total Hit (3176) |
Say that you have a page loaded from another page, and that in this page you have a "Save and Return" button that does something and returns to the previous page. For example you may have an Orders page that loads a Details page, where you make some changes and press the button to save the changes a
....Read More |
Rating
|
|
|
|
|
Highlighted Hovering and Anywhere Selecting A DataGrid Row
|
Total Hit (716) |
Recently while working for one of my client I came across a requirement such that:
«LI»DataGrid should not have select button to select a row. This was necessary to save some screen space.
«LI»Still when the user clicks on any of the DataGrid row (on any column), that row should be selected and
....Read More |
Rating
|
|
|
Self Validating Text Box - 2
|
Total Hit (800) |
This article extends self validating Text Box control to other data types and Min and Max value checking.
|
Rating
|
|
|
Search Engine Optimization Tutorial
|
Total Hit (1478) |
A few years ago, it was for the most part sufficient to incorporate a well optimized title tag and have a few relevant search terms (aka keywords) in the meta tags to get a top 10 ranking. Those days are long gone, and yet in my estimation, over 75% of webmasters still hold on to the notion that sea
....Read More |
Rating
|
|
|
|
|
State Management
|
Total Hit (687) |
This article describes set of best practices in state management.
|
Rating
|
|
|
|
|
|
Generic Shopping Basket
|
Total Hit (2323) |
A generic shopping basket web control that should serve as a good starting point to roll your own, more advanced version.
|
Rating
|
|
|
|
|
|
Control Which Columns are Displayed in a DataGrid
|
Total Hit (574) |
This ASP.Net (VB) program allows you to select many, or all of the columns from a database table, but display only certain, specified columns in a DataGrid. It does this by setting the DataGrid AutoGenerateColumns property to false and then using the Columns Collection to specify the columns to be d
....Read More |
Rating
|
|
|
ASP.NET File Upload
|
Total Hit (657) |
With plain, old ASP uploading a file from client browser to the server was a tedious task. Developers either used some third party controls or wrote their own file upload utilities. ( Remember BinaryRead and searching of crlf pairs? :-) With ASP.NET the situation has changed now writing file upload
....Read More |
Rating
|
|
|
|
|
MS Word 2003 XML Output
|
Total Hit (880) |
How to give a Word output without MS Office Web Components (OWC) on the server.
|
Rating
|
|
|
|
|
How Do I...Use common Regular Expressions?
|
Total Hit (741) |
«b»Social Security Number «/b»
\d{3}-\d{2}-\d{4}
«b»US Phone Number«/b»
((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}
«b»US Postal Code«/b»
\d{5}(-\d{4})?
«b»Internet EMail Address«/b»
[\w-]+@([\w-]+\.)+[\w-]+
«b»Internet URL «/b»
http://([\w-]\.)+[\w-](/[\w- ./?%=]*)?
«b
....Read More |
Rating
|
|
|
|
Write a user control?
|
Total Hit (478) |
«LI» Introduction to User Controls
«LI» Exposing User Control Properties
«LI» Encapsulating Events in a User Control
«LI» Creating User Controls Programmatically
«LI» Section Summary
|
Rating
|
|
|