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

ASP.NET

ASP.NET

Great Reads

by Daron Cox
If you're trying to integrate with UAG from a mobile device, this tip is for you!
by Herre Kuijpers
Why invoke methods on a user web control that is required to be loaded dynamically
by Suresh Dasari's
Auto Generate Code (CRUD) for 3 Layered architecture (Entity, Data Access & Business Layer) with Stored Procedures based on table design.
by Johan G. van der Galien
Example project template for a "Cool Towel" SPA to be filled with a MVC4 application HTML5 and JavaScript code in order to convert

Latest Articles

by Daron Cox
If you're trying to integrate with UAG from a mobile device, this tip is for you!
by Herre Kuijpers
Why invoke methods on a user web control that is required to be loaded dynamically
by Suresh Dasari's
Auto Generate Code (CRUD) for 3 Layered architecture (Entity, Data Access & Business Layer) with Stored Procedures based on table design.
by Johan G. van der Galien
Example project template for a "Cool Towel" SPA to be filled with a MVC4 application HTML5 and JavaScript code in order to convert

All Articles

Sort by Score

ASP.NET 

by Daron Cox
If you're trying to integrate with UAG from a mobile device, this tip is for you!
by Herre Kuijpers
Why invoke methods on a user web control that is required to be loaded dynamically
by Suresh Dasari's
Auto Generate Code (CRUD) for 3 Layered architecture (Entity, Data Access & Business Layer) with Stored Procedures based on table design.
by Johan G. van der Galien
Example project template for a "Cool Towel" SPA to be filled with a MVC4 application HTML5 and JavaScript code in order to convert
by Santhosh Babu Mahimairaj
How to freeze gridview header using JQuery
by ketan italiya
A quick overview of some of the most frequently used features of the GridView control.
by Emad Al Hawary
Try this block of HTML 5 code
by deeptibansal
Adding event to Microsoft Outlook through Web Application
by SoftwareMonkeys
Generally when you divide up your tiers, your lower level tiers lose access to HttpContext.Current and other important presentation components. This pattern works easily around that issue.
by SimbarasheM
A .NET v4 Library for converting DataTable row(s) to JSON String for WCFServices
by emadns
A basic tutorial for ReportMax tool
by emadns
Using the Chart control in ReportMax
by S. M. Ahasan Habib
.NET TransactionScope and its default Transaction Isolation level issue.
by Yaseer Mumtaz
XML input parameter to RESTful API using HttpClient and bypassing the SSL certificate
by Muthu Nadar
This article will explain about null coalescing operator along with its advantage and disadvantage.
by Subodh Raghav
In this tip, you will learn how to send an email in your ASP.NET application.
by XyedBilal
URL binding failure
by Subodh Raghav
A web service is a web application (a piece of software component) which is available on the internet.
by thatraja
Display Date Time in 12/24 hour time format in C#/VB.NET
by JatinKhimani
Develop a web application in 3 layer architecture code style
by Math08avan
A simple example for CRUD actions using WCF service in ASP.NET
by Sambhav Yadav - Sam D Silva
ASP.NET page/master page/user control's life cycle from the perspective of Session and View State
by Afzaal Ahmad Zeeshan
This tip is to provide an overview of writing strings in ASP.NET web applications to avoid concatenations.
by shijo joseph
An ADO.NET Layer for SQL Server and Oracle which makes it easier for interfacing with database
by OriginalGriff
Getting an image from a database and displaying it in an ASP.NET page is something we have to do quite often. Here is a generic class which does the job for you.
by Sitang Ruan
How to display a spinner with disabled background when doing postback or Ajax call
by Sergey Alexandrovich Kryukov
How to abate the CodeProject spam crisis.
by shijo joseph
An easy to implement yet powerful logging library which requires absolute zero learning curve
by UberGeoff
This tip explains how to display a jQuery modal pop-up message using server side events.
by Lewis Liu L
this tip is to use roles instead of individual user's access right to limit user's access on folders
by Erion Pici
Generating automatized PDF reports based on Docx templates and Business-Logic XML-serialized data
by ahsanriaz1K
I will give a solution to the following problem "Response.TransmitFile(sFullHtmFilePath)" gives unformatted display of htm file on browser on client side.
by Sitang Ruan
A tab user control with embedded client side object
by Rahul Rajat Singh
A simple Windows Form like message box for ASP.NET applications
by Louwgi
HTML5 SSE example application
by Muhammad Waqas Iqbal
How to acccess ASP.NET server controls in JavaScript files
by Prakash Lekhak
This article describes how to access master page control from content page.
by Muhammad Waqas Iqbal
This tip describes the steps to access server side (webservice) from JavaScript in master page.
by Tantum
Access values of ProgressBar created at runtime
by Manas Bhardwaj
How to access the variables/properties from C# in JavaScript?
by Mostafa Asaduzzaman
How to access configuration variables via dependency injection in MVC 6 - Visual Studio 2015 RC
by Mostafa Asaduzzaman
How to access files within the application using DI
by John Bhatt
How to create a nice Accordion Panel with CSS
by Jinan Kordab
This article describes how to create or delete an Active Directory Services Email using ASP.NET web page, remotely.
by Jinan Kordab
This article and tip describes how to create or delete an Active Directory Services Email using ASP.NET web page, remotely.
by Brijesh Kr
Add and replace picture with preview functionality using the GridView control.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Ever wondered how to add HTML file contents to the aspx page by code. Take a look at the implementation.
by Lance Ford
A walkthrough to enable request/response logging to an ASP.NET web application (or web service) by using an IIS module.
by Tushar sangani
Add multiple items in Radcombobox using jquery
by echokilo
A simple tip to avoid the pain caused by PayPal providing code snippets for buttons each in its own form tag
by Monjurul Habib
How to add namespaces for Razor pages
by Brijesh Kr
Add populated dropdownlist to gridview programmatically which gives an option to select a new value too.
by VR Karthikeyan
Change the look and feel of ASP.NET MVC application by adding different UI CSS frameworks
by Redslide
Modify MVC Routing to allow routes such as /Electronics/Software/Operating-Systems/PC/Windows-8-Installer
by Ankur Rawat
Adding Image in the Container without stretching/compressing the Image
by B. Clay Shannon
How to add the necessary code for additional Web API data points
by raj ch
Binding data from one GridView to anther GridView after selecting some rows in the first GridView.
by Tharaka MTR
This tip describes how to add the dynamic style to ASP.NET page header
by Ankit Bansal MVP
This articles explains the insertion of data into SQL Database using Stored Procedures with Output Parameters. Some Bootstrapping is also used to create a good looking HTML.
by Vinay Jade
ImageButton control can be used as AdRotator with help of UpdatePanel
by DrABELL
Pure CSS3 styling solution applicable to HTML5 SELECT element and ASP.NET DropDownList control
by BradodarB
Simple example outlining how to optionally employ AHAH based views in an MVC application.
by Christopher John Paul
Ajax Asynchronous Postback Method
by Muhammad Waqas Iqbal
This tip describes the steps to access server side web service (asmx) from master page JavaScript.
by Vinay Jade
Using Seadragon, you can simply zoom-in and zoom-out an image
by Albin Abel
Though update panel keeps the page responsive while paritially post back, it will not avoid a round trip of complete page and control events. So care needs for a better performance
by J a a n s
There will be some scenarios where we may have to identify the sender that caused the async postback(While using update panel) . Normally we will try to identify the control by checking the sender element . This wont be always giving the correct value as multiple clicks/ elements under the...
by J a a n s
We can display a page mask (for avoiding unnecessary clicks) during a async postbacks with the help of an modalpopup extender.1. Add a new modalpopup extender in the page.<ajaxToolkit:ModalPopupExtender ID="MPE001" BackgroundCssClass="maskbg" runat="server" TargetControlID="dummyLink"...
by Zafar A khan
This jquery limits the user only entered numbers.
by Ramanujam Shankar
Allow only Numeric (either whole or decimal) values in ASP Text box control using JavaScript
by nickdenker
An ORM style layer which turns Azure Table Storage into a cheap and scalable indexed noSQL database - without the costs associated with Azure CosmosDB.
by AspDotNetDev
In this alternate version, we take into account the possibility that binding to a list of different types may cause compile errors.
by RelicV
Alternative for AutoComplete control without Ajax and Webservices
by Gianmaria Gregori
How to add a random sliding effect to the Bakery home page
by Sitang Ruan
An expandable .NET GridView control
by Ankurkumarbora
This tip contains a solution for rendering reports which can be viewed (or saved) with different extensions.
by Mukund Thakker
Android GCM Push Notification
by RajKGoel
This tip is targeted towards learning the basics of Angular JS, using it with ASP.NET Web API.
by Karthik Coder
How to replace the ng-repeat with Custom Directive
by Xnko
On the Web there are many examples for moving ViewState to the bottom of Page using RegularExpressions. This is another way using HtmlTextWriter.All you nees that add in your project class named MoveViewStateHtmlTextWriter and write in your BasePage code below.protected override...
by Mike Thom
If you move your ViewState from the top of the page to the bottom, you will get better search engine spidering.Step 1Create a class file in App_code folder of your application and name it as PageBase.cs. Copy the following code to the class file.using System.IO;using...
by Sandeep Mewara
A tip about App_Offline.htm
by Abhishek Banerjee (A Web Developer)
Hello All,Today I am showing an interesting block of code which will help you in applying user search on a tree view control of asp.net applications.PrerequisitesFor this you have to create an asp.net demo project using language C#Action:Step 1: Now Create a web page with name...
by B. Clay Shannon
How to apply Attribute Routing to Web API Controllers
by DotNetSteve
Manage an overgrown appSettings section
by Mathi Mani
In this tip, we will try to understand whether viewstate and postback data are the same or different.
by Ahmad F Hassan
An easy way to view hierarchical data in a simple ASP .NET Repeater
by Member 8169684
This situation is quite tricky and happens when you add a custom control to some page.
by Cyrus Neah
'DropDownList' has a SelectedValue which is invalid because it does not exist in the list of items.
by Bryian Tan
Limit/count number of characters in ASP.NET TextBox control
by AlexCode
Adding support for IHttpHandler on ASP.NET Routing
by AlexCode
Hi guys, I have a new version of this.Although it works as expected for the majority of cases, I found a problem on the previous version of this code, that is, it reuses the HttpHandler for different requests and that can be a problem on more complex implementations where inner properties are...
by Monjurul Habib
If anyone enters non-encoded HTML content into a text box in an ASP.NET application.
by JoaoSousa23
Using MVC, Entity Framework, ASP.NET Scaffolding you can create a web application that stores your information. This demo shows you how to create an ASP.NET 5 web application with MVC and Entity Framework 7.
by Hugo Carnicelli
During this article, we are going to explore what is currently necessary to run an ASP.NET 5 website on Ubuntu.
by Jani Giannoudis
Adapt properties like visibility or enabling between ASP.NET Controls.
by Anurag Prajesh
How to add banner and slideshow in your website with adrotator
by Ameet Parse
ASP.Net Ajax AutoCompleteExtender without using Web Service
by ChienVH
In this article will show you how to work with ASP.Net and Paypal with Dynamic Ordering Values
by Sajid Qayyum
Describes authentication management using cookies
by Herman.Instance
Short route to fix this issue
by Richard A. Dalton
Use RegularExpressionValidator to validate user input against a dynamic list of values.
by AspDotNetDev
You can't use an if statement in a bound code block, but you can still use conditions in your markup based on bound data.
by JoaoSousa23
This article will show how to integrate Microsoft Azure Application .Insights into a web application using ASP.NET Core 1.0 to Detect, triage, and diagnose issues in your web application
by TheForceIsSharp
ASP.NET Core Web API, Multiple Get or Post methods with single controller
by S V Saichandra
Asp.Net Custom Validator Control to validate file size both client side validation and server side validation
by Ruhollah Heidarpour
Just another ASP.NET Persian(Jalali/Shamsi/Solar) / Gregorian Datepicker
by Atlapure Ambrish
Solution to disable request validation for single control - clean approach and without much effort
by Karthik_Mahalingam
Show/hide the loading GIF image while exporting a file from server
by Francis S Michael
ASP.NET File Upload Control- Provide Consistant Look and Feel in All Browsers
by virang_21
This tip discribes how to implement filtering from inside ASP.NET gridview header row
by virang_21
This article describes how to implement row drag and drop inside ASP.NET Gridview using Jquery TableDnD plugin and how to pass reordered sequence back to server
by financeloans
EDIT BY JSOP[deleted spam content and reported user]
by Bryian Tan
Hide Label/DIV Controls after number of seconds
by Neohuman Software
How to: Using ASP.NET Identity using Azure Storage Tables
by Bryian Tan
Invoking method in a WebUserControl that is loaded programmatically
by nibeesh
To get an element by its ID in a webpage which uses a master page
by thatraja
DescriptionY...
by Tejas Vaishnav
ASP.NET menu control not shown properly in Chrome and Safari
by Manoj Kumar Kota
ASP.NET Mobile Device Detection with Additional Methods
by Chamila Nishantha
Multiple uploader control for ASP.NET applications
by Rajesh Jinaga
Change default action at individual controller level in ASP.NET MVC.
by Karthik. A
Debugging ASP.NET MVC routes simplified using "Route Debug"
by Karthik. A
This tip explains how downloads could be tracked for any file in your website or another website
by Shemeer NS
ASP.NET MVC 4 for VS2010 Installation Errors, 0x81f40001 - This product is incompatible with .NET 4.5 or earlier. You must upgrade to .NET Framework 4.5 to the latest version before installing this product, with Web Platform Installer and MSI.
by JoaoSousa23
ASP.NET MVC 5 – Entity Framework 6, CRUD Operations on Visual Studio 2015
by Mikhail Vasilchenko
ASP.NET MVC 5 Multiple Image Uploader with Crop
by Hovhannes Bantikyan
This is a simple infinite scroll with Ajax post and JSON. Have fun :)
by RajKGoel
This tip can be helpful in learning MVC quickly, without undertaking any service based architecture.
by Alex_1
Cool menu, MVC bootstrap menu HTML helper
by Sreenivas Chinni
This is a tip to add custom data annotation with client validation in ASP.NET MVC 5
by Rohit Kukreti
Learn how to route variable URL patterns to fixed Controller/Action
by Ibrahim ben Salah
ASP.NET MVC application are highly testable when controllers are considered plain classes, but then you lose the integration with model validation, filters, method selectors, etc.
by jackie verma
This article will help you to understand and create partial view in short and easy way.
by Riverama
Improve ASP.NET MVC based SPA application performance by using script Bundles with requireJS
by Parvathaneni Mamatha
How to use Razor Views as Email Templates and Localize them using sample WebAPI
by Terrence Sheflin
Optimizing ASP.NET MVC HTTP responses to remove unnecessary and possibly dangerous information when using IIS
by BalaG Ganesan
ASP.NET MVC4 - Bundling and Minification
by JoaoSousa23
This article walks you through the steps for create a report in Excel using EPPlus (ExcelPackage)
by Siddharth R Barman
Implementing a custom UserStore for ASP.NET MVC5 authentication
by ASP.NET Community
Links to ASP.NET Open Source Projects
by Chirag B
ASP.NET page events not firing.
by Pavan Navule
A list of events in the ASP.NET page life cycle.
by Vinayaka Krishna Shenoy
Page Transfer best practices in ASP.NET.Scenario :Inside Try/Catch block, If you want to transfer/Redirect the page to another page - To avoid ThreadAbortException Option 1Use Response.Redirect("Pagetotransfer.aspx",false);OrOption...
by Niaz Morshed
I do not claim that this piece of writing is going to be something new but a very short combined set that can get someone going with ASP.net in no time.
by tsdragon
Application[“P...
by BenScharbach
Trick of using @Helpers in @Helpers in ASP.NET Razor
by Bryian Tan
How ASP.NET redirects web page with AJAX loading indicator image
by wb2you
Generic approach to adding summary totals to an ASP.NET Repeater control.
by essence
Response.Redirect(string url) calls Response.End() which then throws a ThreadAbortException. Here's a simple way to solve it.
by Francis S Michael
Some thoughts about session expired problem in ASP.Net
by Rahul Khadikar
Asp.Net ShortCut Keys List
by James Gabel
ASP.Net timed page reload on button click/form submission.
by TheCoolCoder
Numbering for Multilevel ASP.Net Treeview using CSS Counters
by brunofer2007
Easy way to sort nodes in a TreeView using a recursive function.
by nasir_ml
ASP.NET textbox validation made easy.
by aamir sajjad
How to implement the custom authorization and exception handling attribute in the ASP.NET Web API.
by karlodegrano
A generic HttpContent Reader that can be used to replace FromBody parameter on Http Action
by James Walsh Jr
The differences between parameter and model binding with ASP.NET WebAPI
by bbirajdar
How to fix the issues when an ASP.NET web page goes blank with JavaScript alert() .
by thatraja
Here is a simpler version. Using the overload method[^](parameter addScriptTags), you can reduce the code.private void ShowMessage(string Message){ if (!ClientScript.IsClientScriptBlockRegistered("MyMessage")) { ClientScript.RegisterClientScriptBlock(this.GetType(), "MyMessage",...
by JoaoSousa23
This article walks you through configuration Redis and made basic operations using .net C# client. Redis is one of the fastest and feature-rich key-value stores to come from the NoSQL movement. It is similar to memcached but the dataset is not volatile, and values can either be strings lists, sets,
by JoaoSousa23
This article walks you through configuration Redis and made basic operations using .net C# client.Redis is one of the fastest and feature-rich key-value stores to come from the NoSQL movement. It is similar to memcached but the dataset is not volatile, and values can either be strings lists, sets, s
by Alexander Kozlovskiy
Used for binding custom types (including files) when sending and receiving multipart encoded form data
by User 10259217
Handy bridge between ASP.NET webservices and Java
by ChienVH
This article will guide you how to implement ASP.NET website with multi-language
by CARPETBURNER
In this trick I present how to prevent an attack by a hacker on Asp.net website.
by kadaoui el mehdi
In this trick I present how to prevent an attack by a hacker on Asp.net website.
by nehas1jan
ASP.NET: Import Gmail Contacts
by nehas1jan
How to add Tooltip in datalist
by DiponRoy
Using SFTP/FTP in ASP.NET projects
by congiuluc
How to check Email address during user registration with ASP.NET MVC 5
by Alexnader Selishchev
Nocode open source CI+CD for ASP.NET apps
by ashish__shukla
Asynchronous ActionMethods in MVC can improve application performance
by kas ibabu
An easy way to understand Ajax help in ASP.NET
by Sourav Kayal
Asynchronous programming in Web API /ASP.NET MVC
by Amir Dashti
A simple but powerful class to simplify executing T-SQL commands asynchronously
by Pranay Rana
Attach JavaScript with auto-generated buttons of the GridView control.
by Shripad J
ASP.NET website project hosted on IIS 7.5 running on Windows 2008 R2 is unable to connect to ‘Oracle’ database.
by Marvin Bland
The other option to review when you receive this error is to view your Application_Pools setting for the app_pool you are using for your application.Check the "Enable 32-Bit Applications". If this is "False", change it to "True". This may resolve your issue.
by Jamil Hallal
Designing an authentication and authorization strategy for distributed Web applications is a challenging task. The good news is that proper authentication and authorization design during the early phases of your application development helps to avoid many top security risks.
by Bikash Prakash Dash
How to create an auto suggestion control like Gmail/Hotmail/Facebook to add items in list.
by Yogesh Kumar Tyagi
This tip introduces Auto Complete Text in Textbox Using jQuery and ASP.NET MVC.
by sumit_kapadia
AutoComplete Texbox with comma separated insertions
by Vitaly Tomilov
Simplest and quickest way to automatically bind array of image bytes to asp:Image object.
by Eduardo Yost
Creating a Web User Control containing an AutoCompleteExtender for data through WCF (JSON) allowing to store the entity selected through EntityFramework. Entity object serialization from the server to the client and the client to the server.
by Srinivas Kalabarigi
A reference for auto-complete in ASP.NET
by saurabhsharmacs
Migration to AutoMapper 4.2.1
by Callum Linington (UK)
How to automatically add your AutoMapper profiles
by Srinivas Kalabarigi
How to do automatic page refresh in ASP.NET
by Anuja Pawar Indore
I first tried using Ajax autocomplete, but found jQuery as an alternate
by MRBULL93
In this tip, I am presenting a simple way to avoid refresh resubmit
by mhamad zarif
Avoid inserting twice when user refresh page in ASP.NET
by Matt Sollars
I also think this would be best wrapped in a base Page class with a protected method that handles the evaluation (i.e., IsFirstSubmit()).
by r verma
Following trick will also provide a way how to handle/pass objects to web service through a web application as in web applications developer will not be able to update proxy class (old trick followed in case of class library). When you try to serialize your class let say using Binary...
by Mukesh Pr@sad
This tip describes how to build an application in Azure Cloud with ASP.NET MVC and WCF.
by AMB-03
This is a very simple way to create a balloon message... without using any plugin
by imsauravroy
A basic introduction on how to use data annotations for validating MVC models, which solves basic validation issues
by Robby Tendean
Simple implementation guide for log4net in a VB.NET web application.
by Mahendra Vishwakarma
Best practices in developing ASP.NET applications
by _impostor_
I agree with Chris...string.IsNullOrEmpty: 312 msLength: 140 ms [fastest]This is not a fair comparison.Need to compare:(string != null && string.Length !=0)with: String.IsNullOrEmpty(string)Even if the first construct is faster, there is a readability...
by _impostor_
Initializing is great... unless you have no control over the contents.Consider this:String strTmp = String.Empty;strTmp = SomeRandomMethod();//Suppose SomeRandomMethod returns null under some circumstances...Now anything you try to do with strTmp (other than compare to null) will...
by Vinayaka Krishna Shenoy
Best Strategy for deploying ASP.NET application and application Pool
by Kundan Singh Chouhan
Simplest, best and most robust architecture.
by Bhushan Mulmule
This is terribly unorganized document with mix of MVC, Entity Framework, LINQ, HTML 5 and JQuery how tos...
by Amol Jadhao
How to bind dropdownlist in ASP.NET using JQuery Ajax
by #realJSOP
Can't you just call Enum.GetNames(), and then bind to the collection returned by that method?
by Xmen Real
here is what I do to iterate through enumpublic static ABC(Type enumType){ foreach (Enum e in Enum.GetValues(enumType)) { int tvalue = Convert.ToInt32(e); string tname = e.ToString(); }}
by Nirav Prabtani
Bind gridview using Ajax post method and jQuery
by Arkadeep De
Bind an image slider without database in ASP.NET
by DrABELL
DropDownList Data Binding to Array (1D/2D), Enum and Dictionary objects in .NET
by Rajesh Kumar Chekuri
Binding DropDownList Using List Collection, Enum and DataSet in ASP.NET
by Masoud Ehteshami (Iran)
main source : https://www.jqwidgets.com
by Mehul M Thakkar
Bind a JavaScript function to multiple events using jQuery
by SanSkun
How to bind holiday list and information about those holidays from database
by Mohit_Patel
Blank folder remover from selected path using recursion.
by RobLazarus
This books is a tour de force and a must-have for any ASP.NET MVC developer as it will save you hours of time and frustration researching solutions to the various questions you may encounter when using MVC 4.
by DiponRoy
Bootstrap datepicker and Knockout Model Binding
by Lyubomir Rumenov Velchev
Display Bootstrap Modal Dialog using Version Bootstrap v3.2.0 and v3.0.0 - issue
by Shashi_Singh
How to use option's in bootstrap modal plugin.
by Rapuru Amarendra
This tip presents an example of datatable in responsive using bootstrap and dataTable.js
by Atish Dipongkor
Customize default login page with own branding for Form Based Authentication
by VICK
This simple Tip/Trick is focused on providing a simple and cross browser compatible solutio.
by Sandeep Mewara
How to stop user from accessing the previous pages once he/she logs out and presses browser back button
by Member 10510822
This is an alternative for "Browser back button issue after logout".
by dimpant
How to use Bridge.NET to convert your C# code into a JavaScript application featuring Bootstrap and jQuery.
by O.Nasri
This tip shows you how you can implement a contact form in C#/ASP.NET MVC
by Jitendra Ballia
Building data access layer using enterprise library
by Robby Tendean
How to bypass SSL certificate validation checking and restore it
by Pascal Hubert
Looks like what I use!ServicePointManager.ServerCertificateValidationCallback = New RemoteCertificateValidationCallback(Function() True)
by Deepraj Thuraka
Tweaking of the Bouncy Castle library to make it work with SecP128r1 curve1251
by dibley1973
A simple C# extension method to convert List into a delimited text string. Ideal for creating CSV files!
by Amol B Lande
C# Print Reports/Document on server/local using shared/local printers
by DiponRoy
Username and password validation process from LDAP server in ASP.NET and ASP.NET Core
by Latha Elangovan
Ways to improve ASP.NET web application's performance
by Sem.Shekhovtsov
Caching the entire asp.net 3.5 web forms page using modules.
by Prabu ram
C# code to find the business time between two dates and to get the next business day by adding specific duration in minutes
by coder255
JSRPC.Net creates a JavaScript object with functions to call your WebAPI.
by #realJSOP
Back-tracking to make sure code is processed before the current page executes
by Arjun Singh Faguda
How to call cross domain Webserver(asmx) service from jquery and bind the Json result with Jqgrid
by AspDotNetDev
Call a uniquely named JavaScript function inside of an ASP.NET user control from the page it is hosted inside of.
by Vishal_Kumar
Call server side code using ASP.NET AJAX and jQuery AJAX
by Aman Bhullar
:confused::con...
by abhinavshastri
How to Call WebService Dynamically and Read WebService Definition
by UberGeoff
An all-in-one callback gridview
by Anuja Pawar Indore
Calling a C# method using jQuery on the client side.
by Anuja Pawar Indore
Create a web service name WebMethod.SVC in the CS file and add the method: [OperationContract] [WebInvoke(Method = "POST")] public void DeleteRec(string ID) { DelUser(Convert.ToInt32(ID)); }On client side, give the path and call the...
by Steven O
Another alternative is to use AjaxPro.dll. It is a library that was developed by Michael Schwarz that you simply drop in the bin folder of your ASP.NET web applications. You can find more information or download this library at http://www.ajaxpro.info.To use it:Add an HttpHandler to your...
by Wael Al Wirr
Calling webservice at runtime
by SibeeshKV
Calling an ASMX webservice from other server using jquery and PHP
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 Albin Abel
When to call master functions through a contract (abstract class, Interface etc.,)
by Mahesh Nandanan
Calling Server Side Method inside an aspx file and Web Service(asmx) method using JavaScript and Ajax
by Ankur .K. Vishwakarma
Calling server-side code from client-side using JavaScript and TextBox's onblur event
by DiponRoy
Configure JSON serialization settings
by jayant jaiswal
Captcha code
by nehas1jan
How to capture images using web camera in ASP.NET 4.5.
by Sitang Ruan
Implement a central jQuery verion control from code-behind.
by Mohammad Elsheimy
One of the major issues encountered when connecting to databases after porting ASP.NET app to Docker Linux containers.
by Mohammad Elsheimy
Configuring OpenSSL minimum version and legacy renogetiation
by raj ch
How to change the color of a row in a GridView in ASP.NET.
by Trilok Arora
Introduction to Charts in .NET 4
by Surjit Singh Dadhwal
This post will help you to resolve problem of checking maxlength of Multiline textbox (Internet Explorer, Chrome & Firefox)
by Fenil Desai
Check which .NET Framework version is installed from command line
by Tamer G. Ahmed
Check/Uncheck all checkboxes in a CheckBoxList (one control).
by Agrawal Ashok
Checkboxes working like radio buttons.
by suhas.shiv
Custom CheckBoxList in ASP.NET MVC3
by Amit Sanandiya From Morbi
Display Selected Column Dynamically Using checkBoxList in Wpf With C#
by DaveAuld
Quick way to modify the logon view depending on if the user has been redirected.
by Gandhi Ashish
Checking Internet Is Connected Or Not From .NET
by J a a n s
For C# guys....using System ;using System.Runtime ;using System.Runtime.InteropServices ;public class Internet{ [DllImport("wininet.dll")] private extern static bool InternetGetConnectedState( out int Description, int ReservedValue ) ; public static bool...
by Anshul R
Dim value As Boolean = My.Computer.Network.IsAvailable can be used in a situation where the only network a system will be connected to is the Internet.Dim value As Boolean = My.Computer.Network.Ping(hostNameOrAddress ,timeout) hostNameOrAddress can be any valid website -...
by Manjeet_Singh
Using CKEditor in ASP.NET without using AJAX assembly files.
by khalid_se
Claims and Token Based Authentication with ASP.NET Web API
by Gordon Kushner
Initialize Master Page, Page, and Controls in a single JavaScript call.
by Narendra Singh Rathore
How to clear all textbox text on one click
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 coolnavjot31
In this article we will see how we can validate a TextBox and DropDownList using JavaScript.
by sumit_kapadia
Create and Bind gridview at client side with Jquery Template and ajax in asp.net
by mhamad zarif
How to close all panes in an AJAX Accordion.
by Raju_B
Code behind JavaScript
by Hemant__Sharma
I always find this thing while doing code reviews and that is a performance issue. The above point I haven’t found anywhere as a performance issue, so I thought to share it.Scenario: There is a function in which one need to extract 10-20 values from an object for example a column value from...
by rwmao
A simple example of how to use Collapsible Panel in ASP.NET, especially in VS2008
by Abhishek Sur
Hi Guys,It is common behavior of ASP.NET that if a control is set to Visible = "false", the response stream doesn't contain the definition of it. Therefore, if you want to make the control visible during runtime from Javascript always put display = none in styles attribute.Say you have a...
by Mehul M Thakkar
Compare Validator is not working with latest jQuery lib while using with ViewModel in MVC
by Abhishek Sur
It is to be noted, .NET has lately introducedResponse.RedirectParmanent() after a long await. The main motive of this is tohave permanent response redirection to the Search Engines.Response.RedirectParmanent() is an extension function introduced in .NET 4.0.Themain motive of it is to indicate
by Frankxcid
Class that allows you to programmatically create an Open XML Excel spreadsheet
by KK Kod
How to compress JavaScript and CSS files in a web application to reduce page loading time, using GZIP.
by Hazem Torab
Generate reasonable sample data for you GridView without using databases.
by Kishan Zunjare
Configure email providers like SMTP/GMail using Dependency Injection.
by Anupkumar7186
Configure IIS to allow any file type to be downloaded
by Dileep Ashok
Configure One To One and One To Many Relationship in MVC and EntityFrameWork Code first, code migration approach
by Shivarajbk
This tip explains how to write RESTFUL WCF service for Android applications.
by Patrick Wanjau
This article is important and essential for beginners and intermediate ASP.NET developers. It will help them set their development environment
by Abhishek Sur
It is a very common issue to handle automatic postbacks to controls. Here I am going to explain how we can handle autopostback of a button click using Javascript Event. Suppose you have a button : Now you want to occationally c
by Bikash Karmokar
Connecting Windows Form Application With ADO.NET in C#
by Dominic Burford
Consuming / displaying an Atom feed on an ASP.NET web page
by Dominic Burford
Consuming / displaying an RSS feed on an ASP.NET web page
by Srinivas Kumar Pasumarthi
This tip gives information about tools and consumption of WCF Services.
by RalphZero
This is a simple example of an Ajax-Enabled WCF Service (hosted in IIS) that can be consumed by both client-side and server-side code.
by Surya Kiran Bonugu
Client Web Application which consumes OAUTH enabled restful WCF service using JavaScript
by nit_singh
This is an example to Convert from a datatable to a specific type of collection using Generic
by Vano Maisuradze
Very nice!I've modified ToCollection(this DataTable dt) extension function, so if DataTable column names and class property names are different, then you can use this alternative:public static List ToCollection(this DataTable table, Dictionary dic){ List lst = new...
by Damian Flynn
Here's a couple of gems...From IList to DataTable.From DataTable to array of T.// DataTable: from IListpublic static DataTable ToDataTable(this IList iList){ DataTable dataTable = new DataTable(); PropertyDescriptorCollection propertyDescriptorCollection = ...
by Kannan Ar
Implement an online HTML to Word converter using CKEditor and MariGold.OpenXHTML
by isnadir
IntroductionThere are a lot of ASP.NET web developers who are moving toSharePoint site creation. This article will explain in detail how anASP.NET webpage developed in Visual Studio can be converted into aSharePoint site. If there is a requirement for a website created inVisual Studio, j
by Sayed Irfanul Hasan
Text to PDF Convert
by ahsan sarfraz
Convert a Dataset to bytes array and then compress that array.
by Rajesh Kuramdasu
This article describes about converting an XML string to a HTML table.
by Bryan Lyman
A method for duplicating a web page (including all scripts and styles) to run as if it originated from your own server, then modify server-side and client-side functionality afterwards.
by Prakash Lekhak
Create a Class-Collection of another Class, Extend a class like a List
by Kirankumar Chauhan
Global Resorce File Creation in json Format using ASP.NET
by Er. Mayank Kothari
Generate barcode image in web application
by Member 4332221
Create count down timer using ASP.NET Timer Control and Ajax
by senthill
This article describes how to create deployment package for sharepoint 2013 project using using visual studio
by Khumesh Kumawat
This blog post will show you how to add and dynamically create ASP.NET server controls and place the controls into an HTML DIV server tag.
by nandakishoreroyal
Dynamically creating controls and validating using JavaScript.
by Sandeep Singh Shekhawat
This tip introduces two extension methods of the HtmlHelper class, one that obtains the Id in a jQuery function and another obtains the Name in a jQuery function.
by Narotam Gediya
How to create an internet shortcut
by SuhasHaridas
Create Linq to SQL connection with select, insert, delete, update
by Shishir Shukla
A simple method to implement modal popup during ASP.NET asynchronous request using ASP updatepanel and updateprogress
by MEJ_Dev
<asp:UpdatePro...
by chetan virkar
Create a multi-language website in ASP.NET.
by Ahmed Alaa El-Din
Useful and simple tutorial to create multi-language ASP.NET website. Following these steps, you will be able to create a good user interface multi-language website with 4 main steps.
by khanqamarali
Get/set property by right clicking on .NET IDE.
by Sandeep Kumar Tripathi
How to create SQL Server Agent Job to schedule SSIS Package
by Prakash Lekhak
We will create a Table and Stored Procedure in Sql Server 2008R2 and data will be inserted and retrieved by using Asp.net using C#
by piyush_singh
How to create your first MVC project in Umbraco
by AshishChaudha
This tip talks about creating an auto complete textbox using jQuery.
by Oakman
Especially as the use of JQuery grows, there may be time when you'll want a postback to occur but not right away, especially if you want to animate something on the browser first.
by Zoltan Aszalos
How to create a disableable dropdown list control in ASP.NET MVC3.
by Ravindra T C
How to build a MVC4 Mobile application.
by esonparedes
Crystal Reports for beginners.
by Diluka Wittahachchige
Creating SQL Server database project use in Visual Studio 2012 and maintain versions use in TFS
by Sumanyu Soniwal
An ASP.net based Tagging System.
by Hrushikesh Patel
Creating an AutoComplete with Images for profile with MVC and Jquery
by Indrajeet Sutar
It is possible for us to create and manage Connection String at run time by using SqlConnectionStringBuilder class, So we can change connectionstring at any time. Example Code : SqlConnectionStringBuilder ConnBuild = new SqlConnectionStringBuilder();ConnBuild.DataSource =...
by SaadZulfiqar
For this, we don't need to worry about the path. Folder will automatically be created in the root folder of zip file.
by Rojalin Sahoo
Creating dynamic grid-view worked like an Excel sheet
by Apurba pan
Creating dynamic object from XML using ExpandoObject and put Intellisense using C#
by Shayne P Boyer
Creating RazorPage apps using the CLI
by Joel Cogley
How to create a real-time notifications system using ASP.NET and SignalR
by Jnana
This article describes steps to create rest api with OAuth and how to use those api using OAuth
by Md Ashaduzzaman
Here we’ll learn how to create a page template of our own that is reusable.
by Asif_89
Giving multiple page effects using the Multiview container control of ASP.NET.
by CRMcoaching
In this article I will demonstrate an advanced topic that can improve bussiness processes that start in one CRM and continue in another CRM.
by Kashif_Imran
This tip shows how to crop images at the center with desired width and height in .NET (ASP.NET, Windows Forms, WPF, etc.)
by Jamal Seyedi
How to create print button for non-IE browsers in RDLC Viewers
by Jean Carlo S. Passos
CRUD over Association Entity that maps to association tables
by Gregory Gadow
Fix for "Load report failed" error in Crystal Reports
by thatraja
Error Message:Crystal Report - Load Report FailedThis error occurs in the following scenarios.Permission issueThe application must have access to the Temp folder. You have two choices to solve this (Choose any one).How to Assign Permissions for the Windows Temporary Folder on the Web...
by Mehul M Thakkar
Dynamic version number in query string of file reference in link tag for CSS
by Angel Blandón
Custom ASP.NET DropdownList control using chosen jQuery plugin
by hussainasdsd
Custom checkboxlist design through CSS3
by Luca Quaranta
In this short article we wil face the problem of creating a custom control which extends CheckBoxList and add Selected Values Property
by Sreedhar Puligundla
Creating custom control for gridview paging and page navigation
by Fayaz7Wonders
Custom control to check v-id or email ID in a domain.
by Gregory Gadow
Configure your IIS site to serve custom error pages for all your file types: .html, .aspx, .pdf, whatever.
by Suraj Sahoo | Coding Passion
When the yellow screen of death appears, users get distracted!! Throw them at a beautiful & different Page... let's learn...
by Mack Ait-Aoudia
Add an HTML helper and make it available to your entire application
by Anushan Tennakoon
In this article I am going to explain an approach of implementing custom pagination for an ASP.NET MVC application.
by Aliaa Ezzat
Custom paging control for repeaters
by coolnavjot31
Custom paging with only 10 pages shown in pager.
by HardikPatel.SE
Paging using AJAX
by HardikPatel.SE
Paging and Sorting with AJAX
by Chamila Nishantha
This tip describes how to create your own printing functionality rather than using built in print functionality on Microsoft Report Viewer.
by Ashish Suman
In this tip, we will try to understand why, when and how we should implement Custom Routes.
by Daniel Lo Nigro
Custom strongly typed HtmlHelpers in ASP.NET MVC
by sri senthil kumar
Custom Treeview control useful when multilevel hierarchical data need to be displayed and setting default can go at any level and providing access to each level then this can be the right choice.
by Md. Shariful Islam (Adil)
T4 Template customization for ASP.NET MVC
by Suraj Sahoo | Coding Passion
Customizing the view Engines (Razor View Engine) in MVC4 to optimize our App.
by Akmishra0719
Daily reminder using SQL Agent and SignalR
by Vijaykumar Vadnal
We will discuss about how we can combine Dapper.NET and DapperExtensions to configure DAL to execute normal queries as well as Stored Procedures.
by Gihan Liyanage
Simple Dapper.NET Example with MVC
by raj_chanchal
This article will discuss how you can format data that is displayed in grid view rows. A lot of time the data we get from data source is not exactly the way we want to render it. For example money values are stored as decimal values and we want to display the currency symbol when the values get rend
by chinmayi samal
Methodology of passing data in MVC architecture
by Yugal Pandya
Database driven N-Level Dynamic Menu Control using C#.NET and SQL Server with stylesheet CSS
by Muhammad Ahmed Azam
"Database Driven Dynamic Menu Control"
by databaseobjectmodel
A Sample ORM project
by Alejandro Garcia
Databinding enumerators to DataBound controls.
by Arunima Panda
Tips to consume Web API services to bind data in AngularJS.
by Ahmed R El Bohoty
by Robby Tendean
ExcelLibrary implementation sample to convert DataSet to Excel file in VB.NET
by Robert Hutch
Hi,another alternative is this Excel C# / VB.NET component that has limited free version that can be used in commercial applications and unlimited professional version.Here is an Excel VB.NET code how to export DataSet to Excel:Dim ef = New ExcelFile()For Each dataTable As...
by Deepan Maheswaran
Implementing dynamic or deferred loading of data using datatables.net plugin in ASP.NET MVC
by Sanjay Kunjam
DateBox UserControl with jQuery.
by VijayRana
CRUD operation in ASP.NET/C# with SQL Server for beginners
by VijayRana
Retrieve value from database and bind to gridview
by Manikandan Sekar
Here we can view the events of a day by moving the mouse over the date.
by Sina Shiri Hamedani
This is a simple C# class for connect and using SQL Server easily (SELECT, INSERT, UPDATE, DELETE)
by Muhammad Hassan Tariq
Glimpse Extension for server side debugging and diagnostic information of ASP.NET applications
by Bajirao_
Are you facing Issues on mobile device debugging? Try this and debug site on mobile.
by nainakarri
Debugger showing wrong source file when debugging in VS2005
by Mishra Sourabh
When an ASP.NET developer using jquery or javascript (clientside programming) in his code, so always a question arise, how I debug this code.
by Shashangka Shekhar
In this post, we are going to explore how to debug client side script in Visual Studio 2017 using Chrome and how to disable it.
by Mani Murthy
Provides a brief overview to developing Android application for developers who are from the ASP.NET background
by Mani Murthy
Provides a brief overview for developing Android application for developers who are from the ASP.NET background. This is the second part.
by Hassan Alrehamy
JSON Deserialization in depth concept and Dictionary mapping. Special Thanks to Dr. Coral Walker
by Purbasha Ghosh
Leverage lazy loading with Unity DI framework
by DiponRoy
Delete all the records from the table using EF
by sourabhdev14
The GridView control in ASP.NET is used to represent information from a database in tabular format.
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 Shashank S Chandel
Demonstration application using MVC SignalR and Entity framework - Part I
by Afazal MD 3104209
VC 4 Display Mode. Different view selected based on Desktop or Mobile browser request
by Arthur Minduca
Developing Secure Web Applications: XSS Attack, the Confused Deputy and Over-Posting
by AfnanMof
Steps How to Develop Sharepoint Windows Forms
by Pandey Vinay
This is how you can develop web application for mobile phones using .NET.
by Leri Buiglishvili
Little and programmer-friendly library for device recognition for mvc 4 web apps.
by Kiran K Kadam
Difference between AppPool and AppDomain
by Sandeep Singh Shekhawat
Here you will learn the difference between Response.Redirect() and Server.Transfer() Methods in ASP.NET
by Graeme_Grant
GET method:Data is appended to the URL. - correctData is publicly available. - correctIt is a single call system. - GET/POST/PUT methods both send and receive response/dataMaximum data that can be sent is 256. - browser dependant up to 4KData transmission is faster. - GET/POST/PUT...
by ATjong
Different items in RadCombobox in each row of RadGrid with sqlDataSource
by rj45
Directly embedding .CSS ( or strip it out ) instead of href link (Excel export part 2)
by Sandeep Mewara
How to disable all links on page using JavaScript
by Sunasara Imdadhusen
Disable button after click and display text [Processing...]
by duluohua
Good, my solution is by using Client Javascript.aspx pagescript //by using jqueryfunction DocumentReady() { //Button disable...
by Eidryana
Or the jQuery alternative: $("form").submit(function() { $("#").val("Processing..."); $("#").attr("disabled", "disabled"); });
by jarvisa
public void ControlStatus(Control control, bool isDisable){ foreach (Control c in control.Controls) if (c.HasControls()) ControlStatus(c, isDisable); else { WebControl wc = c as WebControl; if (wc != null) ...
by PSU Steve
You can just use "not IsDisable" versus the IF...ELSE block. Additionally, the recursive call to ControlStatus should be done all the time so that the parent control is enabled/disabled along with the children. // to enable\disable the control & its child controls public...
by a_pess
Alternative For VB.NET Windows Forms Private Sub ControlEnabled(ByVal ctrl As Control, ByVal isDisable As Boolean) Me.ControlEnabled(ctrl, isDisable, True) End Sub Private Sub ControlEnabled(ByVal ctrl As Control, ByVal isDisable As Boolean, ByVal allowRecurse As...
by Lisetsky Val
Disable ClientID for any control on ASP.NET Page
by Sunasara Imdadhusen
Disable IE/Firefox remember password ?
by thatraja
DescriptionW...
by demouser743
Disable Label after some amount of time
by Rajesh Anuhya
Achieve the same using AJAX AnimationExtender control. Use the below code: ...
by Prince Antony G
var message="Function Disabled!";function clickIE4(){if (event.button==2){alert(message);return false;}}function clickNS4(e){if (document.layers||document.getElementById&&!document.all){if (e.which==2||e.which==3){alert(message);return...
by Christopher John Paul
Prevent right click on the web page
by Faisal Jawaid
This tip will address the issue of expiring the page when browser buttons are used for navigation of application.
by Awais Hafeez 86
Shows how to display an image (instead of simple text) in asp:HyperLinkField or asp:LinkButton column of a GridView
by Not Active
Why not use a Template Column?
by Venkatesh Mookkan
This would also work,
by Yugal Pandya
Display last activity Date and Time smartly like Google and Facebook in Microsoft SQL
by Sonali Agarwal
Here I am showing the local time in various timezones in the world
by Jitendra_Shri
Display selected value for the TextBox when TextMode="Range" without server postback.
by Daniel Nguyen Vinh
The iTextSharp API is a powerful Open Source tool for creating PDF documents on the fly; it has the ability to generate multilingual PDF but it does not come with the default setting. In order to display Unicode characters such as Vietnamese, please follow our post
by Daniel Ben-Sefer
Album Example - 5.68 MBIntroductionI often have the need to show pictures with captions as seen above.My objective is to be able to do so dynamically, so that all I need to do is to create a folder on my PC whose name equals the title of the page ("Sample Pictures" in the image...
by SoftwareMonkeys
How do you display the results of an action to a user and ensure it shows up no matter which page they are redirected to afterwards?
by peymanabolghasemi
by peyman abolghasemi , Display DB info
by Mostafa Asaduzzaman
How to replace User.Identity.Name (Email) by Full Name in AspNet Identity 2.0
by Adel Refaat
DotNetNuke Resources keys
by Ramanujam Shankar
Download any type of file from server using asp.net with javascript
by Nipesh Shah
Issue in downloading file from asp.net
by Chamara Janaka
Download Files Using Web-service
by Erika Chinchio
In this article I will explain how to automate the process of downloading files with the open/save dialog box, protected by authentication.
by Rohit Kejriwal
Downloading Files from SharePoint Server to Network Drive
by Muhammad Rashed Otahbashi
How to implement Drag and drop files and Images feature in ASP.NET MVC App
by Poonamchand Soni
How to add OptGroup support to your dropdown list control
by David C. Williams
When building an ADO.NET DataTable dynamically in your code, each column name must be unique or you get a System.Data.DuplicateNameException. If you don't know at design time that the columns you will be adding are certain to have unique names, you can use this method to avoid a runtime error.
by David Lee 145
How to make dynamic DTO with ExpandoObject
by Arwinder Singh
How to add columns dynamically in GridView......
by sohaib patel
How to create a dynamic label editor web control on ASP.NET (textbox and label).
by Roysb
Creating a menu dynamically from a database, with a style type control panel
by Maninder Singh Puhi
Appropriate query to fetch required no of results from DB instead of getting all at on time for binding controls like Gridview, listview etc
by ss9o9o9o
Transferring backup files from a remote SQL Server and Dynamic SQL Connection with Restore utility.
by marc9889
This code demonstrates how to append an XML document. We will add a new element and some inner text. Call the function, provide arguments for the path to the file, the name of the child node, the element name, and the text to add. The file is opened, appended, and saved. The function returns a...
by Dipankar Hazari
How to populate a dynamically created menu bar from the database according to user credentials using C# .NET and ASP.NET.
by Nadir Muhammed
Creating an RDLC report by just binding a Dataset
by ASP.NET Community
Hi friends..... Many of guys are trying or working on menus for binding it dynamically. i've the solution for ithere , i m putting sample code to
by Prabhat Spark
Creating a Menu and populating items from a database dynamically after user login in ASP.NET.
by Saeid.Babaei86
How to register a stylesheet file at run time
by SagSD
Bootstrap pagination for gridview with CSS only
by Robert Bettinelli
Easy JSON Recursion in VB.NET with nested levels
by Prabakaran T
If you often use removable USB devices like a flash drive, you are probably already familiar with the “Safely Remove Hardware” icon that sits in the system tray. The problem for many people is that the icon is tiny, and clicking it just right to bring up the menu is a pain.
by Indrajeet Sutar
May occasions we need to give Serial numbers to our grid like 1,2,3,4,5, this I have tried my hand for a while and what I found.....I have posted it in someones questions earlier. We can give alphabets also but its usage is limited so that part is omitted. (it is somewhat tedious...
by Prince Tegaton
This entails how to easily add mobile website feature to your ASP.NET website/app
by koolprasad2003
This tip explains how to use Word Automation using OpenXML and C# without Word Interop.
by Youqi Ma
Using a controller to manage dynamic control form events and creation.
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 Kishan Zunjare
Configure different email provider sources using the Provider design pattern
by MustafaIqbal
This Article is written for those who need help for sending simple email or also Verificetion type Email..
by Dhyanga
Emailing the list of checked rows emails list from the gridview rows on a single button click
by Shailesh Pisat
Provides ready to use library for sending email using SMTP
by killing the bug softly...
While developing a web page in fully HTML controls, you may not be able to use ASP.NET's controls, then you may need the help of some JavaScript function for validation.
by Sunasara Imdadhusen
This is going to do something much more interesting than merely render some HTML to the browser. This is going to inject Javascript and CSS into its containing page.
by AspDotNetDev
There is a fourth function.RegisterClientScriptResource(): Adds a reference to a JavaScript file that has been embedded into an assembly (DLL). Read more about that here: Managing Your JavaScript Library in ASP.NET.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
We will explore the JavaScript code, by which we can easily Enable or Disable all the Tabs inside a Telerik RadTabStrip.
by Sunasara Imdadhusen
How to enable or disable ASP.NET validation on client side
by Massimiliano Peluso "WeDev Limited"
Enable/Disable control on a web page using MVC Razor view engine and Extension Methods.
by Omid Nasri
In this tip, you will learn how to enable intellisense for ViewBag in ASP.NET MVC
by Srinivas Kalabarigi
Encrypt data before sending via QueryString and decrypt upon reception in the target page.
by Yamin Khakhu
Encrypting the configuration in Web.Config
by Umarfarukh7
This tip is about encrypting web.cofig file using aspnet_regiis utility of .NET Framework.
by VICK
Focuses on beginner's level Encryption
by kadu.sumit
String encryption/decryption functions in .NET.
by Vinayaka Krishna Shenoy
Entity Framework 4 twist in Complex Type
by Rakibul Islam 33
In this tip, we will try to understand SOLID Architecture principles using simple ASP.NET MVC 5 examples.
by Alen Toma
Entity Framework Dynamic include hierarchy
by Christopher R Davis
Use model driven development with a MySql backend
by MdAsifBd
Separate entity class mapping using Fluent API
by Alen Toma
EntityWorker.Core - an alternative to entity Framework
by Sarvesh Kumar Gupta
Error - Operation is not valid due to the current state of the object.
by Mishra Sourabh
In this tip, I am going to show you how to handle error in ASP.NET MVC.
by saurabhsharmacs
This tip demonstrates how to use ELMAH (Error Logging Modules and Handlers) in ASP.NET MVC and WebAPI.
by Dusara Maulik
Error notification service which helps make application more error free
by Lalit_Chandra
In JavaScript, triggering of events is different in IFrame and Parent Window.
by Nandakishore G N
Example For Gridview RowCommand Event
by Nandakishore G N
Simple example of using JavaScript Serializer in webmethod and consuming in client side using jquery
by Nandakishore G N
Example of enabling loader image on button click and (closing or disabling) from code-behind
by Sarvesh Kushwaha
Export Excel to SQL database table (Sample Code)
by CARPETBURNER
Are you too lazy to do a proper tip or a proper article?
by Fiyaz Hasan
This article shows how to execute JavaScript code from ASP.NET core server-side using NodeServices.
by Anuj Khadloya
This article provides a solution to the age-long question of "How do I execute some server side code when my browser is closed?". The answer to this question is AJAX.
by v111981@gmail.com
Executing a event or function on each postback
by Nirav Prabtani
Virtual Expandable Gridview using Ajax post method
by Nikfazan
This article shows how you can easily make hyperlinks for exploring a folder on server and its sub-directories and downloading the files, using ASP.NET Core MVC.
by Nikfazan
This article shows how you can easily make hyperlinks for exploring a folder on server and its subdirectories and downloading the files, using ASP.NET MVC.
by Pusparag Subudhi
A WPF application can be made more interactive and deployment friendly by using SignalR to our advantage. This is Part 1 showing how SignalR can be implemented in a WPF application for two-way communication and synchronization.
by Sridhar Pasham
Export and import database using SMO
by rj45
Export any page to Excel automatically
by Yogesh Kumar Tyagi
I’m going to show one simple common method to export.
by Michael Gledhill
Easy-to-use library, to export the data from your jqGrid into a real Excel file.
by Ravi Kumar Mishra
Data export from data table or dataset to Excel with formatting.
by AshishChaudha
This tip describes how to export data to an Excel file from a GridView.
by pramod.hegde
ASP.NET GridView to Excel conversion.
by Amit Singh Baghel
A useful tip to export a Div to PDF (with Unicode support) with the help of NReco-PDF Generator for .NET (C#), JQuery and Handler in ASP.NET
by Er. Puneet Goel
Here is a quick code for how you can export the HTML table to Excel with CSS of table.
by Santhosh Kumar Jayaraman
This is an alternative for "Export DataTable to Excel with Formatting in C#".
by harikreddy
How to export selected rows of a GridView to Excel.
by Vishal.KumarSingh
Export Data from a Entity DataSource / GridView / Datatable in ASP.NET to Excel 2007(.xlsx) format with proper formatting and no warning messages
by JatinKhimani
Export Gridview data in Excel formate with gridview design.
by rj45
Export whole page to Excel with infragistics
by Kabwla.Phone
Tip: Change your loop to the following to also support derived classes:foreach (var item in controlList ){ GridView asGridView = item as GridView; if (asGridView != null) { Utilities.RenderControlInExcel(asGridView, workBook); } DetailsView asDetailsView =...
by Sourav Kayal
In this tip, we will learn to implement OData endpoint in Web API application.
by Sanjay K. Gupta
An extended CheckBoxList with selected item CSS and vertical scrolling
by AmitGajjar
An efficient extended search API to search from a text file.
by Daniel Vincent
This article about how to extend your ASP.NET session and alert the user based some predefined time
by AnkitkJain
ExtJs-JavaScript framework for beginners
by Sourav Kayal
In this tip, we are going to learn Facebook authentication in ASP.NET MVC application
by Vincent Maverick Durano
A quick example on how to implement GridView row highlighting and retain selected row on postbacks.
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
Serial and Parallel implementation of efficient Prime Factoriing algorithms
by Omar Elfakharany
Parsing FDF files using Regex
by B. Clay Shannon
Create peace and unity in your organization by separating data and coding responsibilites
by Ajay Bachale
MVC3 Role base security.
by VICK
File download on ImageButton or ButtonClick
by Prasanta_Prince
ASP.NET sample code for uploading and downloading files
by Atish Dipongkor
How to upload file using AngularJS and ASP.NET MVC5? How to upload multiple files using AngularJs and MVC5?
by adriancs, Vishal Pand3y, Wombaticus
Sample JavaScript for filtering file extension and file size
by prashant chalise
Get the text present inside tablecell in both visible or hidden mode using VB.NET
by Gustav Brock
This is an alternative to using LINQ for "Find the count of a weekday between two dates without iterating/looping".
by Ravi LVS
Find the count of a weekday between two dates without iterating/looping
by Prerak Patel
Single line in Linq This gets you the number of weekdays, i.e., Monday to Friday between given two dates.[VB]Dim dt1 As New Date(2011, 1, 1)Dim dt2 As New Date(2011, 1, 15)Dim days As Integer = (From d As Date In _ (Enumerable.Range(0, 1 +...
by #realJSOP
How about this?public static class ExtendDateTime{ public int CountWeekDays(this DateTime thisdate, DateTime thatDate) { int days = Math.Abs((thisDate - thatDate).Days) + 1; return = ((days/7) * 5) + (days % 7); }}Usage would be like this:DateTime...
by George Swan
Is it easier to start from the next targeted day? Subtract that date from the end date. If the result is negative, return 0 otherwise return the quotient of the difference in days between the two dates divided by 7 plus 1.public static int findWeekCount(DateTime startDate, DateTime toDate,...
by rld1971
I like things simple for debugging purposes... LINQ implies a list or some iterable thing, but that's just me. I think this works:static int CountDayOcurrence(DateTime start, DateTime end, DayOfWeek day){ var wstart = start.AddDays(7 - (int) start.DayOfWeek); // Sunday after start...
by K Quinn
Didn't read it very closely, haven't tested it very thoroughly, but, you get the idea:public int GetNumberOfRecurrances(DayOfWeek weekDay, DateTime startDate, DateTime endDate){ int distanceToFirstInstance = ((int)weekDay - ((int)startDate.DayOfWeek)); //determine integer...
by Ramanujam Shankar
In Text box key press event, find the pressed key code value using javascript
by arash2009
Have you ever developed a web application with several Ajax Update panels on one page and then wondering which one caused the postback ?Well, this happened to me and after many dead ends, here is the key to finding what UpdatePanel caused the...
by Saqib Mobeen
It's a GeoCoding technique
by sekharkaza
This code is very useful for those who want to know which aspcontrol has caused the postback.
by Haris Munawar
Introduction...
by Sudip Saha
Load usercontrol dynamically and fire usercontrol's button event on content page.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Want to select the GridViewRow without Select button showing on the row. Just follow the steps mentioned in the tip.
by saurav ray
Fire TextBox TextChanged event from GridView
by dgDavidGreene
How to find and link config and other files from other projects within your solution.
by Sunasara Imdadhusen
MVC Logging series
by koolprasad2003
Fix : HTTP Error 404.17 : The requested content appears to be script and will not be served by the static file handler
by Wild-Programmer
Fixed or Sticky header or ASP.NET webpage
by DrABELL
Tip describes CSS3 formatting technique that allows to create web Table header, which always stays atop the table regardless of scrolling
by Martin Jarvis
Essentially, leave 'Treat As Library Component Unchecked'
by Tim Corey
Solving the error "The model item passed into the dictionary is of type 'x', but this dictionary requires a model item of type 'y'.
by Hemant__Sharma
This tip explains how to arrange & apply correct DOCTYPE and X-UA-Compatible meta tag to newly added pages referenced in Frameset in an existing intranet (Enterprise) application.
by Muhammad Aqib Shehzad
Forgot Password and Email Check from Database
by Alessio Aronica
Generate forms from MVC models in one simple line of code
by saurabhsharmacs
If using Identity framework is not possible, one can add the old school forms authentication method.
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 Pablo A Martinez
How to use Google map and Spatial search to do freehand drawing
by SubhamoyBurman
Use of Task Parallel Library and Async/Await in your application
by Fiyaz Hasan
Building a parent child hierarchy TreeView
by Pablo Oropin
This article aims to explains how to implement functions to deliver data via HTTP POST or HTTP GET in ASP.NET to an specified link.
by Oleksandr Kulchytskyi
Boost up your serialization in ASP.NET Web API.
by Md. Marufuzzaman
Generate auto row number for a table
by Mukund Thakker
SELECT ROW_NUMBER() OVER(ORDER BY [col_1]) as RowNumber,COUNT([col_1]) OVER () AS RecordCount,* FROM TableName
by YSLGuru
If you have the ability to change it, you may want to consider moving away from the 36 digit alphanumeric created by GUID() as a Key. This is often misused in SQL-Server by developers who have not had proper training/education in SQL Server and or RDBMS. The GUID() is not intended to be a...
by Yogesh Kumar Tyagi
This tip introduces approaches to generate bar code in ASP.NET MVC project.
by Jatinath
This tip will help developers to generate DrillDown chart using HighChart and ASP.NET
by LazyCoder0
This tip describes how to generate Excel charts from data in .NET applications using Office Automation.
by mparvez
How to create a Line, Bar, and Pie chart for your ASP.NET application
by mparvez
How to create some good looking Line, Bar, Pie charts for your ASP.NET application.
by mparvez
An open-source free Flash charting component that can be used to render data-driven animated charts.
by mparvez
How to create a line and point chart for your ASP.NET application.
by Kalvin Lawrence Ernst
Generate a web app instantly, directly from a database(SQL Server)
by Md._Mehedi_Hasan
This tip will help you to generate .xml file in AngularJs and ASP.NET MVC5 using XElement of C#.
by Rahul AnilKumar Mehta
Access zebra printer from ASP.NET
by Tharaka MTR
This article describes the easiest way to create and process delimited row using SQL XQuery.
by Praveen Kumar Chauhan (PRK)
Generate PDF using ItextSharp with header and footer
by alrosan
One method to generate random text
by Gábor Angyal
A code generator that helps you create ASP.NET 5 and Vue 3 applications much faster
by Bryan Tubbs
This tip will show how to sort a list of a particular class type from a SqlDataReader object by dynamically creating a lambda expression to carry out the process of sorting the list.
by vijay__p
How to perform CRUD operations using generic repository with EF pattern with and dependency injection.
by Kundan Singh Chouhan
Simple technique to handle text input and validations in single control
by Shamas Imran, Muhammad N@beel
Convert Coordinate data to strings to be stored in database.
by Kishan Zunjare
New feature in C#5.0 "Caller Information" - get information of caller
by Trung Nguyen Son
How to analyse and tune your dotnetnuke site to get best performance.
by Dipesh Wadhwa
HTML source code of any website/webpage.
by Massimiliano Peluso "WeDev Limited"
Get Nested Property value using reflection and Linq.Expression
by cechode
Saw this a while back; it's simpler (dirty and wrong but... ):public static T Get(Func getDelegate, bool DefaultTOnNull = false, T defaultVal = null) where T : class{ T result = null; try { result = getDelegate(); } catch...
by SoumenBanerjee
Get page HTML using System.Net.WebClient class of .NET as well as striping HTML using Regex and export a list into Excel or XML.
by Md. Marufuzzaman
This is a very simple way to do actually. Web developers are very much familiar to work with the referrer url. The HTTP_REFERER server variable return the referrer url. In this tips I will show how easily we can get the search key word from the referrer url.
by AspDotNetDev
Using TinyMCE is fairly simple, but attempting to access the value entered by the user in ASP.NET 4.0 presents with some problems.
by AbdulMuheet
Connect to Facebook and get user Facebook details.
by Dinesh Thammineni
Get Version of any software on MSI installed in any System/Server
by Marc Koutzarov
Generating a random number between 0 and 9.
by raphadesa
I will demonstrate how to easily get the available screen size using PageMethods and ASP.NET
by Ger Hayden
These notes are based on my experience getting started with IdentityServer4.
by Chamila Nishantha
Communicating with Zendesk API
by Usama Ansari
In this tip, we will see how to get up and running ASP.NET 5 site with Visual Studio code, yeomen (for ASP.NET 5 template scaffolding) and how to install yeomen using node and npm.
by Rakhi Shrivastava
This tip explains the step by step approach how we can use Glimpse for easy debugging of the ASP.NET MVC application.
by Ludmal de silva
This is a Gmail style user message control I have written and its part of the XWT Toolkit.
by Robert Bettinelli
Check this for a good universal way of running stored procedures..
by suis
Integrating Google direction and geocoding services using C#. NET code behind.
by mparvez
Google Map with JSON
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 Komail Haider
.Net control/wrapper for the Google NEW ReCaptcha API 2.0
by Royston Malcomber
Setting up Google reCaptcha version 2 with MVC5
by Yogesh Jamkhindikar
This tip will help you achieve a graceful termination of your spawned threads in your ASP.NET application.
by Praveen Kumar Chauhan (PRK)
This a trick to generate random gradient color in your ASP.NET project, which will change randomly on every post-back.
by Zafar A khan
This article is about how to show a menu in a grid on each row hover and specify the action in the menu.
by Narendra Singh Rathore
Styling Gridview Pager in ASP.NET using CSS .
by RobertDinaro
GridView paging takes two clicks (solved).
by gaurav_rwt
Gridview paging with numeric with first and last button using jquery and code behind
by Dholakiya Ankit
Sorting GridView using attribute property of GridView
by Mithun Achar
GridView with DataPager in ASP.NET 4.0
by Vinay Jade
The edit and delete options are available only for the particular record on which mouse pointer is focusing
by Rajamohan Dhanushkodi
Custom DataGrid than can group data, display row details, and filter data.
by Kishan K Choudhary
Guide for custom Google login in MVC without default Identity
by Adi_Mag
Step by step guide to configure gulp in ASP.NET MVC core 1.0
by Leszek Koc
Three different approaches to handle Session access in MVC applications.
by chinmayi samal
Advantages and uses of Controller.HandleUnknownAction in MVC Architecture
by Sujith Karivelil
This article will help you to create, update and delete events/ appointment in google calendar from your web application.
by Billy S Davis
Wouldn’t it be nice to call your AJAX method and just build a generic object to pass into the server side function, without having to create a bunch of complex server side objects?
by Ivan Yakimov
In this short article, I'll describe how to configure JSON serializer error handling differently for each request.
by atlaste
How to fix hiding controls in the Visual Studio user control designer
by Mike Hankey
Highlighting the current menu item in MVC using the MvcSiteMapProvider turned out to be somewhat of a challenge but with a little head scratching and several cups of coffee, this is what emerged.
by Pavel Yermalovich
Navigation: protected void GVEmployees_RowCreated(object sender, GridViewRowEventArgs e){ if(e.Row.RowType==DataControlRowType.DataRow) { e.Row.Attributes["onclick"] = "location.href='YourPage.aspx?id=" + ...
by Ravindra T C
How to highlight the current page in ASP.NET master page
by Math08avan
Hosting WCF Service - Windows Hosting
by Math08avan
Hosting WCF Service - IIS Hosting
by coolnavjot31
In this Artcile i will show you how can we change the value of one column on change of other column in gridview.
by Premraj M
What is jQuery?jQuery is a Art, technology, development, coding and hobby.jQuery is a part of WEB 2.O. This is a modern and new technology which is implemented in the browser level. In this tech. all things are handling in div component, JavaScript and CSS.This is a one kind of open...
by Stephen Hewison
Problems with the ASP.Net engine caused by the increase of tablet browsers, IE10 and user agents.
by Sisir Patro
Aborting an fired Ajax call before firing the same again
by jicking
Easy way to Install Client Side Library Using UI on VS 2017 ASP NET Core 2.2 Projects
by Sisir Patro
Adding concentric circles based upon different KM radius
by Amit Singh Baghel
A tip to fulfill the requirement of getting the Hindi Inscript Typing on your website without using any external software
by Milad Ashrafi
We need this script for database based ASP.NET websites for using HTML content in post pages.
by MinniPandey
How to capture basic HTML controls using the WatiN control.
by marks-mike
Demonstrates how to cascade delete on a single table that maintains hierarchy by a ParentId that points to the primary key of the same table
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 B. Clay Shannon
Check for a newer version of a file and then return it if the client's version is outdated
by kasiarun
How to connect to Analysis Services (SSAS) from a different domain user
by Mukund Thakker
In this post, we will see how we can convert date time in "X Time ago" format in C#.
by Vivek_Sharma
Convert GridView data to Excel, PDF, Word file using C#
by Nandakishore G N
I'll Try To Explain Some Methods of Datatables.
by Sayed Irfanul Hasan
How to protect a page from text copying using JavaScript in ASP.NET.
by Michael Rosqvist
A small sample showing how to create a Google Heatmap in ASP.NET/VB.NET
by Winson Yau
Create and download the file with Ajax call in ASP.NET MVC
by Kamyar
This tip describes a shorter way to create the aspnetdb schema on your database instead of using aspnet_regsql command
by Indrajeet Sutar
Download ExprortCSV - 3.59 KBIntroductionHello everyone, In this article am trying to explain how to create a CSV file using ASP.NET. In this example i have used Northwind datatbase and "Ten Most Expensive Products" stored procedure. In this example i have taken data from the database...
by Aksh Sharma
This article describes how to use Visual C# .NET code to trap and respond to errors when they occur in ASP.NET.
by akshay_zz
This article will provide you the alternative way to navigate page in a crystal report viewer, as default paging looks broken
by Mehul_Harry
How to create iPad Web Apps using DevExpress ASP.NET
by GustavoMartins
Create Jira user story cards without any plugins
by NGM ALDEN
How to create background task in ASP.NET web appliccation via Quartz.net
by Rijwan Ansari
Learn about SQL Server Database Project (Template) available in VS
by Systematix Infotech
How to create the customized Kendo auto complete as a shared control into ASP.NET MVC using VB
by Amey K Bhatkar
How to create TreeView in MVC
by tungnt185
This tip will show you how to create a WCF service return JSON use for mobile app.
by B. Clay Shannon
CRD Operations (there is no "Updating" method shown, so crud, it's not CRUD) with Sharepoint 2010
by Abhijit Jana
Some times we need to detect the Browser Close to perform some operation before quiting from application. Here is a simple way.function CheckBrowser(){ // Check Browser Close [X] , Alt+F4 , File -> Close if(window.event.clientX < 0 && window.event.clientY <0) { wi
by Danny Chu
Learn how to detect if client has JavaScript enabled or disabled at your backend webserver
by Ankur Rawat
Detect whether the event is click event or drag event of pushpin, performed by user in Bing Map
by Ramanujam Shankar
Enable/Disable validation group using javascript
by Hexa How
Display visitor's sunrise and sunset time based on their IP address using C#
by Mahmud Hasan
Recently I had to write few lines of code to download ppt files from asp.net.
by Souvik Das, MCP, ITIL
Code to help download an image file as a Zip file using C# and J#.
by Dariush Tasdighi
How to download large files from ASP.NET Web Forms (Download.aspx or Download.ashx) or ASP.NET MVC
by B. Clay Shannon
Easily Test RESTful Methods with JSON.NET on Windows Forms
by bbirajdar
How to embed an image in email body
by Pankaj_chs
How to enable MVC views to compile?
by techbird
Enabling 64bit compatiblity on IIS for 64bit ASP.NET applications
by techbird
Enabling remote test page(invoke button) for webservice in live environment.
by Rolando CC
This article provides a basic reference on how basic protection can be achieved using the aspnet_regiis.exe tool, by default installed with .Net Framework, and also some basic considerations when you are working with IIS WebFarms.
by M.Farrukh Abbas
There is no fool-proof technique to catch the browser close event for 100% of time. The trouble lies in the stateless nature of HTTP. I will explain one of them which is very effective and tested
by jfriedman
//Using MooToolswindow.addEvent('unload', Cookie.delete.pass('applicationCookie'));//using JavaScript by itself...//http://www.quirksmode.org/js/cookies.htmlvar eraser = function () { eraseCookie('applicationCookie'); };if(window.addEventListener) window.addEventListener('unload',...
by Lai Taiyu
To establish a reservation of classroom web system using ASP.NET
by Saineshwar Bageri
Resolving issue of Font Displaying Box or Junk while exporting Crystal report
by Saineshwar Bageri
This article discusses how to export Crystal Report on button click into PDF, Excel, Word, HTML, RTF in ASP.NET C#
by Amey K Bhatkar
How to fill dropdown in ASP.NET MVC 3?
by cfindex
It is very simple and useful tip to find duplicate values from a dictionary.
by AlbertoLeon CSharpMan
The build of Web.Debug.Config throws the error as value 'MySql.Data.MySqlClient' is already present.
by Steven.Pinto2000
Several methods to debug JavaScript
by Peter BCKR
Fixing missing ContentType-Bug in Internet Explorer 10 on Windows 8 when using XDomainRequest and POST requests
by AlbertoLeon CSharpMan
When building a View with a ViewBag containing a property that references a class.
by Abhijit Jana
This is very common problem in Web development that we need tofreeze the GridView header at the time of scrolling, Here is one simpletips:Step 1 : Create a CSS class as following .HeaderFreez  {  position:relative ;   top:expression(this.offsetParent.scrollTop);  z-index: 10;  }   .HeaderFr
by Pranay Rana
This thing is working for both horizontal and verticle scrolling. Here id of the div is hard coded but you can use jquery to attach css class to div element. div#gridPanel { width:900px; overflow:scroll; position:relative;}div#gridPanel th{ top:...
by prasghant
asp.net grid view
by Alireza C
This code helps you to grab ConnectionString from App.config.
by Ivan Signore
A workaround to SecurityException while getting file's full path in Silverlight
by Nidhi P Bhargava
Suppose I want to display Address details in GridView but don't want to display AddressId then I will hide column that displays AddressId. GridView has CheckBox also to select Addresses. Now at runtime on click of button I want to get AddressId of all selected Addresses in that case if I use...
by wouter vegter
Alternative way for 1B, this one is way faster :) : protected void btnSelect_Click(object sender, EventArgs e) { Button btn = (Button)sender; DataControlFieldCell dfc = (DataControlFieldCell)btn.Parent; GridViewRow gvr =...
by Abhijit Jana
Get list of all active HttpMoudles in ASP.NET
by Abdullah Ibn Mannan
A common problem working with Bower (Client-Side Package Manager of ASP.NET Core), missing dist folder with js file
by SRS(The Coder)
This tip gives an explanation with example on how to get output parameter value from stored procedure using Entity Framework in ASP.Net
by B. Clay Shannon
Get REST data and display it in a DataGridView
by Dnyaneshwar Kondbale
Get ClientID of User control which is register on Page In JavaScript.
by T.Ashraf
Pass value between user control and aspx page
by Pavel Yermalovich
1. Create hidden field onto your page like following:2. Then add script block at your aspx page:function select(rowIndex) { document.getElementById('').value = rowIndex; }3. In...
by KADJINA Toyi
This sample is about hiding automatically datagrid columns when all rows of this column are empty.NB: The following code is for silerlight 5 and can be readapt for WPF
by Johan L.
Create an ASP.NET HTTP handler and configure IIS 7.5 to load and save KeePass databases
by Infoteam SA
Two solutions to host a self-hosted WCF Service
by Leo Dungca
A simple tip on how to implement a custom IPrincipal in ASP.NET MVC 4 template project with WebMatrix.WebSecurity and OAuthWebSecurity.
by ChienVH
This article will show you how to implement Asp.Net membership into a new database
by Bipin Paul
Implementation of Contact Us Page using ASP.NET MVC pattern
by Shaurya Servegar
How to implement Custom RouteHandler and Custom Handler in ASP.NET MVC 5
by Ram Balak Sharma
Best practices for ASP.NET code for improving performance.
by Paulo Augusto Kunzel
Summarizes some ideas on how to improve code performance
by ManojKumar19
Learn how to configure dynamic compression in IIS 7.5 to improve performance
by SERokon
Increase debugging idle time in visual studio configuring IIS
by Md.Alauddin
How to increase the upload file length limit in ASP.NET
by B. Clay Shannon
Using HTML and jQuery/AJAX to dynamically modify the contents of a Web page
by Amit Singh Baghel
Saving Details Table Data (An HTML Table) in Database by converting it into a jagged array and passing it to a table type parameter
by karimbaig5
This tip provides an idea about how to insert a record into a table having no primary key using LINQ to SQL.
by Daniel Miller
This article outlines the steps for installing the Global Assembly Cache Tool on Windows Server 2008.
by B. Clay Shannon
Easily (and elegantly) inflate objects based on args passed to a REST method in a URI
by dpalash
This is meant for easy integration of CKEditor with ASP.NET
by yosonwan
Sometimes we need to kill a process programly. This article talk about how to get process array to process name and filter it.
by girlprogrammer
Identifying the control that raised postback event
by dhamenha
One day i created many aspx files in one directory, then I wanted to browse those files without going and clicking each one of them, I decided to write small function to create a hyperlink for each file. I thought someone else might benefit from the code, here it is: strDir =...
by SoftwareMonkeys
Logging client side JavaScript errors to the server.
by thatraja
Check this jQuery alternativejqlog - A logging framework plugin for jQuery[^]
by Mangesh V. Devikar
this article describes the session handling while performing a logout proces in any asp.net application
by Chirantan Upadhyay
How to Maintain FileUpload Control’s State after PostBack
by Bahram Ettehadieh
By putting your intended content in a division as bellow, the button you set as default button will be hit when you hit enter button on any element which is in the division.
by Muthu Nadar
You can set the default button on your form tag as below code.ORyou can set the default button on a panel as below.And you can place your...
by mahesh__kumar__sharma
function SetDefalutButton(e, buttonid){ var evt = e ? e : window.event; if (evt.keyCode == 13)/*Search if user hit enter key*/ { var bt = $('[id$='+buttonid+']'); if (bt.length > 0) { if (evt.keyCode == 13) { ...
by Abhishek Kumar Goswami
This helps to make a visible date field in Chrome native datepicker while it will bind from the Model in ASP.NET MVC 4.
by Bahram Ettehadieh
Make text of an html checkbox clickable (like ASP.NET control)
by Lisetsky Val
There is shorter way to do this: Some Text
by julitogtu
Manage controller/action not found in ASP.NET MVC
by congiuluc
In this article I explain step by step how to migrate users from ASP.NET Membership to ASP.NET Identity
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 B. Clay Shannon
Pass a long string to a Web API method (not as part of the URI query)
by tsdragon
You could also use the West Wind Web Toolkit by Rick Strahl, which has a REALLY nice component for this purpose.Blog Entry: http://www.west-wind.com/weblog/posts/2008/Feb/21/Embedding-ASPNET-Server-Variables-in-Client-JavaScript-Part-2[^](I have no connection to Rick Strahl or West Wind,...
by Ricardo R Carneiro
In this tip, I describe how to post/send data of a table (or list) of HTML for a LIST/ARRAY in C#.
by Sandesh M Patil
How to prevent a drag and drop text and copy paste text in your textbox control
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 Ram Balak Sharma
Stop postback in text box when hitting the Enter key, by using jQuery
by marks-mike
This tip describes how to prevent the same User ID from logging in from multiple devices using ASP.NET MVC4.
by dimpant
Utilize the Rating Ajax control in your ASP.NET Web Forms application.
by JoaoSousa23
Deploy an ASP.NET MVC application to a Azure Web Site by using the Publish Web Wizard in Visual Studio 2015
by Dinesh Kr. Choudhary
How to put your site into maintainance mode
by MB Seifollahi
Reading a file from web in ASP.NET
by Prerak Patel
How to remove characters from a numeric string
by Syed Wayez Ahmed
How to remove characters from a Numeric String:
by dpalash
It's a simple but helpful tip and it's easy to implement
by Arunima Panda
This tips is about to fix image reset issue in RadImageEditor Telerik Control
by techbird
Guides to resolve the 'Could not load type System.ServiceModel.Activation.HttpModule' issue
by harikreddy
How to restrcit the size of file uploads in ASP.NET
by TheKarateKid
Shows how to restrict and format the dates on Microsoft AJAX Calendar Extender...
by Mannava Siva Aditya
Restrict end user by entering incorrect values
by B. Clay Shannon
Retrieve scalar vals from REST methods
by The Myth
How to return Json in VB.NET in multiple ways
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 Arpit Dixit
How to run the Crystal report runtime on any app pool and on any port rather then 80 on IIS
by B. Clay Shannon
Save Excel (or other types of) files to SQL Server, then read them out again and make them downloadable via a link on an ASP.NET Web API page
by Rohit Nanda
The easiest way to send form data to Google Docs/Spreadsheet from your web page, using your own form and AJAX. Nowadays, Google Docs/Drive is a widely used service for data storage and documents sharing.
by Kethu Sasikanth
How to select an initial value for a DropDownList in MVC3 App
by Tejas Vaishnav
Sending an email from your ASP.NET web application
by Abhimanyu vij
How to send an email with app setting in the web config file.
by B. Clay Shannon
Code to send an XML file over the wire using REST / Web API
by Soufiane Rabhi
Sending data from JavaScript Code to ASP.NET C#
by Kinyanjui Kamau
To set up an ASP.NET application the implements ASP Identity with Entity Framework to use MySql as a database.
by josh-jw
This tip will give you a better idea of how to setup a KoGrid in Knockout.js.
by SanSkun
This trick is about how to change background colour of a popup window by using modal pop up extender.
by vinodkumarnie
Show or hide controls through code behind or through JQuery
by Verma Neeru
Difference between Page_Load and OnLoad event
by Bitla Phanindra
How to solve error: 404.2 The page you are requesting cannot be served
by Rahul Rajat Singh
How to Solve Image Refresh problem associated with Image control in ASP.NET
by virang_21
How to sort a list of objects by property values.
by Shridhar Gowda
This tip will explain how to sort a table / GridView on an ASP.NET or MVC(AngularJs) application. I am demonstrating both client side and server side sorting. I am sure you will have a great knowledge on this topic after reading it.
by arash2009
In this article you will learn how to upload a JPG image and save it on SQL Server or servers hard Drive.To get started create a blank asp.net page, and add a File Upload Control from Standard tab of visual studio toolbar or add the following code to the section you have planned to add the...
by ContactAnkitJain
Upload an image on one server and save it on another.
by Member 13353000
How to upload images on MVC Web App razor pages using ASP.NET Core 2.2
by Veronica S. Zotali
The tip aims to demonstrate the usage of Ajax.BeginForm
by TheKarateKid
Shows how to use simple ASPX page to return JSON or XML response
by Sampath Lokuge
Here I explain about a nice and cool CheckBoxListFor Plugin
by Shridhar Gowda
This tip will give you a knowledge of how to implement form authentication in classic ASP.NET and ASP.NET MVC. I am sure you will have considerable knowledge after reading this tip.
by sharkdevZ
I'm going to show how to get, install and start using the free ASP .NET MVC helper.
by Atanas N Atanasov
This tip presents a simple example on how to use jQuery Grid Plugin in ASP.NET MVC with bootstrap.
by Sumit Tech Brain
This is the fundamental tip about what NuGet packages are, the benefit of NuGet, how to install, update and remove NuGet packages using GUI and Command line.
by Pavel Yermalovich
Quite simple, but first I didn't know how to use it :) ASP.NET controlsHTML controls In JavaScriptSetTextForLabelOne(prefix, '');AdminUI is my resources file (AdminUI.resx) and the first argument...
by Marcio_Coelho
How to configure your app to send messages to the event log.
by Bajrang Singh
How to validate a user control in ASPX page
by Muhammad Taqi Hassan Bukhari
Validate Fileupload using server side custom Validation
by Prakash Bhatt (PB)
Recaptcha V2 easy to use and easy to implement
by Pavel Yermalovich
HTTPS
by Bojjaiah
Single Stored Procedure for delete/retrieve all table of records
by Biswaranjan@mindfire
Write an Arabic text on a specific location of PDF file using iTextSharp library.
by Dinesh Kr. Choudhary
Some useful tricks in ASP.NET.
by StianSandberg
Or you could just loop all environment variables:Dim dictEntry As System.Collections.DictionaryEntryForEach dictEntry In Environment.GetEnvironmentVariables() Response.Write("Key: " & (dictEntry.Key.ToString()) & _ " Value: " & (dictEntry.Value.ToString()))Next
by Jassim Makki
An easy guide on how to implement ICallbackEventHandler
by DrABELL
HTML5/CSS3 advanced formatting of web Tables and ASP.NET GridView
by Member 3531622
A HtmlEditor written in Blazor based on AngleSharp
by M I developer
Http 500 Error resolution
by Member 13040242
This article explains the Session creation during HTTP Module pipeline
by Dushmantha Baranige
HTTP respond data content length compression in MVC web application by an ActionFilter attribute to improve performance in web requests.
by Praveen Kumar Chauhan (PRK)
Create any size image at runtime.
by DrABELL
3 different techniques of adding hyperlinked image to ASP.NET GridView in data-centric RIA
by William Emmanual
Planning the Master Page in ASP.NET
by Arno1973
A fix for ImageButtons problem in IE10 when project is not 4.5
by Ed Nutting
IIS_ASPNet_URLRewriting
by Martin Jarvis
Whilst uploading a large (70MB) file to an IIS 7 website I got a 404 error….which was odd, uploading a file in a postback shouldn’t give me that. I know that file exists!On further investigation it turns out it was actually a 404.13 error from the Request Filtering feature of the Integrated...
by @donis2014
How to configure IIS Express "applicationhost.config" for handler mappings
by Sudhir Dutt Rawat
This tip is about configuration of IIS for performance optimization of websites
by Rajesh Buddaraju
A simplified example is used to describe the state pattern
by harleydk
Image Orientation of Images Uploaded via ASP.NET fileupload Control
by syam.in
Find Images from Sub Directories and Show in List View Control
by Bhargava K Pandey
Create an infinite list with “Load More” button appearing at the bottom of the lists that can be used to load data on demand, using AJAX
by Ahmed Alaa El-Din
Useful and simple tutorial to add Amazon SES service inside your ASP.NET web application in order to send bulk-emails better and faster.
by Jnana
Output caching does not work for ASP.NET Web API. This tip is a solution to implement caching in web API.
by jayeshkumar.rathod
Implementing impersonation in ASP.NET.
by arash2009
Most of website have a "Remember Me" checkbox on their website login page and you do not have to login every time you visit that website. Bellow is a simple implementation for this task: First of all you should know that this is a Cookie based solution and its not safe to store important...
by TheCardProject.co.uk
Quickly set up the ability to serve up several pages and record which was served in SQL Server
by Antariksh Verma
This tip helps you to implement a dialog box using jQuery.
by Mathew Soji
This article guides through implementing a basic REST based Web API service with multiple GET methods and its consumption using AngularJS client.
by Mathew Soji
This tip guides through implementing a basic REST based Web API service with multiple GET methods and its consumption using JQuery client
by Azim Zahir
This tip explains implementing AJAX in ASP.NET MVC.
by Muni Kumar G
Implementing Combination of Forms and Windows user identity authentication with Tracing in MVC5
by demouser743
How we can implement CRUD operations using a MySQL database.
by Mathew Soji
A walkthrough on installing Redis server and implementing a custom ASP.NET State Management using Redis and ASP.NET MVC5.
by Hamid Mosalla
In the next two posts, I’m going to show you how to build a load more button for your page using ASP.NET MVC, you can use it for any various kind of things, but in the case of this tutorial, I’ll use it for my fictitious product list.
by Debabrata_Das
In this tip, we are going to create a project to see how many-to-many relationship can be implemented in ASP.NET.
by Sachin Dev Tripathi
Validating MVC fields at by ajax call on controller without posting form data.
by mohamedkamaleed
Steps for implementing user groups using Claims
by Yogesh Kumar Tyagi
This tip introduces how to Import data From Excel file to Data Table in ASP.NET MVC4
by Suraj S Koneri
When the user uploads the Excel file to the server its data must dumped to the SQL server database
by Tushar Parmar
Here is an example of how to import full excel file into a DataTable and bind it with a data grid. also the solution for error "The ‘Microsoft.ACE.OLEDB.12.0′ provider is not registered on the local machine" is included.
by Steve Wellens
Scott Gu in his latest post, announces a very serious security threat-vulnerability regarding ASP.Net sites.
by keyur soni
Tips on how to improve ASP.NET web application performance
by Tripathi Swati
ToolkitScriptManager
by Arvind Gehlot
Use of HTTP Compression on ASP.NET / MVC pages using IIS or Server side code
by Krishna P Seetharaman
Faced slow performance in certain stored procedure, which caused timeout error. This was improved using WITH clause and JOINs
by OmarIsaid
Solution for passing data from View to controller, contains useful concepts for beginner developers
by Wladis
Calling Commands and Queries from Razor Views using IML instead of Controller
by Ahsan Murshed
This article gives ideas to developers to increase development time productivity using the free Visual Studio 2010 extensions.
by dsuryd
Application of "MVVM over SignalR" library described in a previous CodeProject tip, combined with Dynamic LINQ library to do incremental web search by typing the query
by Neh.C
GridViewRow row = (GridViewRow)(((ImageButton)e.CommandSource).NamingContainer);int selIndex = row.RowIndex;
by Alexandr Mihalciuc
This tip shows how to inject WCF proxies into controllers using Castle Windsor Interceptors.
by code.manoz
Inline grid CRUD in ASP.NET MVC
by Ankit Sarkar
Input masking in model using data annotation
by Roy Calvo
How to add textbox input mask using jquery.maskedinput in ASP.NET MVC4
by mimtiyaz
Insert and bind records from a dropdownlist using AJAX UpdatePanel
by dpalash
A simple way to import data from csv file to database
by Debopam Pal
Export Advanced Excel 2007 Report
by Ravindra T C
How to insert data to multiple tables using the Code First approach.
by ShaikAnwar
This article helps to track your web pages and internal links with the help of Google Analytics.
by sriman@knowhowitsdone
Step by step solution to integrate Ccavenue payment gateway in ASP.NET MVC
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 Kshitij_S
Helps to integrate Glimpse into ASP.NET vNext based application
by Adi_Mag
Integrate Serilog with ASP.NET Core application
by Dhruti90
MVC functionalities with web service with simple integration
by Dhruti90
MVC functionalities with Web Service with simple integration
by Vadym Poberezhny
Concept of interactive menu based on user activity.
by Anil Sharma1983
Internet Explorer 8/9 jsonresult method treats response as downloadable json result
by sankarsan parida
This topic for clear description about all types of TextMode behaviour of textbox properties.
by Roger C Moore
Introduction to using SignalR with ASP.NET
by Neelesh Vishwakarma
In this tip, we will go step by step on understanding of Signal-R.
by Mohammad A Rahman
How to execute ASP.NET method from control's event handler of a web user control.
by Jani Giannoudis
A simple ASP.NET control to invoke JavaScript code dynamic from the server side.
by Hitesh Trivedi
IP Calculator And Subnet
by Karthik Chintala
The tip just gives a brief on what iterators are in C#
by S V Saichandra
ASP.NET comes with built-in validations controls to perform validations. Now by using the client-side API, we can validate the controls without postback.
by joetavMB
A method to call a function in JavaScript after each response.
by Abhishek Sur
Sometimes we have requirement to disable Right Click context menu and Text selection of a web page from the user, so that the user cannot use the right click default context menu and also to disable text selection so that sensitive data could not be copied from the website. To Disable Context Menudo
by AntounPG
Javascript Operators === & !==
by egozi13
The actual difference between Javascript's == and === operators is that the == operator is less strict when comparing the operands. For example, 1=="1" evaluates to true while 1==="1" evaluates to false.Full description can be found on ECMAScript standard, at...
by Øyvind Sean Kinsey
The algorithm behind the EqualityExpression (==,===, !=, !==) is a bit more complex than what is portrayed in some of the other alternates and comments, and a correct understanding of this actually quite important in order to avoid unforeseen errors in javascript programs.The short story is...
by Frank Kerrigan
Getting and Setting RadioButtonLists in JavaScript for ASP.NET
by Albin Abel
Just a simple note with sys.StringBuilder which is just beginner level
by gladtobegrey
Why not simply:markup = [];markup.push('');markup.push('');markup.push('');markup.push('');markup.push('Sample \'StringBuilder\' HTML');markup.push('');markup.push('');alert(markup.join('\n\r'));markup.toString() could...
by Silvercorer
JavaScript validation for textbox special character selection
by Vivek_Sharma
Provides a simple and easy way to use water mark in your application
by Keith Barrow
When running an ASP.NET application under 64-bit Win7/2008 you get jet 4.0 not registered error
by pfernandes
Microsoft.Jet....
by abdealinc
Download access driver from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c06b8369-60dd-4b64-a44b-84b371ede16d&displaylang=en.In the connection string, replace "Microsoft.Jet.OLEDB.4.0" with "Microsoft.ACE.OLEDB.12.0".
by HGR-HH
We had the same issue with a Windows application accessing xls files in code. We run it with Citrix on Windows 2008 64 bit and for us, the suggestion to compile at least the executeable project with the "Platform target" property set to "x86" instead of "Any CPU" was the solution (the only one...
by Rakesh Ku Nayak
A new plugin named jGrid to display grid with pagination and sorting functionality in an easy way
by Shah Ankita
How to join table and display data using WCF Service in MVC
by Seabata
JQuery + ASP.NET auto complete without web service
by Zafar A khan
After postback, the same tab will be active.
by SRS(The Coder)
This article tries to create a clear understanding on making synchronous and asynchronous Ajax calls through jQuery Ajax method. After going through it, you can have a clear idea on how and when to do asynchronous Ajax calls.
by Bangla Gopal Surya Prakash
by Zafar A khan
This article shows how to show a jQuery confirmation box in a GridView.
by Muhammad Hassan Tariq
Copy/Paste Numbers only Validator works on Chrome/Firefox/IE > 6.0
by Firnas
An easy way to implement jQuery Datatables server-side pagination in ASP.NET MVC with Entity Framework
by Sarvesh Kushwaha
How to access elements of a master page in jQuery.
by drewman5150
Simple jQuery ASP.NET Slideshow
by Zafar A khan
Using jQuery tabs is easy to use. But the problem with ASP.NET is that when the page gets post back the active tab is deactivated and by default the first one gets activated. This aricle is about to fix this problem, i.e., after postback the same tab will be active.
by Mishra Sourabh
This tip shows how to implement a jQuery tooltip in your ASP.NET application.
by Anup Das Gupta (asteranup)
jQuery tooltip with Ajax tooltip datasource with gridview
by Rupesh Kumar Tiwari
I have below suggestions:1) Why are you making call to webmethod are you fetching data from server and showing it in tool tip ? But in your example it seems that you are just returning the same data that you get from UI. If you are making some DB call and returning data to UI then its ok to...
by Akshay Meghraj
Validate ASP.NET Fileupload control file type and size by using jQuery validation
by vinodkumarnie
Simple JQuery validation for Registration form containing name, email, mobile number, password
by Dinand.dotnet
How to easily run a function in C# from the view using ajax/jquery
by Monjurul Habib
How to disable days in a week in the jQueryUI DatePicker.
by Antony Gino
Binding jQuery resizable with KnockoutJS
by S.Sathik Ali
This tip contains the basic introduction to the JSONP, Same-Origin and Cross-Origin Resource Sharing concepts and quick get started with JSONP in ASP.NET Web API.
by Santiago Santos Cortizo
jTable adaptation to be used either with jQuery UI and Bootstrap dialogs
by Dinesh K.S. Kushwaha
Simple Paged Grid by using knockout js
by Antony Gino
Enable Disable binding in a Grid Using KnockoutJS
by thedavejay
What makes MVC great is the way it enforces code separation between the different layers of abstraction.
by SupperSlonic
Easily create vertical tabs on a web page with no JavaScript and minimum CSS.
by dgDavidGreene
Helper utility replaces magic string property names.
by Ravi LVS
If you want to keep a downloadable file private to end users / customers with their username and password, everyone suggests not to put the file in the web root directory, and gives you a suggestion to change IIS settings and use Response.TransmitFile. When you are not having access to the...
by Code Help 2014
This article explains how you can set a maximum limit of CPU usage for your website.
by Vincenzo Malvone
API Linkedin for Contacts retrive
by TalentTuner
In this article, We will perform basic linq operations using LINQ To Objects and LINQ To Entity
by santosh poojari
This is most general collection operation that we come across daily. Its set based operation using LINQ Except Operator.
by Super Lloyd
Some ideas to bring LINQ goodness to JavaScript array
by Marthayaputra
ASP.NET MVC List Model binding
by Saswat Mohanty
Model and list object post to controller in ASP.NET MVC
by Harold Trujillo Cordova
This example shows how you can get a set of images Thumb together into one and display them using CSS sprites technique.
by Sunasara Imdadhusen
Load all the Country Names of the World in DropDown
by Anshul R
Use a web service?http://www.webservicex.net/country.asmx[^]http://www.siliconllama.com/services/wsdl/ISOcodesService.wsdl[^]
by yehia2amer
This method will use jQuery Ajax to POST and GET Handsontable JSON data from/to Controller in ASP.NET MVC.
by vivek poomala
Load data dynamically on page scroll.
by Manikandan Sekar
Loading Data from Excel
by Sunasara Imdadhusen
Load page in IFRAME based on TreeView node selection without postback.
by Aman Bhullar
Here I am posting code, which will read through a Excel Document. This code will traverse through all sheets of Excel spread sheet, No matter what name they will have.This uses OLEDB connection to read through excel sheets.using System.Data.OleDb;protected void Page_Load(object...
by genious Developer
FileStream stream = File.Open(filePath, FileMode.Open, FileAccess.Read);//1. Reading from a binary Excel file ('97-2003 format; *.xls)IExcelDataReader excelReader = ExcelReaderFactory.CreateBinaryReader(stream);//...//2. Reading from a OpenXml Excel file (2007 format;...
by Member 8607591
Internet Explorer cannot display WebPage
by Abhishek Kumar Goswami
Here you will learn about localDB.js library which maps the structure of databases in objects using localStorage API provided by HTML5.
by Adel Refaat
Localization support in DotNetNuke
by Manjunath Shrikantiah
Localizing JQuery Dialog Button
by adriancs
Easily get Country, Region and Citry of web visitors from their IP address.
by Kanivalan Raju
Capturing JavaScript errors occured in user's browser at Server side
by JoaoSousa23
Logging with ApplicationInsights
by Bahram Ettehadieh
Maintain Query String after forms authentication cookie expires and the user is redirected to the login page.
by #realJSOP
I do it this way:0) Create a base page class, and store the current page's url (you can do this any number of ways, so I'll leave it to your imagination):public class MyBasepage : System.Web.UI.Page{ public string CurrentUrl { get; set; } }1) Store the page's Url to a...
by PSK_
How to maintain scroll position of a long page with vertical scrollbar in browser other than IE.
by Wonde Tadesse
The other option will be to use Update Panel ASP.NET control as much as possible. It helps to retain the current position on the page whenever a postback happens to the page.
by gilvani
This code generates an image for captcha validation
by Edson_Ferreira
This tip will demonstrate how to create a SPA using an MVC Application, AJAX and History.js
by Tarun Dudhatra
Make page transition/navigation smoother
by MarcusCole6833
A basic way to make a grid of Pictures
by Brady Kelly
How to add a "Show Password" checkbox to ASP.NET MVC projects.
by senthill
Manage Data Source Screen Is Not Working for SSRS Report in SharePoint 2013 - Chrome Browser
by Rajita R
If (you know the basics) { things are not scary }
by bitzblitz
A way to manage Website settings in a web farm environment
by SummiG
Basic skills summary of manipulating excel with ASP.NET
by DiponRoy
Conversion of complex object to a list of objects
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 santosh poojari
We can now set the URL querystring length in asp.net
by Rafael Leal da Silva
Hello friends.This is my first post on CodeProject.Today, I will write about MD5 in ASP.NET.You create a new web site, using Visual Studio 2008, and at default.aspx, drag two controls, first Label and second TextBox.In the first control(Label), change your property ID to...
by Michał Maniewski
RAD sample of MDI style web app using VisualJS.NET with Google Maps.