I was wondering if it was possible to use rowdetailstemplate with a custom layout in radgridview for silverlight. I had a project where the rowdetailstemplate worked fine without the custom template on the main grid. I have tried adding a radgridtogglebutton to the custom layout, as well as changing rowdetailsvisibility to Visible. I am using row details template because I make a separate call to a web service for each level of the hierarchy, and I am trying to do as much in possible in code to keep the silverlight control as general a possible.
The user control is below:.
The test template is simple, and works, except that my rowdetails are not accessible:
I set rowdetails in code, the template is passed in parameters, but I could include in my resource dictionary if that would work better:
I was hoping that you could point me to an example where a custom layout was used along with row details. Ideally I would like to set both in code. Second choice would be to read them from a resource dictionary. Is this possible?