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

Looking for a couple of optimal design patterns

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 26 Oct 2012, 11:05 AM
As usual I'm trying to learn new technology overnight.  I have a couple of scenarios I need to design for and I was wondering if someone could point me to the right demos.

First of all, there's the classic dropdown from a foreign key table (for example, a customer editing form with a dropdown for states.)  I've already implemented that using the RadGrid's defaults and LinqDataSources.  Put a GridDropDown column in and bind it to a second LinqDataSource.  The dropdown displays in the popup.  Utterly simple. 
Now it appears that what I should do (to allow for design flexibility) is use the NeedDataSource event (no data source controls on the screen.)  Given that requirement, what would be the simplest way to implement the same scenario?   Is is possible to still let the grid do most of the work or do I need to implement a FormTemplate and bind the dropdown in there?  (Forget this one. Already solved it.)


Second, imagine a grid with checkbox and/or dropdown columns.  It's possible that we will want to implement a grid in which a user goes down the list, makes a few changes, and then hits submit to update everything at once.  Is that possible?

1 Answer, 1 is accepted

Sort by
0
Accepted
Marin
Telerik team
answered on 31 Oct 2012, 06:54 AM
Hi,

 You can find a example of batch update with RadGrid in the following online demo:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/clienteditbatchupdates/defaultcs.aspx
More information on how to perform the actual batch operation can be found here:
http://www.telerik.com/help/aspnet-ajax/grid-performing-batch-updates.html

Regards,
Marin
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
Boris
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or