Active Query Builder support area

How to persist view state of query designer control?

Avatar
  • updated
  • Completed

Hi,


I would like to be able to persist and re-apply the current view state of the design pane etc. I would like to be able to save them (as an xml or byte[] or any other serializable form) so that when i re-load the sql text, the QueryBuilder control haver the same visual state as before.


I am aware that is similar to this topic - but it is not identical. It is not about preserving the view state between manual sql changes. It is about preserving the view state between disposing one QueryBuilder object and creating a new QueryBuilder object.

Thank you very much in advance for any help!


Greetings - Richard Hafner


Avatar
Andrey Zavyalov, PM

Use the QueryBuilder.LayoutSQL property to save and load the query with the layout.

Avatar
no -name

Thank you very much, that was exactly what I was looking for! :)