Grid with ItemTemplate and EditTemplate Column

Hello,

I have a template column with a Label as ItemTemplate and a DropdownList as EditItemTemplate column.

I set the Label value on RowDataBound event and the Dropdown on OnInit event. The problem is when I Edit one row of the grid all other rows loose the Label value (which is set to string empty value) except the one i was editing because has the ddl. The problem remain also when i "commit" the new grid data (the rowdatabound event is not raised)

How i can solve it and how i can set the label with the selected value of the dropdownlist?

Thanks in advice,
Fabio

2 Replies

FA Fabio June 4, 2012 08:41 AM UTC

I solved using the Record SetValue property.

Thanks


RR Ranjithkumar R G Syncfusion Team June 4, 2012 08:52 AM UTC

Hi Fabio,

 

Thanks for your update.

 

We are glad to hear that your issue has been resolved. Please let us know if you have any other concern.

 

Regards,

Ranjithkumar.


Loader.
Up arrow icon