14 Nov 2018 14 Nov 2018 0 Comments  9 Views
ASP.Net  MVC  Form
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) data from one View to another in ASP.Net MVC Razor.

The data from the Source View will be posted (submitted) using Form Post to the Controller’s Action method of the Destination View.

Then finally, the received data will be displayed in the Destination View using ViewBag.
06 Nov 2018 06 Nov 2018 0 Comments  317 Views
Here Mudassar Ahmed Khan has explained with an example, how to display DateTime in dd/MM/yyyy format using DataBinder.Eval function in ASP.Net using C# and VB.Net.

The DataBinder.Eval function is used to display data from Database in GridView, Repeater, DataList, FormView, etc. in ASP.Net.
06 Nov 2018 06 Nov 2018 0 Comments  251 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (get) AppSettings Key Value from Web.Config in HTML Markup of ASP.Net page using C# and VB.Net.

In the HTML Markup of ASPX Page, the AppSetting values will be read from Web.Config file using Server-Side code blocks (<% %>).
06 Nov 2018 06 Nov 2018 0 Comments  247 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (get) value from the AppSettings section of the Web.Config file in jQuery in ASP.Net using C# and VB.Net.

It is not possible to read the AppSetting value directly in jQuery and hence an AJAX call will be made to a WebMethod which will read the AppSetting value and return it to the Client Side script.
06 Nov 2018 06 Nov 2018 0 Comments  204 Views
Here Mudassar Ahmed Khan has explained with an example, how to format DateTime field in dd/MM/yyyy format in ASP.Net Repeater using C# and VB.Net.
05 Nov 2018 05 Nov 2018 0 Comments  299 Views
Here Mudassar Ahmed Khan has explained with an example, how to make AJAX call using XmlHttpRequest (XHR) in ASP.Net using C# and VB.Net.

This article will illustrate how to get the Current Server Time by making AJAX call to a Server Side function (WebMethod) using JavaScript XmlHttpRequest (XHR) in ASP.Net with C# and VB.Net.
05 Nov 2018 05 Nov 2018 0 Comments  294 Views
Here Mudassar Ahmed Khan has explained with an example, how to call the Server Side function (method) with parameters from JavaScript using jQuery AJAX in ASP.Net MVC Razor.

In ASP.Net MVC, the Server Side code resides inside the Controller and hence this article will illustrate how to call Controller’s Action method from JavaScript in ASP.Net MVC Razor.
05 Nov 2018 06 Nov 2018 0 Comments  286 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (get) value from the AppSettings section of the Web.Config file in JavaScript in ASP.Net MVC Razor.

It is not possible to read the AppSetting value directly in JavaScript and hence using jQuery, an AJAX call will be made to the Controller’s Action method which will read the AppSetting value and return it to the JavaScript function.
02 Nov 2018 06 Nov 2018 0 Comments  343 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (get) value from the AppSettings section of the Web.Config file in JavaScript in ASP.Net using C# and VB.Net.

It is not possible to read the AppSetting value directly in JavaScript and hence using JavaScript XmlHttpRequest (XHR), an AJAX call will be made to a WebMethod which will read the AppSetting value and return it to the JavaScript function.
02 Nov 2018 02 Nov 2018 0 Comments  272 Views
Here Mudassar Ahmed Khan has explained with an example, how to call Server Side function with parameters using XmlHttpRequest (XHR) in ASP.Net using C# and VB.Net.

This article will illustrate how to get the Current Server Time by making AJAX call to a Server Side function using JavaScript XmlHttpRequest (XHR) in ASP.Net with C# and VB.Net.
02 Nov 2018 02 Nov 2018 0 Comments  299 Views
Here Mudassar Ahmed Khan has explained with an example, how to call WebMethod with parameters using XmlHttpRequest (XHR) in ASP.Net using C# and VB.Net.

This article will illustrate how to get the Current Server Time by making AJAX call to a WebMethod using JavaScript XmlHttpRequest (XHR) in ASP.Net with C# and VB.Net.
01 Nov 2018 01 Nov 2018 0 Comments  304 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (get) key values of AppSettings section in ASPX page from ASP.Net Web.Config file using C# and VB.Net.

In ASP.Net Web Applications, one has to reference the System.Configuration Assembly in order to read AppSetting values from the Web.Config file.

In ASPX Page, the AppSetting values will be read from Web.Config file using Server-Side code blocks (<% %>).
31 Oct 2018 31 Oct 2018 0 Comments  420 Views
Here Mudassar Ahmed Khan has explained with an example, how to format DateTime field in dd/MM/yyyy format in ASP.Net GridView using C# and VB.Net.

This article will illustrate how to format DateTime field value to dd/MM/yyyy format in BoundField as well as TemplateField columns of ASP.Net GridView.
29 Oct 2018 29 Oct 2018 0 Comments  454 Views
Here Mudassar Ahmed Khan has explained with an example, how to filter Crystal Report in ASP.Net using C# and VB.Net.

Crystal Report data will be filtered on selection of DropDownList in ASP.Net.
26 Oct 2018 26 Oct 2018 0 Comments  679 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Nested Grid (GridView) with Expand Collapse in ASP.Net MVC Razor.
The Nested Grid (GridView) will be implemented with the help of WebGrid in ASP.Net MVC Razor.

The Nested WebGrid will be a combination of Parent – Child Table where Child WebGrid will be placed inside the Parent WebGrid and the Child WebGrid will be shown and hidden using Expand-Collapse feature in ASP.Net MVC Razor.
26 Oct 2018 26 Oct 2018 0 Comments  444 Views
Here Mudassar Ahmed Khan has explained with an example, how to filter RDLC Report in ASP.Net using C# and VB.Net.

RDLC Report data will be filtered on selection of DropDownList in ASP.Net.
25 Oct 2018 25 Oct 2018 0 Comments  490 Views
ASP.Net  Excel  RDLC Report  MVC  Word  PDF
Here Mudassar Ahmed Khan has explained with an example, how to export RDLC Report and download in Word, Excel, PDF and Image file formats in ASP.Net MVC Razor.

Entity Framework will be used to populate RDLC Reports from SQL Server database in ASP.Net MVC 5 Razor.
25 Oct 2018 25 Oct 2018 0 Comments  487 Views
Here Mudassar Ahmed Khan has explained with an example, how to export RDLC Report to Excel without using ReportViewer in ASP.Net with C# and VB.Net.
25 Oct 2018 25 Oct 2018 0 Comments  379 Views
Here Mudassar Ahmed Khan has explained with an example, how to export RDLC Report to PDF without using ReportViewer in ASP.Net with C# and VB.Net.
24 Oct 2018 24 Oct 2018 0 Comments  330 Views
Here Mudassar Ahmed Khan has explained with an example, how to export RDLC Report to Word document programmatically in ASP.Net with C# and VB.Net.

Exporting RDLC Report to Word programmatically means, exporting from Code-Behind without using the RDLC ReportViewer control in ASP.Net.
24 Oct 2018 24 Oct 2018 0 Comments  377 Views
Here Mudassar Ahmed Khan has explained with an example, how to export RDLC Report to Excel file programmatically in ASP.Net with C# and VB.Net.

Exporting RDLC Report to Excel programmatically means, exporting from Code-Behind without using the RDLC ReportViewer control in ASP.Net.
24 Oct 2018 24 Oct 2018 0 Comments  462 Views
Here Mudassar Ahmed Khan has explained with an example, how to export RDLC Report to PDF programmatically in ASP.Net with C# and VB.Net.

Exporting RDLC Report to PDF programmatically means, exporting from Code-Behind without using the RDLC ReportViewer control in ASP.Net.
23 Oct 2018 23 Oct 2018 0 Comments  316 Views
Here Mudassar Ahmed Khan has explained with an example, how to export and download RDLC Report in Word, Excel, PDF and Image file formats on Button Click in ASP.Net using C# and VB.Net.

RDLC Report provides function named Render which exports RDLC Report to Word, Excel, PDF or Image file in Byte Array object.

Later the Byte Array object is downloaded in Word, Excel, PDF or Image file using Response Stream.
23 Oct 2018 23 Oct 2018 0 Comments  659 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload and save (insert) multiple Images to SQL Server database in ASP.Net using C# and VB.Net.

ASP.Net 4.5 has a new property AllowMultiple for FileUpload control, which allows user to select and upload multiple Images. This property will work only in browsers that support HTML5.
22 Oct 2018 23 Oct 2018 0 Comments  490 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Crystal Report to PDF and send as Email Attachment in ASP.Net using C# and VB.Net.

Crystal Report provides function named ExportToStream which exports Crystal Report to Word, Excel, PDF or CSV file in Stream format.

Later the Stream can be used to attach the exported PDF file as Attachment and send as Email.