Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / web_development

Web_Development

web_development

Great Reads

by ortund
Login system with breach redundancy handling.
by Wayne Ye
"Unique URL Pattern" in Ajax Web Application
by Liviu Ignat
How to handle database operations or any kind of business specific logic inside plugin assemblies.
by Brad Joss
[RegSave] your property to the Registry, and more.

Latest Articles

by ortund
Login system with breach redundancy handling.
by Wayne Ye
"Unique URL Pattern" in Ajax Web Application
by Liviu Ignat
How to handle database operations or any kind of business specific logic inside plugin assemblies.
by Brad Joss
[RegSave] your property to the Registry, and more.

All Articles

Sort by Score

web_development 

by Michael Bergman
Using Windows Communication Foundation to build a simple web server
by J a a n s
Creating an input control which can accept multiple input values with the help of jQuery and un ordered list (UL).
by Almar Mike
The basics of organizing code with OOP in JS
by Raghav Nayak
Simple vertical scroller.
by DrABELL
CSS3 technique utilizes HTML5 div elements to produce compact pseudo-graphics
by Mukund Thakker
Android GCM Push Notification
by Ruhollah Heidarpour
Just another ASP.NET Persian(Jalali/Shamsi/Solar) / Gregorian Datepicker
by Mikhail Vasilchenko
ASP.NET MVC 5 Multiple Image Uploader with Crop
by TheCoolCoder
Numbering for Multilevel ASP.Net Treeview using CSS Counters
by Kumar_Jitendra
The asynchronous controller enables you to write asynchronous action methods.
by csanuragjain
Automatically refresh page after some interval
by imsauravroy
A basic introduction on how to use data annotations for validating MVC models, which solves basic validation issues
by Emiliarge
Comparison of 4 browser engines and controls + some tips for using them (in attached projects and in tip text). Short and clear.
by coder255
JSRPC.Net creates a JavaScript object with functions to call your WebAPI.
by Andre' Gardiner
Censoring any word from a given list (array) to filter your web content(s).
by DrABELL
Make entire table row clickable/selectable by adding "onclick" event and formatting features via JavaScript and CSS3.
by Sunasara Imdadhusen
Following are optimized code for SelectRow functionStylesheet.selectedRow{color: #303030;font-size:3em;font-weight:bold;}.normalRow{color: #909090;font-size:2em;font-weight:normal;}Javascriptfunction SelectRow(row) { // get all data rows - siblings to...
by Aniruddha Loya
How to set up Apache 2.2 on MacOS to test websites with self generated certificates in order to verify settings for secure HTTP (HTTPS)
by Yassin Souabni
How to conserve ratio and serve optimal fluid images in responsive design
by Member 4332221
Create count down timer using ASP.NET Timer Control and Ajax
by Gregory Gadow
Configure your IIS site to serve custom error pages for all your file types: .html, .aspx, .pdf, whatever.
by José Cintra
Tips for creating mathematical cross-platform applications in JavaScript and display formulas and other content with MathJax and JQuery Mobile.
by M@dHatter
Below is an easy way to create Templates in JavaScript without changing the code format.
by CARPETBURNER
Are you too lazy to do a proper tip or a proper article?
by Bibhu Dutta
A content delivery network (CDN) is aimed at serving the content to end-users with high availability and high performance. But what if the CDN fails, due to an un-reliable internet connection? This tip provides a fall back mechanism for such a scenario.
by Ajay Bachale
MVC3 Role base security.
by sekharkaza
This code is very useful for those who want to know which aspcontrol has caused the postback.
by FrostedSyntax
This slideshow plugin extends jQuery and allows all sorts of customization, such as the ability to choose any element type as slides just by specifying a selector string.
by Robert Bettinelli
Check this for a good universal way of running stored procedures..
by Pankil Bhatt
In this tip, we will see how to use the Google Maps API and Google Maps with custom styles and a custom pin.
by Abhay@Accenture
How to bind Derived Type in MVC View
by Shridhar Gowda
This tip will give complete knowledge of how to change master page, render controls and accessing its eventhandlers @ runtime.
by Technoses
The above code will slow down the browser and the browser can hang when Rows in Grid will be 10000 or above.Please view the below suggestion:CS Codeprotected void grvGroups_RowDataBound(object sender, GridViewRowEventArgs e){ if (e.Row.RowType == DataControlRowType.DataRow) { ...
by Sunasara Imdadhusen
This is simple tricks which allows you to make your DIV on center of the screen without using Javascript.
by Tejas Vaishnav
How to overload a web method in ASP.NET webservice...?
by BrianBissell
This provides a much better overview of the problem/solution:http://www.codeproject.com/KB/webservices/OverloadingInWebService.aspxIntroductionThe function overloading in Web Service is not as straightforward as in class. While trying to overload member function, we make two or more...
by Udi Perets
Simple Web User Control prevents unexpected action caused by Refresh Button
by Member 4236865
Could you not achieve the same thing with javascript?if (document.all){ document.onkeydown = function () { var key_f5 = 116; if (key_f5==event.keyCode){ event.keyCode=0; alert ("Sorry! You can not refresh this page!"); ...
by clbyrne
I did something similar with a PageToken class, but I put it in the Master Page so that I could implement it on any page that uses the Master Page. In our code we wrapped the session variables in their own class called Session variables.We needed a little more functionality for complex pages...
by Ravi Lodhiya
An attacker would point to a “harmful” web site or content and you would only see a short URL which would not tell anything about the original URL.
by Tejas Vaishnav
Sending an email from your ASP.NET web application
by thatraja
HTML Marquee & its alternatives
by pollirrata
Html.RatingFor: Extending the MVC HtmlHelper
by Paulo Augusto Kunzel
A short guide on best practices
by DrABELL
Pure HTML5 modal pop-up box ("darkbox") implemented via CSS 3
by anshudutta
by Paulo Augusto Kunzel
Quick way to insert an image sliding effect on your web site
by Shahriar Iqbal Chowdhury/Galib
An easy way to integrate CKEditor with ASP.NET web page, validate the editor content and retrive the editor content from server side code
by Shahriar Iqbal Chowdhury/Galib
Simple example to integrate FB javascript API to implement FB Connect application, fast, simple and trusted way to implement FB connect.
by Riaan Lehmkuhl
Save the following code to a .js file or add to an existing one you might have ...
by Riaan Lehmkuhl
Save the following code to a .js file or add to an existing one you might have:function stringHelper() { this.isNullOrEmpty = function(str) { if (null == str) return true; str = this.trim(str); return str.length == 0; } this.trim =...
by Joezer BH
A most common event
by Michael Collins - Intervalia
Use the code below to determine the number of bindings of your Angular apps
by Abhishek Maitrey
Learning AngularJs : Episode 1 of 15
by SupperSlonic
Easily create vertical tabs on a web page with no JavaScript and minimum CSS.
by G4mm4R4y
This code guides you in making your own currency, and is very simple.
by Bo Li (KAFFEECKO)
Using mODELcLASSjs in combination with AngularJS allows you to define constraints in a declarative way supporting responsive HTML5 validation, it simplifies storage management, with the cloud storage service Parse.com for instance, and provides the option of multiple inheritance.
by e.bonavero-miller
make sure that web.config contains these config sections: ...
by MD. Ashrafuzzaman Emon
Areas gives the opportunity to separate a large ASP.NET MVC Web application into smaller functional groups or loosely coupled modules.
by Jun Du
I had to create a trivial image button for my Silverlight web site. I Googled the web and got tons of tips and suggestions. However, most of them involve several editing steps through resources, template or style. Some require additional tools, such as Expression Blend. In my...
by taha bahraminezhad Jooneghani
Problem around .first() method in EF and a good solution
by Mr. Tapan Kumar
In this article I will describe how to integrate paypal in your asp.net web application
by Agon Avdimetaj
A simple file uploader written in PHP.
by Deviprasad Das
A plugin to do the textarea's maxlength validation
by Relfor X
A basic tutorial on using PopScript.js
by Morgan Estes
Compress and encode a string to save loading time in the browser
by Pankaj Nikam
PRG or Post Redirect Get pattern focuses on solving the typical problem where the user presses F5 or refresh button and causes duplicate database transactions.
by veen_rp
A small JavaScript module to create a modal dialog box or user input box in the familiar .NET style
by CodingLover
Tweets are one of the mostly used for status sharing these days. This tip highlights one of the easiest ways to display Tweets in PHP.
by ortund
Allow purchases via PayPal on your website
by Super Lloyd
There is a problem with ko mapping and here is how to fix it
by Ajith K Gatty
This tip helps you to reset all your DropDownList values to the default one when a DropDownList changes its selection.
by Premraj M
Normally, whenever a form is posted backed, the password field will clear. But we dont want it to do that. In that scenario, we can add a little bit of code will avoid the issue.Retain Password In VB.NETProtected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)...
by anand kr
Develope Richfaces web project in Eclipse JavaEE IDE with maven support using archetype
by Artefakt94
Run Web Application in Multiple Browsers (Visual Studio)
by Mayur V Lohite
A basic guide for URL Rewriting
by Joyce Keller 2
Using MasterPage.master for ASPX pages, in Visual Studio 2008 and 2010, an ASP content area is automatically created for use within the head section of the HTML code when you create a new page using a master page.If you aren't using Visual Studio, you can create a content area for the head...
by Ahmad F Hassan
Step by step, creating LINQ to SharePoint Data Access Layer using SPMetal
by Ahmad F Hassan
5 minute trick
by thatraja
Show/hide elements dynamically in web page
by Afshin Mehrabani
This post discusses some simple and useful JavaScript Regular Expressions
by Manivannan Chidambaram
This tip will help beginners to understand basic data-binding of model-view using AngularJS.
by Omar Isaid
Submit images to a web service and get them back.
by Omar Al Zabir
Files with different date time get different ETag generated by IIS. As a result, on a web server farm, each webserver sends different ETag for the same file as the files are copied to those servers at different date time. Here's a script that can set date time of same file across multiple servers to
by Balakrishnan Dhinakaran
We all know that "Choose file to Upload" can be triggered using File upload control, SWF controls and some Ajax Controls but here in this trick i am gonna tell you how to trigger "Choose file to Upload" dialogue box with single ASP button using CSS properties.
by rahul.kulshreshtha
Few handy tools while developing
by Mike Hankey
Using an HTTPHandler to make calls to the business layer to update file download count.
by Member 10872251
Two way binding using JavaScript
by Andrey Chaschev
An introduction to the Wookie, a Java/Scala library to automate web browsing.
by Prosanta Kundu online
I always prefer this approach belowASPX pageIn aspx.cs page Page_LoadPage.ClientScript.RegisterClientScriptBlock(Page.GetType(), "pageVars", string.Format("var TextBox1 = '{0}';", TextBox1.ClientID),true);When required...
by DiponRoy
Using Observable and Computed for validation in Knockout
by Mihail Mateev
This blog is about how to start with PhoneGap / Apache Cordova and Windows Phone 8
by DrABELL
Make DIV element stretch vertically 100%. Works in all HTML5-compatible browsers
by paulo cezar costa
Code for a virtual keyboard.
by Vyacheslav Voronenko
Useful bookmarklet for web developers to work with events on page.
by Abdullah Altokhais
Windows Forms application for capturing or thumbnailing a web page
by E.F. Nijboer
Jumpstart your webproject using integrated software bundle that includes a web application and all of its required components
by MadhureshK
This post is part one of three which explains what and why you should use WebApi.
by TrueCodePoet
Fixing mod_rewrite access to .htaccess files for Wordpress "Pretty Permalinks" and 404 errors.
by Magyar András
Load videos automatically from selected Youtube channel with PHP and Youtube Data API v3