(I'll swear I've seen this before....)
I have a RadGrid with header and detail form template popup editing.
In the ItemDataBound event, in the edit mode detail section I have a line to set the CaptionFormatString:
RadGrid1.MasterTableView.DetailTables[0].EditFormSettings.CaptionFormatString = "Edit Detail Id " + editableItem.GetDataKeyValue("DetailId").ToString() + " for Ticket "+ iHeaderId.ToString();
So far as I can tell this is getting hit every time I edit a detail.
However the first time I'm in the screen and the first time I try to edit a detail record, the popup caption goes to whatever's set in the Aspx rather than what's set in code. The rest of the time the caption displays as desired.
I have a RadGrid with header and detail form template popup editing.
In the ItemDataBound event, in the edit mode detail section I have a line to set the CaptionFormatString:
RadGrid1.MasterTableView.DetailTables[0].EditFormSettings.CaptionFormatString = "Edit Detail Id " + editableItem.GetDataKeyValue("DetailId").ToString() + " for Ticket "+ iHeaderId.ToString();
So far as I can tell this is getting hit every time I edit a detail.
However the first time I'm in the screen and the first time I try to edit a detail record, the popup caption goes to whatever's set in the Aspx rather than what's set in code. The rest of the time the caption displays as desired.