19 Aug 2019 20 Aug 2019 0 Comments  255 Views
Here Mudassar Ahmed Khan has explained with an example, how to access HTML Control values in Code Behind (Server Side) without runat server in ASP.Net using C# and VB.Net.

The values of all HTML INPUT controls are sent to Server Side on Form Submission (PostBack) and can be fetched using Request.Form collection in ASP.Net using C# and VB.Net.
20 Aug 2019 20 Aug 2019 0 Comments  140 Views
Here Mudassar Ahmed Khan has explained with an example, how to play (embed) YouTube videos in Windows Forms (WinForms) Application using C# and VB.Net.

The YouTube videos will be played in Windows Forms (WinForms) Application with the help of WebBrowser control and HTML IFRAME using C# and VB.Net.
02 Aug 2019 02 Aug 2019 0 Comments  1322 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) selected DataGridView Row from one Form to another in Windows Forms (WinForms) Application using C# and VB.Net.

When the DataGridView Row is clicked, the selected Row values of the DataGridView are passed (sent) to the other Form in Windows Forms (WinForms) Application using C# and VB.Net.
02 Aug 2019 02 Aug 2019 0 Comments  768 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) DataGridView values to another DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

When the Button is clicked, a loop will be executed over the rows of DataGridView and the checked (selected) rows will be passed (sent) to another DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
31 Jul 2019 31 Jul 2019 0 Comments  511 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) values from one Form to another in Windows Application (WinForms) using C# and VB.Net.

When the DataGridView Row is clicked, the Row Index of the selected DataGridView Row is determined and the values of the Cells are extracted and passed (sent) to the other Form in Windows Forms (WinForms) Application using C# and VB.Net.
30 Jul 2019 30 Jul 2019 0 Comments  1246 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) Image to PDF using iTextSharp in ASP.Net MVC Razor.

The Image will be uploaded using FileUpload element and inside the Controller, the Image will be read as Stream and will be added to iTextSharp PDF document and ultimately downloaded as PDF file in ASP.Net MVC Razor.
26 Jul 2019 26 Jul 2019 0 Comments  733 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide HTML DIV from Controller in AngularJS.

When the Button is clicked, a Boolean variable will be set inside the Controller and the HTML DIV will be shown using ng-show and ng-hide directives and when again the same Button is clicked, again the same Boolean variable will be set inside the Controller and the HTML DIV will be hidden using ng-show and ng-hide directives in AngularJS.
24 Jul 2019 24 Jul 2019 0 Comments  791 Views
Here Mudassar Ahmed Khan has explained with an example, how to Toggle i.e. show and hide HTML DIV on Button Click using JavaScript and jQuery.

When the Button is clicked, the HTML DIV will be shown and when again the same Button is clicked the HTML DIV will be hidden.
22 Jul 2019 22 Jul 2019 0 Comments  725 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide HTML DIV on Button Click using JavaScript and jQuery.

When the Yes Button is clicked, the HTML DIV will be shown and when the No Button is clicked the HTML DIV will be hidden.
22 Jul 2019 22 Jul 2019 0 Comments  754 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable and disable TextBox on Button Click using JavaScript and jQuery.

When the Yes Button is clicked, the TextBox will be enabled and when the No Button is clicked the TextBox will be disabled.
18 Jul 2019 18 Jul 2019 0 Comments  762 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide TextBox on Button Click using JavaScript and jQuery.

When the Yes Button is clicked, the TextBox will be shown and when the No Button is clicked the TextBox will be hidden.
17 Jul 2019 17 Jul 2019 0 Comments  925 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) ComboBox using Entity Framework in Windows Forms (WinForms) Application using C# and VB.Net.
16 Jul 2019 16 Jul 2019 0 Comments  998 Views
ASP.Net  JSON  MVC
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) JSON object values from Controller to View in ASP.Net MVC Razor.

In order to return JSON object values, the JsonResult return type is used for the Action method inside Controller in ASP.Net MVC Razor.
16 Jul 2019 16 Jul 2019 0 Comments  923 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Entity Framework Database First Approach in Windows Forms (WinForms) Application using C# and VB.Net.

This article will illustrate how to use Entity Framework Database First Approach to populate DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
15 Jul 2019 15 Jul 2019 0 Comments  3725 Views
Here Mudassar Ahmed Khan has explained with an example, how to export to CSV file in ASP.Net MVC Razor.

When the Export Button is clicked, the data from Database is fetched using Entity Framework and a Comma Separated (Delimited) string is generated which is exported and downloaded as CSV file in ASP.Net MVC Razor.
15 Jul 2019 15 Jul 2019 0 Comments  5041 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert List of Objects to CSV file using C# in ASP.Net MVC Razor.

When the Export Button is clicked, the data from Database is fetched using Entity Framework as List of Objects.

Then using a FOR Loop, the data is converted into a Comma Separated (Delimited) string which is later exported and downloaded as CSV file in ASP.Net MVC Razor.
15 Jul 2019 15 Jul 2019 0 Comments  489 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Entity Framework data to CSV file in ASP.Net MVC Razor.

When the Export Button is clicked, the data from Database is fetched using Entity Framework and a Comma Separated (Delimited) string is generated which is exported and downloaded as CSV file in ASP.Net MVC Razor.
12 Jul 2019 12 Jul 2019 0 Comments  528 Views
Here Mudassar Ahmed Khan has explained with an example, how to export WebGrid to CSV file with formatting in ASP.Net MVC Razor.

First the WebGrid will be populated from database using Entity Framework and when the Export Button is clicked, a Comma Separated (Delimited) string will be generated from WebGrid data and ultimately it will be exported to CSV file in ASP.Net MVC Razor.
11 Jul 2019 11 Jul 2019 0 Comments  1548 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide TextBox based on DropDownList selection in ASP.Net using C# and VB.Net.

When the YES item (option) is selected in the DropDownList, TextBox will be visible else the TextBox will be hidden in ASP.Net using C# and VB.Net.
11 Jul 2019 11 Jul 2019 0 Comments  941 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable (activate) a TextBox when Other option is selected in DropDownList (HTML SELECT) using JavaScript and jQuery.
10 Jul 2019 10 Jul 2019 0 Comments  591 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable and disable a TextBox when DropDownList (HTML SELECT) is changed i.e. when an item (option) is selected using JavaScript and jQuery.

When the Other (option) in DropDownList is selected, the TextBox will be enabled else disabled.
09 Jul 2019 10 Jul 2019 0 Comments  826 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable and disable a TextBox when RadioButton is clicked i.e. checked (selected) and unchecked (deselected) using JavaScript and jQuery.

When the RadioButton is clicked based on whether the YES RadioButton is checked (selected) or unchecked (deselected), the TextBox will be enabled or disabled.
08 Jul 2019 08 Jul 2019 0 Comments  773 Views
Here Mudassar Ahmed Khan has explained with an example, how to disable Submit Button when INPUT Text Field (TextBox) is empty in AngularJS.

When using AngularJS Form validation, the $invalid property can be used to disable the Submit Button when Form is not filled (empty) i.e. the INPUT Text Fields (TextBoxes) have invalid data.
08 Jul 2019 08 Jul 2019 0 Comments  673 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Form validation in AngularJS.

This article will illustrate how to perform Form Validation for TextBox INPUTS for validating Name, Email Address and Age, etc. on click of Submit Button in AngularJS.
05 Jul 2019 08 Jul 2019 0 Comments  595 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Email Address validation inside Controller in AngularJS.

This article will illustrate how to use AngularJS Form Validation for TextBox and ng-pattern directive and Regular Expressions (Regex) for validating Email Address in AngularJS.

The Regular Expression for Email validation will be set inside Controller in AngularJS.