Hello,
I'm using Dynamic Edit Form Template for editing in RadGrid. I have a custom control created to Combine a RadTextBox and a Button.
This control populated on Edit Form when I click on edit/insert button. When I click on button a pop-up window opens through Javascript code. From the Popup window I select one record and click on save and Close button of popup window. The string which is returned from the popup window is stored back in the TextBox control using AjaxPostback method. But doing this I lost my other controls selected values.
Ex. I have three controls on my edit/insert form. When we insert new record Two dropdowns and one my custom control [textbox with button] is populated. I select values in two dropdowns and then click on popup button. When the value is stored back in my textbox from popup window I lost my selection in two dropdowns. I'm not getting how to keep those values selected in my dropdowns.
To resolve the this issue I thaught to update my textbox at client side so that ajaxpostback will not occur and I do not lost my selected values from the dropdowns and other controls. But I can not access my Textbox of edit form through javascript. I tried to use
var editedItemsArray = grid.get_editItems();
But i dont know how to access my TextBox1 from this editeditemsArray.
Please advise.
Sweta