21 Sep 2018 21 Sep 2018 0 Comments  36 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate TreeView from Database in Windows Forms (WinForms) Application using C# and VB.Net.

This article will illustrate how to use Recursion i.e. recursively call the same function to add Parent and Child Nodes to the TreeView control.
21 Sep 2018 21 Sep 2018 0 Comments  37 Views
Here Mudassar Ahmed Khan has explained with an example, how to make TreeView Node not Clickable in ASP.Net with C# and VB.Net.

This article will illustrate how to make TreeView Node not Clickable in ASPX page as well as from Code-Behind in ASP.Net.
21 Sep 2018 21 Sep 2018 0 Comments  32 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate TreeView from Database using Recursion in ASP.Net with C# and VB.Net.

First the data from database will be fetched into a DataTable and the Nodes will be added to the TreeView and if the Node has children then the child Nodes will be added through Recursion i.e. by recursively calling the same function.
21 Sep 2018 21 Sep 2018 0 Comments  31 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add Nodes to TreeView in ASP.Net using C# and VB.Net.

First the data from database will be fetched into a DataTable and then using one by one Nodes will be dynamically added to the ASP.Net TreeView control.
21 Sep 2018 21 Sep 2018 0 Comments  40 Views
Here Mudassar Ahmed Khan has explained with an example, how to create dynamic TreeView from database in ASP.Net MVC Razor.

The dynamic TreeView will be created using the jQuery jsTree plugin and the data for the TreeView will be fetched from database using Entity Framework in ASP.Net MVC Razor.
21 Sep 2018 21 Sep 2018 0 Comments  33 Views
Here Mudassar Ahmed Khan has explained with an example, how to remove HyperLink (LinkButton) from TreeView Node in ASP.Net using C# and VB.Net.

This article will illustrate how to remove HyperLink (LinkButton) from TreeView Node in ASPX page as well as from Code-Behind in ASP.Net.
21 Sep 2018 21 Sep 2018 0 Comments  30 Views
Here Mudassar Ahmed Khan has explained with an example, how to get the checked Nodes of ASP.Net TreeView with Text and Value using JavaScript.

When the Button is clicked, all the CheckBoxes of the ASP.Net TreeView control are referenced using JavaScript and the Text and Value parts of the checked Nodes are displayed using JavaScript Alert Message Box.
19 Sep 2018 19 Sep 2018 0 Comments  258 Views
ASP.Net  HTML  PDF
Here Mudassar Ahmed Khan has explained with an example, how to implement PDF Viewer in ASP.Net by embedding PDF file on Web Page using C# and VB.Net.

The PDF file will be embedded on Web Page using HTML OBJECT Tag in ASP.Net.
19 Sep 2018 19 Sep 2018 0 Comments  217 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement inline editing in GridView in ASP.Net MVC Razor.

Since MVC does not have a GridView control, this article explains how to perform inline Row Edit operations i.e. Edit, Update and Cancel operations for a particular Row in WebGrid using Buttons in ASP.Net MVC Razor.

This article will illustrate how to build an Editable WebGrid using jQuery AJAX and Entity Framework in ASP.Net MVC Razor.
19 Sep 2018 19 Sep 2018 0 Comments  230 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Excel file in Web Page in ASP.Net using C# and VB.Net.

The Excel File will be read into a DataTable using OLEDB and ADO.Net and the DataTable will be used to display the Excel File in ASP.Net GridView.
19 Sep 2018 19 Sep 2018 0 Comments  162 Views
Here Mudassar Ahmed Khan has explained with an example, how to add (insert) Please Select Option (Item) in ComboBox (DropDownList) in Windows Forms Application using C# and VB.Net.

First a DataTable will be populated from database and then the Please Select Option (Item) will be added to it, finally the ComboBox will be populated from DataTable in Windows Forms Application using C# and VB.Net.
18 Sep 2018 18 Sep 2018 0 Comments  227 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Grouped DropDownList using HTML OptGroup element in ASP.Net MVC Razor.

The Grouped DropDownList will be populated from database using Entity Framework in ASP.Net MVC Razor.

In HTML DropDownList OptGroup element, which is used to Group items (options) of a DropDownList while in MVC, the Grouping of DropDownList items (options) is done using SelectListItem class and SelectListGroup class.
18 Sep 2018 18 Sep 2018 0 Comments  190 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement RadioButton Group using Html.RadioButton Helper method in ASP.Net MVC Razor.

The RadioButtons will be populated from Database by looping through the Model.

The RadioButtons are grouped by specifying common name for all RadioButtons in ASP.Net MVC Razor.
18 Sep 2018 18 Sep 2018 0 Comments  170 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the problem of jQuery Live Click not working and giving error Live is not a function.

jQuery Live function has been depreciated i.e. removed from jQuery version 1.9 onwards and hence when you are using any newer jQuery version i.e. version 1.9 or above you will get error that Live is not a function.
14 Sep 2018 14 Sep 2018 0 Comments  347 Views
Here Mudassar Ahmed Khan has explained with an example, how to move selected Items to Top of ListBox using jQuery.

When an Item (Option) is selected in the ListBox, it will be removed from the List and again added to the ListBox at 0th Index (First Position) using jQuery.
14 Sep 2018 14 Sep 2018 0 Comments  287 Views
Here Mudassar Ahmed Khan has explained with an example, how to move selected Items to Top of ListBox using JavaScript.

When an Item (Option) is selected in the ListBox, it will be removed from the List and again added to the ListBox at 0th Index (First Position) using JavaScript.
14 Sep 2018 14 Sep 2018 0 Comments  304 Views
Here Mudassar Ahmed Khan has explained with an example, how to download Excel file (XLS and XLSX) using jQuery.

The HTML Table data will be converted and downloaded to Excel file with the help of the jQuery table2excel plugin.
14 Sep 2018 14 Sep 2018 0 Comments  254 Views
Here Mudassar Ahmed Khan has explained with an example, how to download Excel file (XLS and XLSX) using JavaScript.

The HTML Table data will be converted and downloaded to Excel file with the help of the jQuery table2excel plugin.
14 Sep 2018 14 Sep 2018 0 Comments  252 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert Excel (XLS and XLSX) file data to JSON using jQuery.

Once File is selected in FileUpload control, it is read as Binary data and then the Binary data is read using the xlsx Excel plugin which returns the Excel file data in JSON array format.

Finally, JSON array is displayed as HTML Table using jQuery.
14 Sep 2018 14 Sep 2018 0 Comments  270 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert Excel (XLS and XLSX) file data to JSON using JavaScript.

Once File is selected in FileUpload control, it is read as Binary data and then the Binary data is read using the xlsx Excel plugin which returns the Excel file data in JSON array format.

Finally, JSON array is displayed as HTML Table using JavaScript.
14 Sep 2018 14 Sep 2018 0 Comments  275 Views
Here Mudassar Ahmed Khan has explained with an example, how to dismiss (close) Bootstrap Modal Popup programmatically.

Bootstrap has provided a function named modal to which when called with the parameter value hide, dismisses (closes) the Modal Popup.
14 Sep 2018 14 Sep 2018 0 Comments  287 Views
Here Mudassar Ahmed Khan has explained with an example, how to read Excel File (XLS and XLSX) using AngularJS and HTML5 File API.

The Excel file (XLS and XLSX) will be selected in HTML FileUpload element and will be read using HTML5 FileReader API.

The read data will be parsed into a JSON Array using the xlsx Excel plugin and later the JSON Array will be used to populate a HTML Table using ng-repeat directive in AngularJS.
12 Sep 2018 14 Sep 2018 0 Comments  319 Views
Here Mudassar Ahmed Khan has explained with an example, how to read CSV File using AngularJS and HTML5 File API.

The CSV file (Comma separated Text file) will be selected in HTML FileUpload element and will be read using HTML5 FileReader API.

The read data will be parsed into a JSON Array which will be later used to populate a HTML Table using ng-repeat directive in AngularJS.
12 Sep 2018 12 Sep 2018 0 Comments  271 Views
Here Mudassar Ahmed Khan has explained with an example, how to close (hide) Bootstrap Modal Popup Window using jQuery.

The Close Button is assigned a jQuery Click event handler and when the Close Button is clicked, the Bootstrap Modal Popup Window will be hidden (closed) using modal function and passing the parameter value hide.
11 Sep 2018 11 Sep 2018 0 Comments  309 Views
Here Mudassar Ahmed Khan has explained with an example, how to close (hide) Bootstrap Modal Popup Window from Server Side (Code Behind) in ASP.Net using C# and VB.Net.

The Bootstrap Modal Popup is closed (hidden) by calling the modal function with parameter value hide using RegisterStartupScript method of ClientScript class on Sever Side (Code Behind) in ASP.Net.