Added a simple button to the page. When the user clicks on the button, we invoke fnAddRows where we get user input from product controls and add them to a HTML table tblProducts. Run the application and you would see the following page Enter product attributes in the input controls as shown below: Click on […]
Clicking on DeleteAll link will clear all rows from table.
You would have seen so many articles describing iterating through GridView rows. I bet most (or all) of them would explain how to do this on the server side. However for simple things such as printing captions or some other row text, it is not recommended to make a postback. In this article, I am […]
Cascading Dropdowns are a series of dependent Dropdowns where one dropdown is dependent on the parent and is populated based on the item selected by the user. In this article i would let you know a simple way to achieve this using JQuery.
Generally, in case of cascading dropdown, once a user selects a dropdown a request is sent ASP.NET/PHP backend which inturn calls the DB to get required data which is populated. This means every time user selects new dropdown item there is trip to a database. Unless there is large dataset , you can bring the data once, populate the dropdowns using Jquery.