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

[Solved] Suggestions for true RAD with Telerik Controls

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 09 Dec 2009, 11:04 PM
I want to create a web app very quickly, but, without worrying about my data model/arch right now (down the road it will be LINQ to SQL).  I have wireframes and I want to build a complete UI (as much as possible) that allows the user to edit data in RadGrids etc and have that data persist for the session (or longer if I have to).  What would be ideal is to have my Grids to AllowAutomatic (updates, deletes, inserts).

The approach I took was to create a "TestDataSource" directory with a bunch of XML, but allowing automatic CRUD requires more effort than I hoped.  What would be cool is the ability to have in the code behind a generic list of some sort in which automatic CRUD operates on in memory with little to no code.  Are there any sample projects that do this?  I've bounced all of the documentation and my brain is a bit fried right now.

If this doesn't exist, I think this would be a great project for Telerik as it would allow devs who want to quickly prototype entire web apps iteratively and attach a data architecture later down the road.  I want my users to truly experience the goodness of these controls without having to wireup a real data structure, because we all know thats the most pain when it comes to change requests.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 15 Dec 2009, 08:58 AM
Hi Marc,

 Basically, at present there are two models for operating with data in the grid.
The first is the option to use a datasource control. In this case you can enable Automatic operations for the grid.
The other option is to use the code-behind to query the database, and provide data for the grid. In this case, the insert/delete/update operations are handled from the code-behind as well.
At present, there are no other options to handle the requirement set forth. Creating a temp datasource, which can later be replaced with a "real" one does sound like a good idea, and one which can be applied to a variety of situations, for fast deployment of an application. However, the development of such a control is not a trivial task, and would require a significant effort, if it is to achieve the flexibility in question.
I hope this information helps.

Kind regards,

Yavor
the Telerik team

 


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Marc
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or