Quantcast
Channel: ASPSnippets RSS Feed
Viewing all 4777 articles
Browse latest View live

Bind (Populate) ASP.Net DropDownList using DataReader in C# and VB.Net

$
0
0
Here Mudassar Ahmed Khan has explained how to populate ASP.Net DropDownList control using SqlDataReader (DataReader) in C# and VB.Net.

Get selected Text and Value of DropDownList in OnChange event using JavaScript and jQuery

$
0
0
Here Mudassar Ahmed Khan has explained how to get selected Text and Value of HTML Select DropDownList in OnChange event using JavaScript and jQuery.

Get selected Text and Value of DropDownList using JavaScript and jQuery

$
0
0
Here Mudassar Ahmed Khan has explained how to get selected Text and Value of HTML Select DropDownList on Button click using JavaScript and jQuery.

Validate (Check) HTML Select DropDownList using JavaScript and jQuery

$
0
0
Here Mudassar Ahmed Khan has explained how to validate (check) HTML Select DropDownList using JavaScript and jQuery.

Get selected Text and Value of ASP.Net DropDownList using JavaScript and jQuery

$
0
0
Here Mudassar Ahmed Khan has explained how to get Text and Value of selected Item (Option) of ASP.Net DropDownList on Button click using JavaScript and jQuery.

Validate (Check) ASP.Net DropDownList using JavaScript and jQuery

$
0
0
Here Mudassar Ahmed Khan has explained how to validate (check) ASP.Net DropDownList using JavaScript and jQuery.

Google Maps API V3: Populate Google Maps from array of Markers

$
0
0
Here Mudassar Ahmed Khan has explained how to populate Google Maps from an array of markers of different geographic address locations in JavaScript using Google Maps API V3. Each marker in the array of marker contains the Latitude and Longitude information which will be used to add the marker to the Google Map.

Google Maps API V3: Center and Zoom to fit all markers on Google Maps

$
0
0
Here Mudassar Ahmed Khan has explained how to center and zoom Google Map on markers in such a way that all markers can be fitted using Google Maps API V3. The map is centered and the zoom is adjusted based on the markers and their positions and the best possible view of Google Map is shown to the user.

Google Maps API V3: Add click event listener to Google Maps marker example

$
0
0
Here Mudassar Ahmed Khan has explained with example, how to add (attach) click event listener to Google Map markers using Google Maps API V3. The click event listener will be added (attached) to Google Maps using JavaScript.

Google Maps API V3: Add multiple markers with InfoWindow to Google Map

$
0
0
Here Mudassar Ahmed Khan has explained with example, how to add multiple markers with InfoWindow to Google Map.

Google Maps API V3: Open (Show) only one InfoWindow at a time and close other InfoWindow

$
0
0
Here Mudassar Ahmed Khan has explained with example, how to open (show) only one InfoWindow at a time i.e. When one InfoWindow is opened then automatically close the other opened InfoWindows on the Google Map.

Google Maps API V3: Open (Show) InfoWindow without using Markers on Google Map

$
0
0
Here Mudassar Ahmed Khan has explained how to open (show) InfoWindow without using Markers on Google Map in Google Maps API V3 and JavaScript.

Validate (Check) dimensions (Height and Width) of Image before Upload using HTML5, JavaScript and jQuery

$
0
0
Here Mudassar Ahmed Khan has explained how to get and then validate (check) dimensions (Height and Width) of Image file before upload using HTML5, JavaScript and jQuery. HTML5 allows developers to access the file details such as Height and Width using JavaScript and jQuery.

Character Count and Character Limit validation for TinyMCE editor using JavaScript

$
0
0
Here Mudassar Ahmed Khan has explained how to count the characters of TinyMCE Rich Text Editor and also implement Character Limit validation i.e. limit the number of allowed characters for TinyMCE editor using JavaScript.

Google Maps API V3: Load (Add) markers to Google Map using JSON and JavaScript

$
0
0
Here Mudassar Ahmed Khan has explained how to load (add) markers to Google Maps from JSON data i.e. an array of JSON objects containing different geographic address locations in JavaScript using Google Maps API V3. Each JSON object in the JSON array contains the Latitude and Longitude information which will be used to add the marker to the Google Map.

Unable to cast object of type 'iTextSharp.text.html.simpleparser.CellWrapper' to type 'iTextSharp.text.Paragraph'

$
0
0
Here Mudassar Ahmed Khan has explained solution to the following error (exception) when we use HtmlWorker to convert HTML string to PDF using iTextSharp PDF conversion library. Unable to cast object of type 'iTextSharp.text.html.simpleparser.CellWrapper' to type 'iTextSharp.text.Paragraph'. One of my readers reported me the above error when exporting ASP.Net GridView to PDF when he used the latest version of iTextSharp DLL instead of the one provided in the article sample.

Calculate Sum (Total) of DataTable Columns using C# and VB.Net

$
0
0
Here Mudassar Ahmed Khan has explained with examples, how to calculate Sum (Total) of DataTable Columns using C# and VB.Net. This article explains how to calculate Sum (Total) of DataTable Columns using the following two methods. 1. DataTable Compute function. 2. Using LINQ.

Return multiple values from Stored Procedure in SQL Server example

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to return multiple values from a Stored Procedure in SQL Server. Multiple values will be returned from Stored Procedure by returning comma separated (delimited) values using Output Parameter. Output Parameter is supported in Stored Procedures of all SQL Server versions i.e. 2000, 2005, 2008, 2008R2, 2012 and 2014.

COALESCE Example: Get comma (delimited) separated values from Table in SQL Server

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to use the SQL Server COALESCE function to get comma separated (delimited) values from Table in SQL Server. COALESCE function can be used to get comma separated (delimited) values from Table in the following SQL Server versions i.e. 2005, 2008, 2008R2, 2012 and 2014.

Filter GridView using CheckBoxList (CheckBoxes) in ASP.Net

$
0
0
Here Mudassar Ahmed Khan has explained how to filter GridView rows using CheckBoxList’s CheckBoxes in ASP.Net with C# and VB.Net. The GridView rows will be filtered on CheckBoxList SelectedIndexChanged event.
Viewing all 4777 articles
Browse latest View live