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

RadGrid Batch Edit

2 Answers 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Casey
Top achievements
Rank 1
Casey asked on 09 Nov 2012, 04:48 PM
Hello,

I have a grid where I put all items in edit mode.  I would like users to be able to enter all the info, then save it when they are done.  However, I have a combo box that based on the selection I want to change values in a textbox in another column.  Right now I postback when the selected index is changed.  In doing so, I have to save all of the values in the grid to the database so they are not lost on postback.  I do need to query the database to make the decision on what to put into the text box.  Obviously having to save all the items each time and postback slows the performance significantly.  Is there any way to work around this without doing a postback?  The grid is bound to a SQL data source. 

Thanks!
Casey

2 Answers, 1 is accepted

Sort by
0
Casey
Top achievements
Rank 1
answered on 13 Nov 2012, 03:58 AM
Once I figured out how to get the row index in the client events (http://www.telerik.com/community/forums/aspnet-ajax/grid/access-row-properties-for-a-grid-combobox.aspx) i was able to use AJAX to get it to work.
0
Maria Ilieva
Telerik team
answered on 14 Nov 2012, 12:27 PM
Hello Casey,

We are glad you were able to find solution in our forums. Do not hesitate to write us back in case further assiatance is needed.

All the best,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Casey
Top achievements
Rank 1
Answers by
Casey
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or