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

WebForms

WebForms

Great Reads

by Altaf Ansari
Integration of SignalR with ASP.NET C# WebForm Application in Real-Time Chat Application
by eug_acc (Eugene Akimov)
A photo images gallery browsing template - CatalogView style.
by Sadish Kumar.V
This article will help you to open an MS-Word Document (Document or Document template) or MS-Excel sheet from server side code (ASP.NET) with minimum configuration efforts.
by creativesri
This article briefs you about sending mail using SMTP in HTML Format, which takes the default SMTP settings from web.config file

Latest Articles

by Altaf Ansari
Integration of SignalR with ASP.NET C# WebForm Application in Real-Time Chat Application
by eug_acc (Eugene Akimov)
A photo images gallery browsing template - CatalogView style.
by Sadish Kumar.V
This article will help you to open an MS-Word Document (Document or Document template) or MS-Excel sheet from server side code (ASP.NET) with minimum configuration efforts.
by creativesri
This article briefs you about sending mail using SMTP in HTML Format, which takes the default SMTP settings from web.config file

All Articles

Sort by Score

WebForms 

by emadns
Using the Chart control in ReportMax
by shijo joseph
An ADO.NET Layer for SQL Server and Oracle which makes it easier for interfacing with database
by Srinivasan Sankaranarayanan
A Simple CRUD application for ASP.NET Webforms using Angular JS
by DotNetSteve
Manage an overgrown appSettings section
by Ahmad F Hassan
An easy way to view hierarchical data in a simple ASP .NET Repeater
by Ruhollah Heidarpour
Just another ASP.NET Persian(Jalali/Shamsi/Solar) / Gregorian Datepicker
by Vincent Maverick Durano
This tip demonstrates how to upload an image to a specified folder within the root of the web application and display the image right away in the Image control after uploading.
by ChienVH
This article will guide you how to implement ASP.NET website with multi-language
by Deepak_Sharma_
This article will show how to create an auto-suggest TextBox that will suggest data from a SQL Server database column.
by Emiliarge
Read and write data to Access databases without limitations caused by the use of the SQL.
by MarcusCole6833
I recently posted an article on how to place the data in an XML into an SQL table with a bulk Insert; this is an alternative way to do it by breaking up the XML before placing it into the Table.
by Praveen Chandran
This tip describes how to call a webservice using JavaScript and also calling that webservice in a regular interval of time without doing a postback in the page.
by Nasser Malik
Check all checkboxes in GridView using jQuery.
by Saranya Mahesh
Upload PDF, save file name to database, save pdf to a folder, create a thumbnail image of pdf and save it to a folder, and also save the image to database
by Israel Gebreselassie
This tip/trick shows you how to edit the web.config file dynamically .
by Jean Carlo S. Passos
CRUD over Association Entity that maps to association tables
by Rafael Leal da Silva
Hello my friends.Microsoft is providing a test in prometric of NET 4.0, free.It is free!!!!Schedule your exam in prometric.In the link below, you find the code of...
by AfnanMof
Steps How to Develop Sharepoint Windows Forms
by Srinivas Kalabarigi
Disabling the browser's back button.
by Miller Nguyen
This article will show you how to implement a complete solution of electronic signature by using HTML5 canvas in ASP.NET (VB).
by Umarfarukh7
This tip is about encrypting web.cofig file using aspnet_regiis utility of .NET Framework.
by pavan1361
adding require blocking site in hosts file
by shijo joseph
A simple and fast CSV reader which you can directly use against Oracle and SQL Server databases or for any direct implementation
by DrABELL
Tip describes CSS3 formatting technique that allows to create web Table header, which always stays atop the table regardless of scrolling
by Muhammad Aqib Shehzad
Forgot Password and Email Check from Database
by Assil
This post demonstrates the simplest use of OWIN with ASP.NET. It will not teach you OWIN nor Claim-based auth, nor design or security.
by jp2code
Introduction...
by Abhay@Accenture
How to bind Derived Type in MVC View
by Dariush Tasdighi
How to download large files from ASP.NET Web Forms (Download.aspx or Download.ashx) or ASP.NET MVC
by Peter BCKR
Fixing missing ContentType-Bug in Internet Explorer 10 on Windows 8 when using XDomainRequest and POST requests
by gggustafson
Tracking a bug in HTML5 that's not a bug in HTML4
by Rajendra Kumar Sahu
Easy way to show JavaScript Alert Message having Arabic Text
by ShubhamSaxena
Learn how to implement Kendo Grid.
by Vincent Maverick Durano
A quick demo on how to pass values from a modal-grid WebUserControl to main page based on the selected row in GridView.
by e.bonavero-miller
make sure that web.config contains these config sections: ...
by Jalapeno Bob
Grouping and sorting in a WinForm listview fails in a WPF application unless Visual Styles are enabled.
by Abey Thomas
This is an issue which can happen for a variety of reasons - but how do you find the right one?
by kaviteshsingh
OutlookJiraAddIn: Adds a Jira template to generate Jira tickets when responding to an email via Outlook.
by M. Salah AbdAllah
Pjax ASP.NET webform is simple code that uses Ajax and pushState to deliver a fast browsing experience with real permalinks, page titles, and a working back button.
by Morgan Estes
Compress and encode a string to save loading time in the browser
by Mack Ait-Aoudia
This article describe a solution to prevent some browser's functionnalities
by veen_rp
A small JavaScript module to create a modal dialog box or user input box in the familiar .NET style
by Yogesh Gulve
Return Comma Separated String using SQL
by Afzaal Ahmad Zeeshan
This is an alternative for "Console Monitor"
by Muhammad Naveed
Programming models of ASP.NET
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 DiponRoy
Session Manager Utility for ASP.NET
by thatraja
Show/hide elements dynamically in web page
by Indrajeet Sutar
There are occasions where we have lots of input fields on our webpage. And after submitting the form we are required to reset the form (clear all the fields). As i have already used gridview and i got all the controls from every gridview row using foreach loop by using grvrow.findcontrols(),...
by Sandeep Mewara
This is an easy way to clear all input fields in the form.
by Sandeep Mewara
ALTERNATIVE #2: via JavaScript function ClearAllControls() { for (i=0; i<document.forms[0].length; i++) { doc = document.forms[0].elements[i]; ...
by Zdenek CZ
Let's go to write ASP.NET GridView with the ability to edit cell on click and save the changes on Enter
by 1sumitanand
Sorting of simple ListView Elements in Ascending/Descending Order
by puzsol
This outlines a method for being able to submit HMTL tags from a particular ASP.NET text box while still using the page validation for the rest of the page.
by Rion Williams
A one-stop-shop for improving the web.
by Vincent Maverick Durano
A tip that demonstrates how to access GridView AutoGenerated Columns.
by DrABELL
This is an alternative for "Using CSS to Style a CheckboxList/RadioButtonList Control in ASP.NET"
by cyber_addicted
Routing Technique in ASP.NET (WEBFORM) AND USE OF MapPageRoute
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 Wombaticus
A beginner's introduction to using data classes in ASP.NET.
by Aria Wijaya
Validate numeric textbox using int.tryparse visual C#.NET
by Daaron
You could do the same thing with a regular expression:if (Regex.Replace(textBox1.Text, @"\D", "") == textBox1.Text){textBox2.Text = ("tryparse method succeed");} else { textBox2.Text=("value entered is not numeric"); }
by ChunkyStool
The alternative posted by Daaron does not work for several cases. E.g. Sign is included (+ or -), text contains whitespace prefix or suffix, etc. You could fix the first two limitations with a more detailed regex like "(^\s*(-|\+)?\d+\s*$)" but you could still end up with a value that won't fit...
by endozs
You could always run the TryParse on the keyDown event so as to validate as the data gets entered. It saves the user an additional UI interaction. private void textBox1_KeyDown(object sender, KeyEventArgs e) { int i; string s = string.Empty; ...
by Anshul R
using Microsoft.VisualBasic;// Codebool result = Information.IsNumeric("123");
by Horia Tudosie
See my article at Numeric Validator for Web Text Controls[^]
by wvd_vegt
Here is some old Delphi code that you could use to get more out of floating points strings before using TryParse().It will sanitize numbers like .25E4 or 10.E2 or -.24, all illegal in Double.TryParse.The code will also replace all non-floating point characters by a decimal separator (the...
by Gerardo Recinto
Virtualization of RAM & Disk for high-speed, low-footprint & scalable data caching
by e.bonavero-miller
Not much on this one that was helpful so I thought I'd put what worked for me.Cntrl + Alt + Del > Processes > end all iexplore.exe and WebDev.WebServer.exe processes.Since devs generally debug with the dev webserver end those processes first and retest. Although iexplore handles stay...
by Peace ON
I found this on MSDN.[^]Above link solved my problem permanently.HTH
by me.ajaykumar
How to convert a web page to PDF or image
by Hisham Abdullah Bin Ateya
This is some of cool stuff that shipped with Visual Studio.NET 2013 Preview release