Category - Issues and Exceptions
Results 1 - 5 of 97
16 Mar 2020 16 Mar 2020 0 Comments  491 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  712 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  938 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  1090 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.
29 Jan 2020 29 Jan 2020 0 Comments  1071 Views
Here Mudassar Ahmed Khan has explained why Server.MapPath not working in ASP.Net Core and what is the alternative solution for using the functionality in ASP.Net Core.

Microsoft has permanently removed Server.MapPath function from .Net Core and introduced a new interfaces IHostingEnvironment for .Net Core 2.0 and IWebHostEnvironment for .Net Core 3.0.
Results 1 - 5 of 97