26 Apr 2015
0 Comments   4 Views
Here Mudassar Ahmed Khan has explained with an example, how to fire click event for a Button using ng-click directive in AngularJS.
The AngularJS ng-click directive is used to assign click events to HTML elements like Button.
26 Apr 2015
0 Comments   111 Views
Here Mudassar Ahmed Khan has explained a simple AngularJS tutorial and also show you how to write your first Hello World AngularJS application example.
25 Apr 2015
0 Comments   252 Views
Here Mudassar Ahmed Khan has explained with example, how to use the AJAX Control Toolkit AjaxFileUpload control in ASP.Net using C# and VB.Net.
The ASP.Net AJAX Control Toolkit AjaxFileUpload control allows user to upload multiple file uploads with Drag and Drop and Progress bar functionality.

Drag and Drop functionality is supported only in browsers that allow upload of files using Drag and Drop.
25 Apr 2015
0 Comments   159 Views
C#.Net   VB.Net   XML
Here Mudassar Ahmed Khan has explained with examples, how to use XPath with XmlDocument and how to select XML nodes by Name and Attribute value using XPath expression in C# and VB.Net.
25 Apr 2015
0 Comments   203 Views
Here Mudassar Ahmed Khan has explained, how to read the XML nodes from an XML file and then bind it to GridView control in ASP.Net using C# and VB.Net.
24 Apr 2015
0 Comments   238 Views
Here Mudassar Ahmed Khan has explained how to add and display Serial Number (Row Number) column in RDLC Reports.
In RDLC Report an additional column is inserted and then using an Expression the Serial Number (Row Number) is generated and shown in the report.
23 Apr 2015
0 Comments   352 Views
Here Mudassar Ahmed Khan has explained how to create and drop (delete) SQL Server Table programmatically using ADO.Net, C# and VB.Net.

The Create and Drop script will be dynamically generated and the Table will be respectively created or deleted in SQL Server database.
23 Apr 2015
0 Comments   356 Views
Here Mudassar Ahmed Khan has explained why are the FileUpload control properties PostedFile is NULL and HasFile is false when FileUpload control is placed inside ASP.Net AJAX UpdatePanel.
This happens because FileUpload control does not work with partial PostBack which is done in UpdatePanel. FileUpload control requires a full PostBack.

Hence when you place FileUpload control in AJAX UpdatePanel and try to upload the file asynchronously using the PostedFile property is always NULL and the HasFile property is always false.
23 Apr 2015
0 Comments   378 Views
Here Mudassar Ahmed Khan has explained how to use ASP.Net AJAX UpdateProgress to lock (disable) controls with Modal Background during UpdatePanel Partial PostBack in ASP.Net.
22 Apr 2015
0 Comments   377 Views
Here Mudassar Ahmed Khan has explained with an example, what is Stored Procedure in SQL Server, how to create (write) and use a Stored Procedure and finally the advantages of using Stored Procedure in SQL Server.

Stored Procedures are compatible in all SQL Server versions namely 2000, 2005, 2008, 2008R2, 2012 and 2014.
22 Apr 2015
0 Comments   471 Views
Here Mudassar Ahmed Khan has explained how to get Country Name from IP Address in ASP.Net using C# and VB.Net.

The country name will be determined from IP Address using a Web Service.
22 Apr 2015
0 Comments   516 Views
Here Mudassar Ahmed Khan has explained how to stop ASP.Net AJAX Control Toolkit Modal Popup Flickering i.e. ASP.Net AJAX Modal Popup shows for some seconds and then disappears on PostBack.
21 Apr 2015
0 Comments   466 Views
Here Mudassar Ahmed Khan has explained how to filter GridView rows based on ListBox’s multiple selections in ASP.Net with C# and VB.Net.
The GridView rows will be filtered on ListBox SelectedIndexChanged event.
21 Apr 2015
0 Comments   461 Views
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.
21 Apr 2015
0 Comments   368 Views
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.
21 Apr 2015
0 Comments   425 Views
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.
21 Apr 2015
0 Comments   459 Views
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.
20 Apr 2015
0 Comments   272 Views
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.
20 Apr 2015
0 Comments   288 Views
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.
19 Apr 2015
0 Comments   403 Views
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.
18 Apr 2015
0 Comments   567 Views
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.
17 Apr 2015
0 Comments   327 Views
Here Mudassar Ahmed Khan has explained how to open (show) InfoWindow without using Markers on Google Map in Google Maps API V3 and JavaScript.
17 Apr 2015
0 Comments   290 Views
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.
17 Apr 2015
0 Comments   305 Views
Here Mudassar Ahmed Khan has explained with example, how to add multiple markers with InfoWindow to Google Map.
17 Apr 2015
0 Comments   252 Views
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.
16 Apr 2015
0 Comments   320 Views
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.
16 Apr 2015
0 Comments   350 Views
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.
15 Apr 2015
0 Comments   537 Views
Here Mudassar Ahmed Khan has explained how to validate (check) ASP.Net DropDownList using JavaScript and jQuery.
15 Apr 2015
0 Comments   532 Views
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.
13 Apr 2015
0 Comments   496 Views
Here Mudassar Ahmed Khan has explained how to validate (check) HTML Select DropDownList using JavaScript and jQuery.
13 Apr 2015
0 Comments   441 Views
Here Mudassar Ahmed Khan has explained how to get selected Text and Value of HTML Select DropDownList on Button click using JavaScript and jQuery.
12 Apr 2015
0 Comments   604 Views
Here Mudassar Ahmed Khan has explained how to get selected Text and Value of HTML Select DropDownList in OnChange event using JavaScript and jQuery.
11 Apr 2015
0 Comments   579 Views
Here Mudassar Ahmed Khan has explained how to populate ASP.Net DropDownList control using SqlDataReader (DataReader) in C# and VB.Net.
10 Apr 2015
0 Comments   597 Views
Here Mudassar Ahmed has explained how to get the selected Text of HTML Select DropDownList in ASP.Net Code Behind (Server Side) using C# and VB.Net.

There are two ways we can access the HTML Select DropDownList selected Text in ASP.Net Code Behind (Server Side)
1. Using Request Form collection and name property.
2. Using runat = “server” property.
10 Apr 2015
0 Comments   611 Views
Here Mudassar Ahmed Khan has explained how to call JavaScript Client Side function from Code Behind (Server Side) in ASP.Net using C# and VB.Net.
The JavaScript Client Side function will be called from Code Behind (Server Side) using ClientScript RegisterStartupScript method.