Results 36 - 38 of 38
05 Jul 2018 05 Jul 2018 0 Comments  14503 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement confirm before Submit on ASP.Net Button Click using JavaScript.

The JavaScript Confirmation Message Box will be displayed on Button Click using ClientScript.RegisterOnSubmitStatement function.

When the Button is clicked, the Confirmation Message Box with OK (Yes) and Cancel (No) buttons will be displayed, if the User clicks OK (Yes) button only then the Form will be submitted i.e. Click event will fire.
03 Nov 2017 01 Jan 2019 0 Comments  20667 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add (insert) Items (Options) to DropDownList i.e. HTML Select element on Button click using JavaScript.

The Items (Options) Text and Value parts will be dynamically fetched from TextBoxes and then the Items (Options) will be added to HTML DropDownList using plain JavaScript.
21 May 2013 16 May 2019 2 Comments  34137 Views
Here Mudassar Ahmed Khan has explained with an example, how to export TemplateField columns of the ASP.Net GridView control to Excel file in ASP.Net using C# and VB.Net.

When the GridView TemplateField columns contain controls like HyperLink, TextBox, Button, LinkButton, RadioButton or CheckBox controls then such controls need to be replaced with Literal control and then the GridView is exported to Excel file in ASP.Net using C# and VB.Net.
Results 36 - 38 of 38