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

Edit row values different to being displayed

1 Answer 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mykhaylo
Top achievements
Rank 1
Mykhaylo asked on 28 Jul 2011, 09:54 AM
Hi,

I have the grid bound to the list of objects. Object properties are two types:
Simple (just value) and HTMLRepresentation (which build the custom HTML based on the value of the simple property), which is binded to the row cell value.

What I need is to show the Simple Value on the Edit row command. Saving this value will update the HTMLRepresentation property and the grid will show what I need.

Another question is that what should I do, if the list of edited values different from the being shown. So, how can I create some kind of custom row editor?

Thanks in advance,
Mykhaylo

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 03 Aug 2011, 02:19 PM
Hello Mykhaylo,

About the first question you have asked, it seems that you need a Template column. You have to use ItemTemplate for the HTMLRepresentation property and EditItemTemplate for the Simple value property.

About the second question, I am not sure that I understand you right. Could you elaborate a bit more what you have in mind?

Best wishes,
Andrey
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Mykhaylo
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or