I have a master detail relation and have Template column. My requirement is to have all detail rows in edit mode by default and use only a single button for update. To fill data I have used the NeedDataSource event of the grid.
What happens is, the grid loads correctly showing proper data under proper headers (master view). I am able to get all rows in edit mode by default using ItemCreated event, where I set e.Item.Edit=true for the relevant items.
When I click the update button, I get following error.
An error has occurred because a control with id 'ctl00$cntContents$MasterGrid$ctl00$ctl07$Detail20$ctl04$ctl09' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error.
I am sure that I am missing something, because I get this error on any type of post back (i.e. other buttons / menu's etc.. which are outside the grid).
Also in the template column I have placed different types of controls which get invisible if not required. Types of controls included are - RadColorPicker, RadComboBox, ASP .NET labels, Some other third party components too.
Is it that other custom controls wont work with Telerik grid ?
Any kind of help on this will be very much appreciated.
Thanks.