Results 21 - 25 of 475
11 Feb 2019 18 Feb 2019 0 Comments  864 Views
Here Mudassar Ahmed Khan has explained with an example, how to export WebGrid to Excel file using jQuery in ASP.Net MVC Razor.

The WebGrid’s HTML Table will be exported (converted) to Excel file using the jQuery table2excel plugin in ASP.Net MVC Razor.
22 Jan 2019 22 Jan 2019 0 Comments  962 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Email using JavaScript and Regular Expression (Regex) in ASP.Net MVC Razor.

When the Submit Button is clicked, the Email Address in the TextBox will be validated using JavaScript and Regular Expression (Regex) and if the Email Address is invalid, the error message will be displayed next to the TextBox in ASP.Net MVC Razor.
21 Jan 2019 21 Jan 2019 0 Comments  1556 Views
Here Mudassar Ahmed Khan has explained with an example, how to retrieve (display) data from Database in TextBoxes in ASP.Net MVC Razor.

The data (records) from Database will be fetched using Entity Framework and will be displayed in TextBoxes created using Model class in ASP.Net MVC Razor.
16 Jan 2019 16 Jan 2019 0 Comments  1371 Views
Here Mudassar Ahmed Khan has explained with an example, how to set MaxLength property for TextBoxes created using Html.TextBox and Html.TextBoxFor helper functions in ASP.Net MVC Razor.

The MaxLength for TextBoxes is set using the HTML MaxLength attribute using the HtmlAttributes parameter in Html.TextBox and Html.TextBoxFor helper functions.
06 Dec 2018 06 Dec 2018 0 Comments  1635 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable TextBox based on condition in ASP.Net MVC Razor.

A Boolean value will be stored in a ViewBag object based on some condition inside the Controller’s Action method and the value of the ViewBag object will be used to enable or disable the TextBox in View.
Results 21 - 25 of 475