14 Oct 2019 14 Oct 2019 0 Comments  13 Views
Here Mudassar Ahmed Khan has explained with an example, how to open (view) PDF files from Server in ASP.Net using C# and VB.Net.

This article will explain how to view PDF files from Server directly within browser without downloading them.
14 Oct 2019 14 Oct 2019 0 Comments  9 Views
Here Mudassar Ahmed Khan has explained with an example, how to open (view) PDF files without using IFRAME in ASP.Net using C# and VB.Net.

This article will explain how to view PDF files directly within browser without downloading them.
10 Oct 2019 10 Oct 2019 0 Comments  240 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement jQuery AutoComplete TextBox inside GridView in ASP.Net using C# and VB.Net.

The jQuery AutoComplete Plugin is applied to all the TextBoxes and the data for the jQuery AutoComplete TextBox will be populated from the SQL Server database in ASP.Net using C# and VB.Net.
07 Oct 2019 07 Oct 2019 0 Comments  345 Views
Here Mudassar Ahmed Khan has explained with an example, how to display AJAX ModalPopupExtender Modal Popup inside RowCommand event of GridView in ASP.Net using C# and VB.Net.

Inside the GridView OnRowCommand event handler, the GridView Selected Row details will be fetched and displayed in the ASP.Net AJAX ModalPopupExtender Modal Popup.
25 Dec 2013 07 Oct 2019 4 Comments  84835 Views
Here Mudassar Ahmed Khan has explained, how to display the GridView Selected Row Details in ASP.Net AJAX ModalPopupExtender Modal Popup using C# and VB.Net.

Inside the GridView SelectedIndexChanged event handler, the GridView Selected Row details will be fetched and displayed in the ASP.Net AJAX ModalPopupExtender Modal Popup.
04 Oct 2019 04 Oct 2019 0 Comments  473 Views
Here Mudassar Ahmed Khan has explained with an example, how to check for duplicate values while inserting in GridView without SQL in ASP.Net using C# and VB.Net.

When the Add Button is clicked, the values of TextBoxes will be compared with the Row values of the GridView using ASP.Net CustomValidator and JavaScript and if the values are duplicate, error messages will be displayed.
30 Sep 2019 30 Sep 2019 0 Comments  454 Views
Here Mudassar Ahmed Khan has explained how to make solve the problem of ValidateRequest = 'false' not working in .Net 4.0 and 4.5 in ASP.Net.

ValidateRequest = 'false' is used to supress the exception: A potentially dangerous Request.Form value was detected from the client in ASP.Net and allow posting scripts and HTML content in ASP.Net.

The ValidateRequest property is a .Net 2.0 and .Net 3.5 property and hence in order to work on .Net 4.0 and .Net 4.5 an additional property is needed.
30 Sep 2019 30 Sep 2019 0 Comments  473 Views
Here Mudassar Ahmed Khan has written an informative article on how to download Crystal Reports for Visual Studio 2019 (VS 2019).
24 Sep 2019 24 Sep 2019 0 Comments  522 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the problem: Crystal Report displays MHT File in Visual Studio.

By default, Crystal Reports is not installed in Visual Studio and hence the MHT File is being displayed. This article will guide you with steps required to download and install Crystal Reports for Visual Studio.
24 Sep 2019 24 Sep 2019 0 Comments  451 Views
Here Mudassar Ahmed Khan has explained with an example, how to use ViewState inside Static WebMethod in ASP.Net using C# and VB.Net.

ViewState is an ASP.Net State management technique in which the state (data) is maintained on Page across PostBack.

ViewState is not accessible inside Static WebMethod and hence Session or Cache state management techniques can be used in ASP.Net.
23 Sep 2019 23 Sep 2019 0 Comments  551 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Rupee Symbol in TextBox and SPAN in HTML.
20 Sep 2019 20 Sep 2019 0 Comments  760 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically show and hide column in ASP.Net Repeater control using C# and VB.Net.

The column in Repeater control will be shown or hidden dynamically using a CheckBox in ASP.Net using C# and VB.Net.
18 Sep 2019 18 Sep 2019 0 Comments  711 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Address Location on Google Maps using Google Places AutoComplete.

When an Address Location is searched using Google Places AutoComplete, the Google Places API returns the geographical coordinates i.e. Latitude and Longitude of the searched Address Location, which is ultimately used to plot a marker and display it on the Google Map.
17 Sep 2019 17 Sep 2019 0 Comments  817 Views
Here Mudassar Ahmed Khan has explained with an example, how to send (pass) GridView Row Values to other Page using Session in ASP.Net using C# and VB.Net.

When the Send Button is clicked, the GridView Row values are saved in Session object and the values are sent (passed) to other Page in ASP.Net using C# and VB.Net.
06 Sep 2019 06 Sep 2019 0 Comments  3990 Views
Here Mudassar Ahmed Khan has explained with an example, how to download (save) VARBINARY data as File from SQL Server database table in ASP.Net using C# and VB.Net.

Files such as Images, PDF, Word or Excel Documents, Audio and Video files will be saved as VARBINARY data in SQL Server database table and later the VARBINARY data will be converted back to the file and downloaded in ASP.Net using C# and VB.Net.
06 Sep 2019 06 Sep 2019 0 Comments  1270 Views
Here Mudassar Ahmed Khan has explained with an example, how to download (save) VARBINARY data from SQL Server database table using Entity Framework in ASP.Net MVC Razor.

Files will be uploaded and then will be saved (inserted) to database table as VARBINARY data. The file in VARBINARY data format will be retrieved and displayed in HTML Grid (Table) consisting of a Link for downloading the VARBINARY data as file from database.
04 Sep 2019 04 Sep 2019 0 Comments  1052 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (assign) value to HTML TextBox from Server Side (Code Behind) in ASP.Net using C# and VB.Net.

There are two ways for setting the values of HTML TextBox from Server Side (Code Behind) in ASP.Net:
1. Using Property.
2. Using runat=“server” attribute.
23 Aug 2019 23 Aug 2019 0 Comments  1613 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete (remove) Rows from DataGridView and Database in Windows (WinForms) Application using C# and VB.Net.

When the Delete Button is clicked, a Confirmation MessageBox will be displayed and if the User clicks Yes button the Row will be deleted (removed) from DataGridView and Database in Windows (WinForms) Application using C# and VB.Net.
19 Aug 2019 20 Aug 2019 0 Comments  2029 Views
Here Mudassar Ahmed Khan has explained with an example, how to access HTML Control values in Code Behind (Server Side) without runat server in ASP.Net using C# and VB.Net.

The values of all HTML INPUT controls are sent to Server Side on Form Submission (PostBack) and can be fetched using Request.Form collection in ASP.Net using C# and VB.Net.
20 Aug 2019 20 Aug 2019 0 Comments  1117 Views
Here Mudassar Ahmed Khan has explained with an example, how to play (embed) YouTube videos in Windows Forms (WinForms) Application using C# and VB.Net.

The YouTube videos will be played in Windows Forms (WinForms) Application with the help of WebBrowser control and HTML IFRAME using C# and VB.Net.
02 Aug 2019 02 Aug 2019 0 Comments  2602 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) selected DataGridView Row from one Form to another in Windows Forms (WinForms) Application using C# and VB.Net.

When the DataGridView Row is clicked, the selected Row values of the DataGridView are passed (sent) to the other Form in Windows Forms (WinForms) Application using C# and VB.Net.
02 Aug 2019 02 Aug 2019 0 Comments  1510 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) DataGridView values to another DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

When the Button is clicked, a loop will be executed over the rows of DataGridView and the checked (selected) rows will be passed (sent) to another DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
31 Jul 2019 31 Jul 2019 0 Comments  2273 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) values from one Form to another in Windows Application (WinForms) using C# and VB.Net.

When the DataGridView Row is clicked, the Row Index of the selected DataGridView Row is determined and the values of the Cells are extracted and passed (sent) to the other Form in Windows Forms (WinForms) Application using C# and VB.Net.
30 Jul 2019 30 Jul 2019 0 Comments  4093 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) Image to PDF using iTextSharp in ASP.Net MVC Razor.

The Image will be uploaded using FileUpload element and inside the Controller, the Image will be read as Stream and will be added to iTextSharp PDF document and ultimately downloaded as PDF file in ASP.Net MVC Razor.
26 Jul 2019 26 Jul 2019 0 Comments  1643 Views
Here Mudassar Ahmed Khan has explained with an example, how to show and hide HTML DIV from Controller in AngularJS.

When the Button is clicked, a Boolean variable will be set inside the Controller and the HTML DIV will be shown using ng-show and ng-hide directives and when again the same Button is clicked, again the same Boolean variable will be set inside the Controller and the HTML DIV will be hidden using ng-show and ng-hide directives in AngularJS.