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

Editing Data inline with the GridView

2 Answers 102 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Frustrated Dev
Top achievements
Rank 1
Frustrated Dev asked on 15 Dec 2010, 02:31 PM
Hello,

This is a follow-up to a previous question, in which I do not believe I was being clear. I am using the Telerik Silverlight RadGridView control. I am trying to emulate the inline edit functionality of the ASP.NET 2.0 Grid. That functionality allows the user to click "edit" on a row and the fields for the row change to text boxes, drop downs, etc. The user can then click "update" to preserve their changes or "cancel". The row then goes back to a read-only state. An example of the ASP.NET 2.0 Grid I'm describing can be seen here: http://msdn.microsoft.com/en-us/library/ms972948.aspx.

My question is, how do I do this same type of thing with the Telerik RadGridView control for Silverlight? I can't seem to figure it out for the life of me. Questions that are confusing me are:
  1. How should I handle an "edit" button? Right now, I'm using a HyperlinkButton and I have an Click event handler.
  2. How do I put a row into "edit" mode? My solution is not doing this correctly right now
  3. How do I handle the user clicking "update"? Can I use a HyperlinkButton again with a Click event handler?
  4. How do I take a row out of "edit" mode? 
Thank you!

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Dec 2010, 02:37 PM
Hello Frustrated Dev,

 Have you tried what I've suggested in your other forum thread?

Regards,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Frustrated Dev
Top achievements
Rank 1
answered on 15 Dec 2010, 03:47 PM
Yes and no. I guess I don't see how that address the problem.
Tags
GridView
Asked by
Frustrated Dev
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Frustrated Dev
Top achievements
Rank 1
Share this question
or