Click here to Skip to main content
15,891,895 members
Everything / WebForms

WebForms

WebForms

Great Reads

by Altaf Ansari
SignalR Real-Time ChatApp with Emoji / Smiley and sending file attachment
by Altaf Ansari
Integration of SignalR with ASP.NET C# WebForm Application in Real-Time Chat Application
by Vahid_N
PdfReport is a code-first reporting engine which is built on top of the iTextSharp and EPPlus libraries.
by pmpdesign
A lightweight C# library to add images and 'round rectangles' to a PDF on the fly and then securely embed the PDF in a web page

Latest Articles

by adriancs
Generate PDF from HTML with MS Edge
by adriancs
Easily route all pages at once in single line.
by gggustafson
This article revises an earlier revision of the Gradient Color Picker (V2). The incentive for the revision was a reader request for a larger number of initial color choices.
by gggustafson
Revises an earlier implementation of the Gradient Color Picker

All Articles

Sort by Title

WebForms 

12 Jan 2016 by shijo joseph
An ADO.NET Layer for SQL Server and Oracle which makes it easier for interfacing with database
23 Jul 2017 by Srinivasan Sankaranarayanan
A Simple CRUD application for ASP.NET Webforms using Angular JS
18 Jan 2017 by DotNetSteve
Manage an overgrown appSettings section
16 May 2014 by Ahmad F Hassan
An easy way to view hierarchical data in a simple ASP .NET Repeater
28 Jul 2014 by Ruhollah Heidarpour
Just another ASP.NET Persian(Jalali/Shamsi/Solar) / Gregorian Datepicker
5 Aug 2016 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.
23 Sep 2016 by ChienVH
This article will guide you how to implement ASP.NET website with multi-language
19 Apr 2012 by Deepak_Sharma_
This article will show how to create an auto-suggest TextBox that will suggest data from a SQL Server database column.
18 Aug 2014 by Emiliarge
Read and write data to Access databases without limitations caused by the use of the SQL.
18 Nov 2015 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.
5 Sep 2013 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.
2 Aug 2013 by Nasser Malik
Check all checkboxes in GridView using jQuery.
1 Mar 2017 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
27 Oct 2014 by Israel Gebreselassie
This tip/trick shows you how to edit the web.config file dynamically .
4 Apr 2015 by Jean Carlo S. Passos
CRUD over Association Entity that maps to association tables
5 Apr 2010 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...
23 Mar 2013 by AfnanMof
Steps How to Develop Sharepoint Windows Forms
6 Aug 2013 by Srinivas Kalabarigi
Disabling the browser's back button.
5 Feb 2015 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).
21 Oct 2015 by Umarfarukh7
This tip is about encrypting web.cofig file using aspnet_regiis utility of .NET Framework.
10 Oct 2012 by pavan1361
adding require blocking site in hosts file
3 Oct 2015 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
26 Feb 2015 by DrABELL
Tip describes CSS3 formatting technique that allows to create web Table header, which always stays atop the table regardless of scrolling
22 Oct 2013 by Muhammad Aqib Shehzad
Forgot Password and Email Check from Database
3 Dec 2014 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.
12 Mar 2010 by jp2code
Introduction...
9 May 2013 by Abhay@Accenture
15 Nov 2014 by Dariush Tasdighi
How to download large files from ASP.NET Web Forms (Download.aspx or Download.ashx) or ASP.NET MVC
16 Dec 2013 by Peter BCKR
Fixing missing ContentType-Bug in Internet Explorer 10 on Windows 8 when using XDomainRequest and POST requests
11 Jan 2014 by gggustafson
Tracking a bug in HTML5 that's not a bug in HTML4
29 Sep 2014 by Rajendra Kumar Sahu
Easy way to show JavaScript Alert Message having Arabic Text
14 Jun 2013 by ShubhamSaxena
Learn how to implement Kendo Grid.
21 Jul 2016 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.
21 Apr 2010 by e.bonavero-miller
make sure that web.config contains these config sections: ...
8 Dec 2017 by Jalapeno Bob
Grouping and sorting in a WinForm listview fails in a WPF application unless Visual Styles are enabled.
17 Aug 2012 by Abey Thomas
This is an issue which can happen for a variety of reasons - but how do you find the right one?
4 Jun 2016 by kaviteshsingh
OutlookJiraAddIn: Adds a Jira template to generate Jira tickets when responding to an email via Outlook.
27 Feb 2016 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.
10 Oct 2013 by Morgan Estes
Compress and encode a string to save loading time in the browser
14 Apr 2014 by Mack Ait-Aoudia
This article describe a solution to prevent some browser's functionnalities
13 Oct 2017 by veen_rp
A small JavaScript module to create a modal dialog box or user input box in the familiar .NET style
30 Jan 2013 by Yogesh Gulve
9 Sep 2014 by Afzaal Ahmad Zeeshan
This is an alternative for "Console Monitor"
9 Jul 2013 by Muhammad Naveed
Programming models of ASP.NET
23 Feb 2012 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...
6 Feb 2012 by thatraja
Show/hide elements dynamically in web page
26 Feb 2010 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(),...
26 Feb 2010 by Sandeep Mewara
This is an easy way to clear all input fields in the form.
26 Feb 2010 by Sandeep Mewara
ALTERNATIVE #2: via JavaScript function ClearAllControls() { for (i=0; i
4 Jan 2016 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
1 Jul 2015 by 1sumitanand
Sorting of simple ListView Elements in Ascending/Descending Order
18 Jul 2012 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.
5 Aug 2016 by Vincent Maverick Durano
A tip that demonstrates how to access GridView AutoGenerated Columns.
16 Mar 2015 by DrABELL
This is an alternative for "Using CSS to Style a CheckboxList/RadioButtonList Control in ASP.NET"
18 Dec 2013 by cyber_addicted
Routing Technique in ASP.NET (WEBFORM) AND USE OF MapPageRoute
31 Aug 2010 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...
16 Aug 2015 by Wombaticus
A beginner's introduction to using data classes in ASP.NET.
3 Oct 2011 by Aria Wijaya
Validate numeric textbox using int.tryparse visual C#.NET
12 Sep 2011 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"); }
15 Sep 2011 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...
2 Oct 2011 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; ...
23 Sep 2011 by Anshul R
using Microsoft.VisualBasic;// Codebool result = Information.IsNumeric("123");
4 Oct 2011 by Horia Tudosie
See my article at Numeric Validator for Web Text Controls[^]
5 Oct 2011 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...
10 Oct 2014 by Gerardo Recinto
Virtualization of RAM & Disk for high-speed, low-footprint & scalable data caching
20 Apr 2010 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...
16 Sep 2010 by Peace ON
I found this on MSDN.[^]Above link solved my problem permanently.HTH
7 Sep 2013 by me.ajaykumar
How to convert a web page to PDF or image
30 Jun 2013 by Hisham Abdullah Bin Ateya
This is some of cool stuff that shipped with Visual Studio.NET 2013 Preview release