This is a migrated thread and some comments may be shown as answers.
Remove option from dropdown of the inserted record
0 Answers 18 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Muhamad Tassadaque Zia
Top achievements
Rank 1
Muhamad Tassadaque Zia asked on 27 Jul 2011, 01:04 PM
Hi

I have telerik mvc grid with ajax binding.with CRUD operations in popup mode. One of my field in popup is dropdownlist (I am using html.dropdownlist). Now what I want to achieve is to remove the recently inserted row value from grid. I have tried to use the following code but didn't work. 


function onSave(e) {
          var values = e.values;
          month = values.Month;
          $("#Month option[value='" + month + "']").remove();
      }
Tags
Grid
Asked by
Muhamad Tassadaque Zia
Top achievements
Rank 1
Share this question
or