18 Jul 2019 18 Jul 2019 0 Comments  145 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  205 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  276 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  246 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  179 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  199 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  156 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  240 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  389 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  423 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  325 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  347 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  369 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  363 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  325 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.
02 Jul 2019 08 Jul 2019 2 Comments  435 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Email Address validation 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.
04 Jul 2019 04 Jul 2019 0 Comments  485 Views
Here Mudassar Ahmed Khan has explained with an example, how to check whether CheckBox in GridView is checked or not in ASP.Net using C# and VB.Net.

When the Button is clicked, a loop will be executed over GridView Rows and then it will be determined whether the CheckBox inside the GridView Row is checked or not in ASP.Net.
31 Jan 2014 04 Jul 2019 0 Comments  53859 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate CheckBoxes inside GridView and perform at least one CheckBox checked validation using ASP.Net CustomValidator and JavaScript in ASP.Net.

When the Button is clicked, the ASP.Net CustomValidator triggers the JavaScript function and using a FOR loop, the GridView CheckBoxes are traversed and a validation to make sure whether at least one CheckBox is checked is performed.

Validation of CheckBoxes inside GridView is performed using ASP.Net CustomValidator with a client side JavaScript validation function.
04 Jul 2019 04 Jul 2019 0 Comments  494 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement at-least one CheckBox required validation in AngularJS.

When the Submit Button is clicked, the Model for each CheckBox in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is required to be checked from the Group of CheckBoxes using AngularJS.
02 Jul 2019 02 Jul 2019 0 Comments  326 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with an example, how to use the ng-pattern directive in AngularJS.

The ng-pattern directive is used to validate the user input for the invalid characters with the help of Regular Expression patterns in AngularJS.
27 Jun 2019 27 Jun 2019 0 Comments  435 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of RadioButtons (Multiple RadioButtons) using AngularJS.

When the Submit Button is clicked, the Model for each RadioButton in the Group will be referenced and using FOR loop, it will be validated that one RadioButton is checked from the Group of RadioButtons using AngularJS.
26 Jun 2019 26 Jun 2019 0 Comments  377 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of RadioButtons (Multiple RadioButtons) using jQuery.

When the Submit Button is clicked, all the RadioButtons in the Group will be referenced and using FOR loop, it will be validated that one RadioButton is checked from the Group of RadioButtons using jQuery.
26 Jun 2019 26 Jun 2019 0 Comments  293 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of RadioButtons (Multiple RadioButtons) using JavaScript.

When the Submit Button is clicked, all the RadioButtons in the Group will be referenced and using FOR loop, it will be validated that one RadioButton must be checked from the Group of RadioButtons using JavaScript.
26 Jun 2019 26 Jun 2019 0 Comments  482 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of CheckBoxes (Multiple CheckBoxes) using AngularJS.

When the Submit Button is clicked, the Model for each CheckBox in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is checked from the Group of CheckBoxes using AngularJS.
25 Jun 2019 25 Jun 2019 0 Comments  524 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of CheckBoxes (Multiple CheckBoxes) using jQuery.

When the Submit Button is clicked, all the CheckBoxes in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is checked from the Group of CheckBoxes using jQuery.