'How to Add JavaScript To ASP.NET Dropdownlist (Template Filed) Of Gridview?
How to add JavaScript on ASP.NET Dropdownlist, pass that Dropdownlist Id to that same JavaScript function which is called? How to do the same for Dropdownlist which is a template field of Gridview?
Solution 1:[1]
To add javacript to dropdown and pass the selected value--> ddl.Attributes.Add("onchange", "BindEng('"+ddl.SelectedValue+"');");
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Uneverno |
