18 Jan 2019 18 Jan 2019 0 Comments  100 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Charts to PDF in ASP.Net MVC Razor.

This article will illustrate how to export Charts created from Database using Charts Helper class to PDF in ASP.Net MVC Razor.
17 Jan 2019 17 Jan 2019 0 Comments  83 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) Image to Word file in ASP.Net using C# and VB.Net.

First the Absolute URL of the Image file will be determined and then the Image element will be rendered as HTML and then the HTML will be written to the Response Stream and downloaded as Word file in ASP.Net.
16 Jan 2019 16 Jan 2019 0 Comments  236 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) Image to PDF using iTextSharp in ASP.Net with C# and VB.Net.

The Image file will be first uploaded using FileUpload control and saved into a Folder (Directory), then the Image file will be added into the iTextSharp PDF document and ultimately downloaded as PDF file in ASP.Net.
16 Jan 2019 16 Jan 2019 0 Comments  188 Views
Here Mudassar Ahmed Khan has explained with an example, how to set MaxLength property for TextBoxes created using Html.TextBox and Html.TextBoxFor helper functions in ASP.Net MVC Razor.

The MaxLength for TextBoxes is set using the HTML MaxLength attribute using the HtmlAttributes parameter in Html.TextBox and Html.TextBoxFor helper functions.
16 Jan 2019 16 Jan 2019 0 Comments  227 Views
Here Mudassar Ahmed Khan has provided solution to the problem where value of the TextBox placed in GridView is lost after PostBack in ASP.Net with C# and VB.Net.

When PostBack happens i.e. when Button is clicked or any other control that does PostBack inside GridView, the GridView is again populated with data and hence the modified values in TextBox are lost.
11 Jan 2019 11 Jan 2019 0 Comments  312 Views
Here Mudassar Ahmed Khan has explained with an example, how to get multiple selected (checked) CheckBox values as Comma Separated String using jQuery.

When the Get Button is clicked, the CheckBoxes will be referenced and if the CheckBox is selected (checked) then its value will be inserted into an Array.

Finally, the values of the selected (checked) CheckBoxes inside the Array will be displayed as Comma Separated String using JavaScript Alert Message Box.
11 Jan 2019 11 Jan 2019 0 Comments  234 Views
Here Mudassar Ahmed Khan has explained with an example, how to get multiple selected (checked) CheckBox values as Comma Separated String using JavaScript.

When the Get Button is clicked, the CheckBoxes will be referenced using a loop. Inside the loop if the CheckBox is selected (checked) then its value will be inserted into an Array.

Finally, the values of the selected (checked) CheckBoxes inside the Array will be displayed as Comma Separated String using JavaScript Alert Message Box.
11 Jan 2019 11 Jan 2019 0 Comments  199 Views
Here Mudassar Ahmed Khan has explained with an example, how to get multiple selected (checked) CheckBox values in Array using jQuery.

When the Get Button is clicked, the CheckBoxes will be referenced and if the CheckBox is selected (checked) then its value will be inserted into an Array.

Finally, the values of the selected (checked) CheckBoxes inside the Array will be displayed using JavaScript Alert Message Box.
11 Jan 2019 11 Jan 2019 0 Comments  167 Views
Here Mudassar Ahmed Khan has explained with an example, how to get multiple selected (checked) CheckBox values in Array using JavaScript.

When the Get Button is clicked, the CheckBoxes will be referenced using a loop. Inside the loop if the CheckBox is selected (checked) then its value will be inserted into an Array.

Finally, the values of the selected (checked) CheckBoxes inside the Array will be displayed using JavaScript Alert Message Box.
10 Jan 2019 10 Jan 2019 0 Comments  224 Views
Here Mudassar Ahmed Khan has explained with an example, how to check if multiple CheckBoxes are checked or not using jQuery.

When the Check Button is clicked, the CheckBoxes will be referenced and the Total count of the checked (selected) CheckBoxes is determined and displayed using JavaScript Alert Message Box.
10 Jan 2019 10 Jan 2019 0 Comments  211 Views
Here Mudassar Ahmed Khan has explained with an example, how to check if multiple CheckBoxes are checked or not using JavaScript.

When the Check Button is clicked, the CheckBoxes will be referenced and using a loop, the Total count of the checked (selected) CheckBoxes is determined and displayed using JavaScript Alert Message Box.
10 Jan 2019 10 Jan 2019 0 Comments  197 Views
Here Mudassar Ahmed Khan has explained with an example, how to check if a CheckBox is checked or not using ID in JavaScript and jQuery.

When the Check Button is clicked, the CheckBox will be first referenced using its ID and then the status of the CheckBox i.e. checked (selected) or unchecked (unselected) will be determined using JavaScript and jQuery.
09 Jan 2019 09 Jan 2019 0 Comments  287 Views
Here Mudassar Ahmed Khan has explained with an example, how to check whether CheckBox is checked or not in ASP.Net using C# and VB.Net.

When the Button is clicked, the status of CheckBox i.e. whether the CheckBox is checked (selected) or unchecked (unselected) is displayed using JavaScript Alert Message Box with C# and VB.Net.
09 Jan 2019 09 Jan 2019 0 Comments  270 Views
Here Mudassar Ahmed Khan has explained with an example, how to display TextBox when CheckBox is checked in ASP.Net using C# and VB.Net.

The CheckBox will be assigned OnCheckChanged event handler and when the CheckBox is checked (selected), the TextBox will be displayed and when the CheckBox is unchecked (unselected) the TextBox will be hidden in ASP.Net using C# and VB.Net.
09 Jan 2019 09 Jan 2019 0 Comments  284 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Text when CheckBox is checked (selected) or unchecked (unselected) using JavaScript and jQuery.

When the CheckBox is clicked based on whether it is checked (selected) or unchecked (unselected), the HTML DIV with some Text will be shown or hidden.
08 Jan 2019 08 Jan 2019 0 Comments  349 Views
Here Mudassar Ahmed Khan has explained with an example, how to detect Browser details such as Name, Version, Platform, OS, Mobile or Desktop in JavaScript using jQuery.

The jQuery Browser Plugin will be used along with jQuery to detect the Browser details such as Name, Version, Platform, OS, Mobile or Desktop on Client Side in JavaScript.
08 Jan 2019 08 Jan 2019 0 Comments  288 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected (checked) CheckBox Row (Cell) values of HTML Table using jQuery.

When the Button is clicked, all the CheckBoxes inside the HTML Table will be referenced and then the Row (Cell) values of selected (checked) CheckBoxes will be extracted and displayed using JavaScript Alert Message Box.
08 Jan 2019 08 Jan 2019 0 Comments  198 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected (checked) CheckBox Row (Cell) values of Html Table using JavaScript.

When the Button is clicked, all the CheckBoxes inside the Html Table will be referenced and then the Row (Cell) values of selected (checked) CheckBoxes will be extracted and displayed using JavaScript Alert Message Box.
07 Jan 2019 07 Jan 2019 0 Comments  342 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected (checked) CheckBox Row (Cell) values of GridView using jQuery in ASP.Net.

When the Button is clicked, all the CheckBoxes inside the GridView will be referenced and then the Row (Cell) values of selected (checked) CheckBoxes will be extracted and displayed using JavaScript Alert Message Box.
07 Jan 2019 07 Jan 2019 0 Comments  278 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected (checked) CheckBox Row (Cell) values of GridView using JavaScript in ASP.Net.

When the Button is clicked, all the CheckBoxes inside the GridView will be referenced and then the Row (Cell) values of selected (checked) CheckBoxes will be extracted and displayed using JavaScript Alert Message Box.
04 Jan 2019 04 Jan 2019 0 Comments  323 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically change HTML INPUT Type from Password to Text using jQuery.

HTML does not allow the Type attribute to be modified with jQuery at runtime and hence the same can be achieved by creating a dynamic TextBox next to the Password TextBox and hiding the Password TextBox.
04 Jan 2019 04 Jan 2019 0 Comments  363 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically change HTML INPUT Type using jQuery.

This article will illustrate how to dynamically change the Type attribute of HTML TextBox from Text to Password using jQuery.

HTML does not allow the Type attribute to be modified with jQuery at runtime and hence the same can be achieved by creating a dynamic TextBox next to the Password TextBox and hiding the Password TextBox.
04 Jan 2019 04 Jan 2019 0 Comments  316 Views
Here Mudassar Ahmed Khan has explained with an example, how to change TextBox TextMode to Password using jQuery.

The TextMode of a TextBox is decided by its Type attribute i.e. input or password.

HTML does not allow the Type attribute to be modified with jQuery at runtime and hence the same can be achieved by creating a dynamic TextBox next to the Password TextBox and hiding the Password TextBox.
03 Jan 2019 03 Jan 2019 0 Comments  284 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically change HTML INPUT Type from Password to Text using JavaScript.

HTML does not allow the Type attribute to be modified with JavaScript at runtime and hence the same can be achieved by creating a dynamic TextBox next to the Password TextBox and hiding the Password TextBox.
03 Jan 2019 03 Jan 2019 0 Comments  358 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically change HTML INPUT Type using JavaScript.

This article will illustrate how to dynamically change the Type attribute of HTML TextBox from Text to Password using JavaScript.

HTML does not allow the Type attribute to be modified with JavaScript at runtime and hence the same can be achieved by creating a dynamic TextBox next to the Password TextBox and hiding the Password TextBox.