Category - Issues and Exceptions
Results 1 - 5 of 98
14 Jul 2020 14 Jul 2020 0 Comments  984 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the issue of Lowercase JSON Property Names in ASP.Net Core MVC.

In order to solve this problem, the default ContractResolver needs to be replaced with the ContractResolver of Newtonsoft JSON Serializer in ASP.Net Core MVC.
16 Mar 2020 16 Mar 2020 0 Comments  2585 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the problem of Print and Export Button of Toolbar not working with Crystal Report Viewer in SAP Crystal Reports in ASP.Net.
25 Feb 2020 25 Feb 2020 0 Comments  1515 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the problem of ASP.Net Label value assigned in Client Side not appearing in PostBack.

ASP.Net Label controls do not send values to server and hence their value is lost on PostBack when set on Client Side.

To solve this issue we need to make use of Hidden Field which sends the Client Side modified value to server which can be later retrieved on PostBack in ASP.Net.
14 Feb 2020 14 Feb 2020 0 Comments  3071 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the problem i.e. IFormFile always returns NULL when used in Controller while uploading files in ASP.Net Core MVC.

There are two reasons. First the name of the IFormFile parameter and the name of HTML FileUpload element must be exact same and second that the Form element must be specified with the enctype attribute.
14 Feb 2020 14 Feb 2020 0 Comments  5194 Views
Here Mudassar Ahmed Khan has explained why HttpPostedFileBase not working in ASP.Net Core and what is the alternative solution for using the functionality which is used for uploading Files in ASP.Net Core.

Microsoft has permanently removed HttpPostedFileBase class from ASP.Net Core and introduced a new interface IFormFile for uploading Files in ASP.Net Core 2.0 and ASP.Net Core 3.0.
Results 1 - 5 of 98