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

data form that updates an Ajax Grid

3 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stuart Cook
Top achievements
Rank 1
Stuart Cook asked on 15 Apr 2010, 05:25 PM
Hi There

I'm afraid i'm very new to the wole .net & AJAX thing,  Sadly i know less than nothing.  I have been trying to crate a data bound version of the Demo example (see Link below)  Essentualy, all i'm trying to do is create data entry form which then updates an Ajax Grid without having to do a full page refreh.

http://demos.telerik.com/aspnet-ajax/ajax/examples/common/formvalues/defaultcs.aspx

What i really nead is a sample project with a database that i can follow and see how its done..  does anyone have sample project or know of a tutorial i can follow?

Thanks

Stu

3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 20 Apr 2010, 11:57 AM
Hi Stuart,

Have you tried using the online demo code to prepare a sample and see how it works?
Also when you install RadControls for ASP.NET AJAX from the msi file, a Live Demos application will be installed as well which contains all the demos for our controls and you can run locally.

Greetings,
Iana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Stuart Cook
Top achievements
Rank 1
answered on 20 Apr 2010, 12:09 PM

Hi
Hi
Thanks for the your reply, though  i probobly did not make it clear exactly how little i know!  I am only just beginning to learn about web development. 

The demo example is perfect for what i want to achive, i have run the sample on my local machine, unfortunatly, when i run the demo loclly, the demo does NOT add the new data to a database, which is what i need to be able to achieve.
http://demos.telerik.com/aspnet-ajax/ajax/examples/common/formvalues/defaultcs.aspx


I just need to find an example of a data entry form, that will ten update a agax grid without a full page refresh, I figure if i can see a working example, i'd be able to deconstruct the example and understand how it all works.

Any chance you have somthing that would help?

Thanks a lot for your time

stuart
0
Iana Tsolova
Telerik team
answered on 21 Apr 2010, 01:03 PM
Hello Stuart,

How you will save the form values in database depends on what your database is and what approach for connecting/managing data you will choose. Therefore I suggest that you search for more information in web sites/forums that are discussing on this matter.

However, on Save button click after you have saved the data, you only need to rebind your RadGrid for the new record to be displayed.

Additionally, for more information on RadGrid data-binding, I suggest that you review the below articles:

http://www.telerik.com/help/aspnet-ajax/grdadvanceddatabinding.html
http://www.telerik.com/help/aspnet-ajax/grddeclarativedatasource.html

Best wishes,
Iana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Stuart Cook
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Stuart Cook
Top achievements
Rank 1
Share this question
or