How Do I Create Dock Zone Dock Panels which are Dynamically Created to Adjust Bottom to Top?

How Can We Help?

How Do I Create Dock Zone Dock Panels which are Dynamically Created to Adjust Bottom to Top?

< Back

Answer

Create a one .ascx file, which will be called from the XML.

This .ascx file will have an IFRAME calling an Aspx file.

This aspx file will have validations for which user should have access to which widget and based on the validation result, it dynamically creates dock zone and assign a dock panel to it.

These files are called from aspx file based on the validation check.

This applies to all the widgets.

To handle the alignment of widgets automatically from bottom to top, you can use three global variables as counters.

Now there should be only two widgets per zone, you should use these counters and increment accordingly.

When it reaches the count of 2, then it should be placed in the next zone.

Comments are closed.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X