Category - ASP.Net
Results 21 - 25 of 2270
17 Aug 2020 17 Aug 2020 0 Comments  803 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with an example, how to use simple Entity Framework in ASP.Net Core Razor Pages.

This article will explain how to configure Entity Framework and connect to SQL Server database and finally the fetched data is displayed in View in ASP.Net Core Razor Pages.
17 Aug 2020 17 Aug 2020 0 Comments  763 Views
Here Mudassar Ahmed Khan has explained with an example, how to submit (post) a Form and send data from Razor Page to POST Handler method in ASP.Net Core.

This article will explain how to create Form Fields and then send data from Razor Page to POST Handler method using Model class in ASP.Net Core.
12 Aug 2020 12 Aug 2020 0 Comments  766 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Google reCAPTCHA V2 (version 2.0) in ASP.Net MVC Razor.

The Google reCAPTCHA V2 (version 2.0) allows to validate the Captcha response on client side using its Callback functions.

The Google RECaptcha 2.0 will be validated on Client Side using JavaScript and jQuery in ASP.Net MVC Razor.
12 Aug 2020 12 Aug 2020 0 Comments  589 Views
Here Mudassar Ahmed Khan has explained with an example, how to use RequiredFieldValidator for DropDownList in ASP.Net.
RequiredFieldValidator is used to validate required inputs, for TextBoxes it is plug and play but for DropDownList an additional property InitialValue needs to be set in ASP.Net.
In the InitialValue property, the value of the Default DropDownList Item needs to be set.
06 Aug 2020 06 Aug 2020 0 Comments  653 Views
Here Mudassar Ahmed Khan has explained with an example, how to call JavaScript function with CommandField in ASP.Net GridView using C# and VB.Net.

Inside the RowDataBound event handler, the Button will be referenced and then JavaScript function will be assigned to its Client Side OnClick event handler.

Thus when the CommandField Button is clicked, the JavaScript function will be called in ASP.Net using C# and VB.Net.
Results 21 - 25 of 2270