Joshua Owen
Top achievements
Rank 1
Joshua Owen
asked on 07 Oct 2009, 06:24 PM
Hello,
I have a RadGrid bound to a WCF service on the client side. I am trying to set up inline editing/updating. Is this possible out of the box? If not, how would you go about implementing it?
Regards,
Josh Owen
I have a RadGrid bound to a WCF service on the client side. I am trying to set up inline editing/updating. Is this possible out of the box? If not, how would you go about implementing it?
Regards,
Josh Owen
4 Answers, 1 is accepted
0
Thomas Salt
Top achievements
Rank 1
answered on 07 Oct 2009, 08:33 PM
set your mastertable defintion to <MasterTableView EditMode="InPlace"
0
Joshua Owen
Top achievements
Rank 1
answered on 08 Oct 2009, 02:42 PM
That doesn't solve it. I need the RadGrid to post the update to a webservice. The do_postback method is only posting the original information (filter, sort, page size, page #, and some custom information), not anything regarding updates. Has anyone done this successfully?
Thanks,
Josh
Thanks,
Josh
0
Thomas Salt
Top achievements
Rank 1
answered on 08 Oct 2009, 02:47 PM
you could use ajax to send the data to the web service....I like using JQuerys ajax functionality when needing to call another page while passing parameters. Take a look at the following link.
http://docs.jquery.com/Ajax/jQuery.ajax#options
Make sure the click the EXAMPLES tab in the middle of the page.
http://docs.jquery.com/Ajax/jQuery.ajax#options
Make sure the click the EXAMPLES tab in the middle of the page.
0
Joshua Owen
Top achievements
Rank 1
answered on 08 Oct 2009, 08:50 PM
Thanks Thomas!
I received this answer from Todd Anglin:
Data editing with client-side binding is not a "out of the box" supported scenario. Web-service binding is generally best for "read-only" data scenarios as the complexity of updating the Grid's UI with column data editors quickly becomes complicated when all processing is done client-side. The recommended path for updating data with client-side data binding is to use an external form, as demonstrated here:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/insertupdatedelete/defaultcs.aspx
I decided the performance improvement wasn't worth the work and went with Server Side Binding.
I received this answer from Todd Anglin:
Data editing with client-side binding is not a "out of the box" supported scenario. Web-service binding is generally best for "read-only" data scenarios as the complexity of updating the Grid's UI with column data editors quickly becomes complicated when all processing is done client-side. The recommended path for updating data with client-side data binding is to use an external form, as demonstrated here:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/insertupdatedelete/defaultcs.aspx
I decided the performance improvement wasn't worth the work and went with Server Side Binding.