I have a ling in my cgridview. on click of the link i want the link to be replace with a drop down having data from the database. after selecting the data from the database, I want the link to appear with the chosen field again and update the database. Could someone please help me with this.
To do it the way you ask is much difficult… you need to use jQuery and ajax… by clicking the link first time an ajax call would be made that would return the SELECT statements and would update the field content… after that when the select value would be chosen another ajax call would be made that would save the data you want and would return the new link to be updated…