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

[Solved] DataGrid (1.1) to RadGrid

3 Answers 115 Views
Grid
This is a migrated thread and some comments may be shown as answers.
debbie f
Top achievements
Rank 1
debbie f asked on 03 Jun 2008, 08:53 PM
I'm working on a project that was recently converted from 1.1 to 2.0.  We are now moving the latest ajax controls and trying to convert datagrids to radgrids with the least change in code possible. 

I have a radgrid that uses inplace editing using EditItemTemplate definitions.  All databinding is done in code-behind.  (For the grid and dropdownboxes inside the edit template.) 

Is there an easy way to get rid of the update/cancel links that show up in the inplace form so that my old buttons in the EditItemTemplate control the updating/cancelling of records?  Right now I'm getting double buttons in my form & the telerik buttons don't trigger the code I'm needing. 

I'm on a very short timeline and the application is riddled with grids that have EditItemTemplates.  I need to make this change as quick as possible without rewriting a ton of code.  Any suggestions are appreciated.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 04 Jun 2008, 05:43 AM
Hi,

Try using FormTemplate to design your custom edit form. Go through the following liink for more details.
Form template edit form

Shinu.
0
debbie f
Top achievements
Rank 1
answered on 04 Jun 2008, 01:47 PM
Well, according to that sample formtemplate requires 2-way binding which means complete restructuring of my code.  Did I misunderstand the binding capabilities for formtemplate?    Again, I'm trying to minimize the number of changes that I have to make if at all possible.  I really just want to set the visibility of the dynamically created buttons to false.
0
debbie f
Top achievements
Rank 1
answered on 04 Jun 2008, 04:15 PM
Ah, please ignore the previous post I have my code working with a formtemplate now by implementing code in ItemCreated & ItemDataBound events.  Thanks for the help.
Tags
Grid
Asked by
debbie f
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
debbie f
Top achievements
Rank 1
Share this question
or