This is a migrated thread and some comments may be shown as answers.

adding a new row to radgrid from client side

0 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Priti
Top achievements
Rank 1
Priti asked on 04 Jun 2012, 08:57 PM
Hello,

Can you guide on how can I add a new row to radgrid from javascript?
I have a radcombobox and a radgrid and when i click the add link button, it should remove the item from radcombobox and add it to the radgrid, i dont want any changes to the database, just client side.

i have got radcombox values in clinet side as -

 function AddFund()
         {
            // get selected item in RadComboBox_FUNDS
            var combo = $find('<%=RadComboBox_FUNDS.ClientID %>');
            var comboValue = combo.get_selectedItem().get_value();            
            var comboText = combo.get_selectedItem().get_text();
            
            // add new row to Radgrid_FUNDS

                 
         }


please help me with the code to add the row in radgrid and remove it from radcombobox

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Priti
Top achievements
Rank 1
Share this question
or