Unfortunately we don't have such functionality implemented, but it looks really useful and we will think about some way for including this in the future versions.
At this time I can suggest that you use the SerializationTag property for that. You can think about a format that will be easy to parse back when loading and that will contain the data you need. The important thing here is that the SerializationTag is:
- a string
- cannot contain not-escaped quotes
- cannot contain not-escaped less than and more then signs
These limitations are because the SerializationTag is serialized as a string attribute in XML.
There is one more thing that you should notice if you decide to use the SerializationTag for this - it is used to identify the components and if you need to change it at runtime and load old layout XML with the old SerializationTag, the pane will be destroyed and a new pane will be created with the old SerializationTag. This should not cause any issues though.
As for an example, you can save the name of the view and a list of key-value pairs - your named parameters, separated with comas. This should look like:
"ViewName paramName1:paramValue1, paramName2:paramValue2, etc.".
Hope this helps to solve the problem.
the Telerik team