30 Mar 2015
0 Comments   166 Views
Here Mudassar Ahmed Khan has explained how to display Current Time in 12 hour format (AM / PM) and 24 hour format with Hours Minutes, Seconds (hh:mm:ss) using JavaScript.
The 12 hour time will be displayed in hh:mm:ss tt format with AM / PM and the 24 hour time will be displayed in hh:mm:ss format using JavaScript.
30 Mar 2015
0 Comments   179 Views
Here Mudassar Ahmed Khan has explained how to find, access, get value and validate TextBox and DropDownList controls in GridView row using jQuery in ASP.Net.
This article will explain how to find and validate TextBox and DropDownList controls inside the ASP.Net GridView row using jQuery when it is being edited.
30 Mar 2015
0 Comments   260 Views
Here Mudassar Ahmed Khan has explained how to calculate distance between two address / points / locations based on the coordinates i.e. Latitude and Longitude using Google Maps V3 API.
29 Mar 2015
0 Comments   368 Views
Here Mudassar Ahmed Khan has explained how to find, access, get value and validate TextBox and DropDownList controls in GridView row using JavaScript in ASP.Net.
This article will explain how to find and validate TextBox and DropDownList controls inside the ASP.Net GridView row using JavaScript when it is being edited.
28 Mar 2015
0 Comments   352 Views
Here Mudassar Ahmed Khan has explained how to dynamically change (modify) GridView Cell value using RowDataBound event in ASP.Net using C# and VB.Net.
28 Mar 2015
0 Comments   322 Views
Here Mudassar Ahmed Khan has explained how to dynamically change background color of GridView Row using RowDataBound event in ASP.Net using C# and VB.Net.
28 Mar 2015
0 Comments   295 Views
Here Mudassar Ahmed Khan has explained how to dynamically change GridView Cell Background Color based on condition in ASP.Net using C# and VB.Net.
The GridView Cell’s background color will be dynamically changed based on its value in the RowDataBound event of GridView.
27 Mar 2015
0 Comments   291 Views
Here Mudassar Ahmed Khan has explained how to print DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
27 Mar 2015
0 Comments   440 Views
Here Mudassar Ahmed Khan has explained how to debug JavaScript in Visual Studio 2010, 2012 and 2013 using Internet Explorer browser.
In ASP.Net projects, we can easily debug JavaScript by running the website in Debug mode in Internet Explorer using Visual Studio.
27 Mar 2015
0 Comments   393 Views
Here Mudassar Ahmed Khan has explained how to find (access) control in GridView in RowDataBound and RowCommand events of ASP.Net GridView using C# and VB.Net.

This article will explain how to find controls like TextBox, DropDownList, CheckBox, RadioButton, ListBox, Label, RadioButtonList, CheckBoxList, etc. and also get and set values of controls inside RowDataBound and RowCommand events of ASP.Net GridView.
26 Mar 2015
0 Comments   432 Views
Here Mudassar Ahmed Khan has explained how to get the Text and Value of multiple selected items of ASP.Net ListBox using JavaScript and jQuery.
25 Mar 2015
0 Comments   546 Views
Here Mudassar Ahmed Khan has explained how to return all records when Parameter used to filter the results in a SQL Query is blank (empty) or Null in SQL Server.
25 Mar 2015
0 Comments   546 Views
Here Mudassar Ahmed Khan has explained how to dynamically add rows to GridView on client side using jQuery on Button click in ASP.Net.
The GridView Rows added using jQuery on client side will be fetched on server side and inserted into the database.
24 Mar 2015
0 Comments   611 Views
Here Mudassar Ahmed Khan has explained a tutorial with example on how to use the JavaScript XmlHttpRequest to make Asynchronous calls to the server and fetch data.
24 Mar 2015
0 Comments   479 Views
Here Mudassar Ahmed Khan has explained, how to perform Numeric (number) validation using TextBox OnKeyPress event in JavaScript.
24 Mar 2015
0 Comments   379 Views
Here Mudassar Ahmed Khan has explained how to use EmptyDataTemplate in ASP.Net Repeater i.e. Show (display) empty data message when no records are present in the ASP.Net Repeater control using C# and VB.Net.

Like GridView, Repeater control does not have any EmptyDataTemplate and hence we need to make use of FooterTemplate and programmatically show (display) empty data message from code behind when no records are present.
23 Mar 2015
0 Comments   661 Views
Here Mudassar Ahmed Khan has explained how to dynamically add rows to GridView on client side using JavaScript on Button click in ASP.Net.
The GridView Rows added using JavaScript on client side will be fetched on server side and inserted into the database.
22 Mar 2015
0 Comments   647 Views
Here Mudassar Ahmed Khan has explained the process of GridView row reordering i.e. Drag and Drop ordering of GridView Rows using jQuery in ASP.Net.
The drag and drop ordering of GridView Rows will be performed using jQuery UI Sortable Plugin.
21 Mar 2015
0 Comments   614 Views
Here Mudassar Khan has explained how to change the order (position) of GridView rows in ASP.Net. The order (position) of GridView Rows will be changed using Buttons in ASP.Net.
21 Mar 2015
0 Comments   458 Views
Here Mudassar Ahmed Khan has explained JSONP request with Callback example using jQuery i.e. how to make a Cross Domain JSONP request with Callback using plain jQuery.
Callback means that it will call a function once the response is ready.
21 Mar 2015
0 Comments   662 Views
Here Mudassar Ahmed Khan has explained how to make the Headers fixed and Rows scrollable in ASP.Net Repeater control.
The Repeater’s header will be fixed and rows will be made scrollable using jQuery Scrollable Table plugin.
20 Mar 2015
0 Comments   349 Views
Here Mudassar Ahmed Khan has explained JSONP request with Callback example using JavaScript i.e. how to make a Cross Domain JSONP request with Callback using plain JavaScript without using jQuery.
Callback means that it will call the JavaScript function whose name is specified in the Callback parameter once the response is ready.
20 Mar 2015
0 Comments   628 Views
Here Mudassar Ahmed Khan has explained how to create a dynamic Table in HTML at runtime using jQuery. The columns, rows and cells will be dynamically created in the Table using jQuery.
20 Mar 2015
0 Comments   357 Views
Here Mudassar Ahmed Khan has explained how dynamically add Rows and Cells in an HTML Table using JavaScript.
20 Mar 2015
0 Comments   575 Views
Here Mudassar Ahmed Khan has explained how to populate (display) JSON data in HTML Table using JavaScript.
The HTML Table will be dynamically created by looping through the JSON array elements on Button click.
19 Mar 2015
0 Comments   581 Views
Here Mudassar Ahmed Khan has explained how to render (display) Repeater control as HTML Table Layout in ASP.Net using C# and VB.Net.
The Repeater control will be populated from database and the data will be displayed as HTML table on the page.
18 Mar 2015
0 Comments   547 Views
Here Mudassar Ahmed Khan has explained how to add page numbers to existing PDF file using iTextSharp in C# and VB.Net.
The pages of the PDF file will be read and then using the PdfStamper class page numbers will be written to each page of the PDF document.
18 Mar 2015
0 Comments   778 Views
Here Mudassar Ahmed Khan has explained how to display Google Maps inside jQuery UI Dialog Modal Popup window.
17 Mar 2015
0 Comments   756 Views
Here Mudassar Ahmed Khan has explained how to dynamically load (populate) contents of jQuery UI Dialog Modal Popup using jQuery AJAX.
16 Mar 2015
0 Comments   759 Views
Here Mudassar Ahmed Khan has explained the easiest way to disable Submit button after click using JavaScript and jQuery.
The script needs to be placed on the web page and it will disable all submit buttons as soon as any submit button is clicked using JavaScript and jQuery.
16 Mar 2015
0 Comments   577 Views
Here Mudassar Ahmed Khan has explained how to disable mouse right click in web page using JavaScript and jQuery.

The script has to be copied in the head or body section of the web page and it will disable mouse right click using JavaScript and jQuery.
16 Mar 2015
0 Comments   786 Views
Here Mudassar Ahmed Khan has explained how to print DIV contents with CSS styles using JavaScript and jQuery without using any jQuery Print plugin.
When one tries to print a DIV with CSS styles applied from an external CSS file, the contents are printed without the CSS styles. Thus using the following trick one can print the DIV contents with the CSS styles.
15 Mar 2015
0 Comments   620 Views
Here Mudassar Ahmed Khan has explained how to use ReportViewer control in Windows Forms (WinForms) Application using C# and VB.Net.
15 Mar 2015
0 Comments   465 Views
Here Mudassar Ahmed Khan has explained how to make an ASP.Net ListBox empty by clearing (removing) all items of the ASP.Net ListBox using JavaScript and jQuery.
15 Mar 2015
1 Comments   841 Views
Here Mudassar Ahmed Khan has explained how to detect mobile phone browser (mobile device) in ASP.Net using C# and VB.Net.
With the help of Regular Expressions, one can easily detect and find whether the User is using a Desktop browser or mobile phone browser (mobile device) in ASP.Net.