17 Oct 2019 17 Oct 2019 0 Comments  270 Views
Here Mudassar Ahmed Khan has explained with an example, how to hide GridView column at runtime in ASP.Net using C# and VB.Net.

The GridView column will be hidden at runtime when CheckBox is unchecked in ASP.Net using C# and VB.Net.
17 Oct 2019 17 Oct 2019 0 Comments  177 Views
Here Mudassar Ahmed Khan has explained with an example, how to hide GridView column programmatically in ASP.Net using C# and VB.Net.

The GridView column will be programmatically hidden when CheckBox is unchecked in ASP.Net using C# and VB.Net.
17 Oct 2019 17 Oct 2019 0 Comments  240 Views
Here Mudassar Ahmed Khan has explained with an example, how to activate TextBox if another option is selected in DropDownBox using JavaScript and jQuery.

When the Other (option) in DropDownList is selected, the TextBox will be enabled else disabled.
18 Aug 2015 17 Oct 2019 1 Comments  67184 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically show hide TemplateField (ItemTemplate) column in ASP.Net GridView using C# and VB.Net.
14 Oct 2019 14 Oct 2019 0 Comments  392 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  338 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  484 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  556 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  84992 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  664 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  564 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  630 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  640 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  536 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  654 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  903 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  811 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  945 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  4189 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  1395 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  1130 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  1735 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  2149 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  1223 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  2688 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.